mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Category Tree: reduce number of categories
This commit is contained in:
parent
29bdf34eae
commit
a3c2338b1f
34 changed files with 34 additions and 34 deletions
|
@ -30,7 +30,7 @@ graph_vlabel=${title}
|
|||
case $1 in
|
||||
config)
|
||||
cat <<EOF
|
||||
graph_category haproxy
|
||||
graph_category loadbalancer
|
||||
graph_args --base 1000
|
||||
graph_title ${graph_title}
|
||||
graph_vlabel ${graph_vlabel}
|
||||
|
|
|
@ -31,7 +31,7 @@ graph_vlabel=${title}
|
|||
case $1 in
|
||||
config)
|
||||
cat <<EOF
|
||||
graph_category haproxy
|
||||
graph_category loadbalancer
|
||||
graph_title ${graph_title}
|
||||
graph_vlabel ${graph_vlabel}
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ graph_vlabel=${title}
|
|||
case $1 in
|
||||
config)
|
||||
cat <<EOF
|
||||
graph_category haproxy
|
||||
graph_category loadbalancer
|
||||
graph_title ${graph_title}
|
||||
graph_vlabel ${graph_vlabel}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ graph_vlabel=${title}
|
|||
case $1 in
|
||||
config)
|
||||
cat <<EOF
|
||||
graph_category haproxy
|
||||
graph_category loadbalancer
|
||||
graph_title ${graph_title}
|
||||
graph_vlabel ${graph_vlabel}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ graph_vlabel=${title}
|
|||
case $1 in
|
||||
config)
|
||||
cat <<EOF
|
||||
graph_category haproxy
|
||||
graph_category loadbalancer
|
||||
graph_title ${graph_title}
|
||||
graph_vlabel ${graph_vlabel}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ graph_vlabel=${title}
|
|||
case $1 in
|
||||
config)
|
||||
cat <<EOF
|
||||
graph_category haproxy
|
||||
graph_category loadbalancer
|
||||
graph_title ${graph_title}
|
||||
graph_vlabel ${graph_vlabel}
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ graph_vlabel=${title}
|
|||
case $1 in
|
||||
config)
|
||||
cat <<EOF
|
||||
graph_category haproxy
|
||||
graph_category loadbalancer
|
||||
graph_title ${graph_title}
|
||||
graph_vlabel ${graph_vlabel}
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ fi
|
|||
|
||||
if [ "$1" = "config" ]; then
|
||||
|
||||
echo "graph_category haproxy"
|
||||
echo "graph_category loadbalancer"
|
||||
echo "graph_title ${graph_title}"
|
||||
echo "graph_vlabel ${graph_vlabel}"
|
||||
#echo "graph_printf %.0f"
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Aborts'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Aborts ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Servers'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Active Servers ${SVNAME}"
|
||||
|
||||
for i in ${LIST}; do
|
||||
|
|
|
@ -84,7 +84,7 @@ if [ "$1" = "config" ]; then
|
|||
echo "graph_title Bytes ${SVNAME}"
|
||||
echo 'graph_args --base 1000'
|
||||
echo 'graph_vlabel Bytes in (-) / out (+)'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Bytes ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Bytes'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Bytes compressor ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Bytes'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Bytes compressor ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ if [ "$1" = "config" ]; then
|
|||
echo "graph_title Bytes ${SVNAME}"
|
||||
echo 'graph_args --base 1000'
|
||||
echo 'graph_vlabel Bytes in (-) / out (+)'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Bytes ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Requests and Responses'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Denied Requests / Responses ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Requests and Responses'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Denied Requests / Responses ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Errors'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Errors ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Errors'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Errors ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Queued'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Queue Requests ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Sessions'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Sessions per second ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Sessions'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Sessions per second ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Requests'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Request Rate ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Responses'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info HTTP responses that were compressed ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Responses'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info HTTP responses that were compressed ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Responses'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info HTTP Responses ${SVNAME}"
|
||||
|
||||
for i in ${LIST}; do
|
||||
|
|
|
@ -85,7 +85,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Responses'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info HTTP Responses ${SVNAME}"
|
||||
|
||||
for i in ${LIST}; do
|
||||
|
|
|
@ -87,7 +87,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Sessions'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Current sessions ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Sessions'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Current sessions ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Sessions'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Total sessions ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Sessions'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Total sessions ${SVNAME}"
|
||||
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if [ "$1" = "config" ]; then
|
|||
echo 'graph_args --base 1000 -l 0 '
|
||||
echo 'graph_vlabel Warnings'
|
||||
echo 'graph_scale no'
|
||||
echo 'graph_category haproxy'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_info Warnings ${SVNAME}"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue