From 60b578ae56a0404397619fc15641cb62d2ba1364 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 8 Feb 2013 16:47:59 +0100 Subject: [PATCH] Report environment name in munin graph --- tools/checkfds.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/checkfds.sh b/tools/checkfds.sh index c43b0bb3..38690394 100755 --- a/tools/checkfds.sh +++ b/tools/checkfds.sh @@ -1,8 +1,10 @@ #!/bin/sh +envnik=$(basename "${TILER_ENVIRONMENT}" .js) + if test "$1" = "config"; then -cat <<'EOM' -graph_title Tiler fd usage +echo "graph_title Tiler fd usage (${envnik})" +cat <<"EOM" graph_vlabel tiler fds procs.label Number of tiler processes pgsql.label PostgreSQL connections (max)