From 6ffdebec0dd883ab558a41404ff4c27bc960d773 Mon Sep 17 00:00:00 2001 From: dipohl Date: Fri, 24 Feb 2017 05:01:30 +0100 Subject: [PATCH] Plugin-Gallery: Better 2nd level headings --- plugins/balanceng/bng | 4 ++-- plugins/{system => darwin}/dar_cpuusage | 0 plugins/{system => darwin}/dar_memusage | 0 plugins/{system => darwin}/dar_swap | 0 plugins/{system => darwin}/dar_uptime | 0 plugins/{system => darwin}/dar_vmstat | 0 plugins/{vpn => darwin}/dar_vpnd | 0 plugins/network/netatalk | 2 +- plugins/network/netatalk3 | 2 +- plugins/{beboxsync => router}/beboxstats | 0 plugins/{beboxsync => router}/beboxstats.expect | 0 plugins/{beboxsync => router}/beboxsync | 0 plugins/{network => router}/speedport_300 | 0 plugins/system/auth | 2 +- plugins/system/blockhosts | 2 +- plugins/system/raminfo | 2 +- plugins/system/read_serial_temperature | 4 ++-- 17 files changed, 9 insertions(+), 9 deletions(-) rename plugins/{system => darwin}/dar_cpuusage (100%) rename plugins/{system => darwin}/dar_memusage (100%) rename plugins/{system => darwin}/dar_swap (100%) rename plugins/{system => darwin}/dar_uptime (100%) rename plugins/{system => darwin}/dar_vmstat (100%) rename plugins/{vpn => darwin}/dar_vpnd (100%) rename plugins/{beboxsync => router}/beboxstats (100%) rename plugins/{beboxsync => router}/beboxstats.expect (100%) rename plugins/{beboxsync => router}/beboxsync (100%) rename plugins/{network => router}/speedport_300 (100%) diff --git a/plugins/balanceng/bng b/plugins/balanceng/bng index 5515dbd9..16bd5726 100755 --- a/plugins/balanceng/bng +++ b/plugins/balanceng/bng @@ -201,7 +201,7 @@ graph_title Bng Throughput graph_order sent recv graph_args --base 1000 -l 0 graph_vlabel Packets/\${graph_period} -graph_category network +graph_category loadbalancer graph_info this graph shows the outbound traffic for $host sent.label Sent @@ -223,7 +223,7 @@ graph_title Interface $interface traffic graph_order sent recv graph_args --base 1000 -l 0 graph_vlabel Packets/\${graph_period} -graph_category network +graph_category loadbalancer graph_info this graph shows the total traffic for ${interface} sent.label ${interface}_Sent diff --git a/plugins/system/dar_cpuusage b/plugins/darwin/dar_cpuusage similarity index 100% rename from plugins/system/dar_cpuusage rename to plugins/darwin/dar_cpuusage diff --git a/plugins/system/dar_memusage b/plugins/darwin/dar_memusage similarity index 100% rename from plugins/system/dar_memusage rename to plugins/darwin/dar_memusage diff --git a/plugins/system/dar_swap b/plugins/darwin/dar_swap similarity index 100% rename from plugins/system/dar_swap rename to plugins/darwin/dar_swap diff --git a/plugins/system/dar_uptime b/plugins/darwin/dar_uptime similarity index 100% rename from plugins/system/dar_uptime rename to plugins/darwin/dar_uptime diff --git a/plugins/system/dar_vmstat b/plugins/darwin/dar_vmstat similarity index 100% rename from plugins/system/dar_vmstat rename to plugins/darwin/dar_vmstat diff --git a/plugins/vpn/dar_vpnd b/plugins/darwin/dar_vpnd similarity index 100% rename from plugins/vpn/dar_vpnd rename to plugins/darwin/dar_vpnd diff --git a/plugins/network/netatalk b/plugins/network/netatalk index 6384b1e1..9ac211eb 100755 --- a/plugins/network/netatalk +++ b/plugins/network/netatalk @@ -69,7 +69,7 @@ if [ "$1" = "config" ]; then echo 'graph_title Netatalk status' echo 'graph_args --logarithmic --lower-limit 0.1' echo 'graph_vlabel Number' - echo 'graph_category network' + echo 'graph_category fs' echo 'proc.label Running processes' echo 'proc.info Number of running afpd processes' echo 'proc.min 0' diff --git a/plugins/network/netatalk3 b/plugins/network/netatalk3 index db05183b..4031bb2c 100755 --- a/plugins/network/netatalk3 +++ b/plugins/network/netatalk3 @@ -99,7 +99,7 @@ graph_title Netatalk v3 Status graph_title Netatalk status graph_args --logarithmic --lower-limit 0.1 graph_vlabel Number -graph_category network +graph_category fs proc.label Running processes proc.info Running AFPd processes proc.min 0 diff --git a/plugins/beboxsync/beboxstats b/plugins/router/beboxstats similarity index 100% rename from plugins/beboxsync/beboxstats rename to plugins/router/beboxstats diff --git a/plugins/beboxsync/beboxstats.expect b/plugins/router/beboxstats.expect similarity index 100% rename from plugins/beboxsync/beboxstats.expect rename to plugins/router/beboxstats.expect diff --git a/plugins/beboxsync/beboxsync b/plugins/router/beboxsync similarity index 100% rename from plugins/beboxsync/beboxsync rename to plugins/router/beboxsync diff --git a/plugins/network/speedport_300 b/plugins/router/speedport_300 similarity index 100% rename from plugins/network/speedport_300 rename to plugins/router/speedport_300 diff --git a/plugins/system/auth b/plugins/system/auth index f2d607ad..7edd39ad 100755 --- a/plugins/system/auth +++ b/plugins/system/auth @@ -36,7 +36,7 @@ if [ "$1" = "config" ]; then echo 'graph_title Auth Log Parser' echo 'graph_args --base 1000 -l 0' echo 'graph_vlabel Daily Auth Counters' - echo 'graph_category system' + echo 'graph_category auth' echo 'illegal_user.label Illegal User' echo 'possible_breakin.label Breakin Attempt' echo 'authentication_failure.label Authentication Fail' diff --git a/plugins/system/blockhosts b/plugins/system/blockhosts index c4f9a161..652752e5 100755 --- a/plugins/system/blockhosts +++ b/plugins/system/blockhosts @@ -29,7 +29,7 @@ if [ "$1" = "config" ]; then echo 'graph_title Hosts denied by BlockHosts' echo 'graph_args -l 0' echo 'graph_vlabel denied hosts ' - echo 'graph_category system' + echo 'graph_category security' echo 'HostsDenied.label Hosts denied by BlockHosts' echo 'HostsWatched.label Hosts watched by BlockHosts' exit 0 diff --git a/plugins/system/raminfo b/plugins/system/raminfo index 9b4360a8..d0d0f77d 100755 --- a/plugins/system/raminfo +++ b/plugins/system/raminfo @@ -188,7 +188,7 @@ sub config # print config message and exit. print "graph_args --base 1024 -l 0 --upper-limit " . $h_ramvalue{"Total.value"}. "--rigid" . "\n"; print "graph_vlabel Bytes\n"; print "graph_title RAM usage\n"; - print "graph_category system\n"; + print "graph_category memory\n"; print "graph_info This graph shows what the machine uses RAM for.\n"; print "graph_order "; diff --git a/plugins/system/read_serial_temperature b/plugins/system/read_serial_temperature index 4b432c46..4fef783a 100755 --- a/plugins/system/read_serial_temperature +++ b/plugins/system/read_serial_temperature @@ -39,7 +39,7 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config": print 'graph_title Temperatuur in de serverruimte' print 'graph_vlabel temperature in C' - print 'graph_category System' + print 'graph_category sensors' print 'temperature.label temperature' print 'graph_info Dit is de temperatuur in het rek in de serverruimte B104' print 'graph_scale no' @@ -50,4 +50,4 @@ else: print 'temperature.value %s' % gettemperature() - \ No newline at end of file +