Report environment name in munin graph
This commit is contained in:
parent
7dd7d09cf5
commit
60b578ae56
@ -1,8 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
envnik=$(basename "${TILER_ENVIRONMENT}" .js)
|
||||||
|
|
||||||
if test "$1" = "config"; then
|
if test "$1" = "config"; then
|
||||||
cat <<'EOM'
|
echo "graph_title Tiler fd usage (${envnik})"
|
||||||
graph_title Tiler fd usage
|
cat <<"EOM"
|
||||||
graph_vlabel tiler fds
|
graph_vlabel tiler fds
|
||||||
procs.label Number of tiler processes
|
procs.label Number of tiler processes
|
||||||
pgsql.label PostgreSQL connections (max)
|
pgsql.label PostgreSQL connections (max)
|
||||||
|
Loading…
Reference in New Issue
Block a user