diff --git a/plugins/apache/apache_vhosts/apache_vhosts b/plugins/apache/apache_vhosts/apache_vhosts index d446f9e7..9e249a3a 100644 --- a/plugins/apache/apache_vhosts/apache_vhosts +++ b/plugins/apache/apache_vhosts/apache_vhosts @@ -117,7 +117,7 @@ multigraph apache_vhosts_$check graph_title average $check on all active vhosts graph_args --base 1000 graph_vlabel average $check per response -graph_category apache_vhosts +graph_category apache graph_period minute graph_order $order END @@ -139,7 +139,7 @@ multigraph apache_vhosts_$check.$site graph_title average $check on $data{$site}{'label'} graph_args --base 1000 graph_vlabel average response in $check -graph_category apache_vhosts +graph_category apache graph_period minute END @@ -168,7 +168,7 @@ multigraph apache_vhosts_requests graph_title requests by vhost graph_args --base 1000 graph_vlabel requests / \${graph_period} -graph_category apache_vhosts +graph_category apache graph_period minute graph_order $order END @@ -193,7 +193,7 @@ multigraph apache_vhosts_requests.$site graph_title status codes on $data{$site}{'label'} graph_args --base 1000 graph_vlabel status codes / \${graph_period} -graph_category apache_vhosts +graph_category apache graph_period minute END my $draw='AREA'; diff --git a/plugins/apache/example-graphs/apache_activity-week.png b/plugins/apache/example-graphs/apache_activity-week.png new file mode 100644 index 00000000..38ee0764 Binary files /dev/null and b/plugins/apache/example-graphs/apache_activity-week.png differ diff --git a/plugins/audit/portaudit b/plugins/audit/portaudit index 7c15b95f..f067e1eb 100755 --- a/plugins/audit/portaudit +++ b/plugins/audit/portaudit @@ -29,7 +29,7 @@ if [ "$1" = "config" ]; then echo 'graph_title Number of Vulnerabilities' echo 'graph_args --base 1000 -l 0 ' echo 'graph_vlabel number of vulnerabilities' - echo 'graph_category audit' + echo 'graph_category security' echo 'graph_info This graph shows the number of vulnerabilities in the system.' echo 'vulnerabilities.label vulnerabilities' echo 'vulnerabilities.info The current number of vulnerabilities.' diff --git a/plugins/chassis/dell_fans b/plugins/chassis/dell_fans index 1fb50507..e8406896 100755 --- a/plugins/chassis/dell_fans +++ b/plugins/chassis/dell_fans @@ -85,7 +85,7 @@ class FanSpeed(Statistics): print "graph_title Dell Fan Speeds" print "graph_args --base 1000 -l 0" print "graph_vlabel speed (RPM)" - print "graph_category Chassis" + print "graph_category sensors" print "graph_info This graph shows the speed in RPM of all fans." print "graph_period second" # Print remaining non-static values. @@ -102,7 +102,7 @@ class ChassisTemps(Statistics): print "graph_title Dell Temperature Readings" print "graph_args --base 1000 -l 0" print "graph_vlabel Temp in Degrees Celsius" - print "graph_category Chassis" + print "graph_category sensors" print "graph_info This graph shows the temperature for all sensors." print "graph_period second" # Print remaining non-static values. diff --git a/plugins/djabberd/djabberd_ b/plugins/djabberd/djabberd_ index 247af90c..46e7227f 100644 --- a/plugins/djabberd/djabberd_ +++ b/plugins/djabberd/djabberd_ @@ -206,7 +206,7 @@ elsif ( $ARGV[0] and $ARGV[0] eq "config" ) { print "graph_title " . $mode->{'title'} . "\n"; print "graph_vlabel " . $mode->{'vlabel'} . "\n"; print "graph_args -l 0\n"; - print "graph_category DJabberd\n"; + print "graph_category jabber\n"; foreach my $field_name ( keys %{ $mode->{'fields'} } ) { my $label = $mode->{'fields'}->{$field_name}->{'label'} || $field_name; my $desc = $mode->{'fields'}->{$field_name}->{'description'} || $mode->{'fields'}->{$field_name}->{'key'}; diff --git a/plugins/dovecot/dovecot b/plugins/dovecot/dovecot index b23b73e1..c288a44b 100644 --- a/plugins/dovecot/dovecot +++ b/plugins/dovecot/dovecot @@ -62,7 +62,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) { print "graph_title Dovecot connections\n"; print "graph_args --base 1000 -l 0 --no-gridfit --slope-mode\n"; print "graph_vlabel connections\n"; - print "graph_category dovecot\n"; + print "graph_category mail\n"; print "connections.label Connections open\n"; print "connections.type GAUGE\n"; print "connections.draw LINE1\n"; @@ -80,7 +80,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) { print "graph_title Dovecot connected users\n"; print "graph_args --base 1000 -l 0 --no-gridfit --slope-mode\n"; print "graph_vlabel connections\n"; - print "graph_category dovecot\n"; + print "graph_category mail\n"; print "connected.label Connected users\n"; print "connected.type GAUGE\n"; print "connected.draw LINE1\n"; @@ -98,7 +98,7 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) { print "graph_title Dovecot logins\n"; print "graph_args --base 1000 -l 0 --no-gridfit --slope-mode\n"; print "graph_vlabel logins/5 minute\n"; - print "graph_category dovecot\n"; + print "graph_category mail\n"; print "login.label Logins\n"; print "login.type GAUGE\n"; print "login.draw LINE1\n"; diff --git a/plugins/ejabberd/ejabberd_resources_/ejabberd_resources_ b/plugins/ejabberd/ejabberd_resources_/ejabberd_resources_ index f725183d..ae16d4a5 100755 --- a/plugins/ejabberd/ejabberd_resources_/ejabberd_resources_ +++ b/plugins/ejabberd/ejabberd_resources_/ejabberd_resources_ @@ -252,7 +252,7 @@ SUGGESTIONS cat < 'Xen Domain CPU Usage', 'graph_args' => '--base 1000 -l 0 --upper-limit 100 --rigid', 'graph_vlabel' => 'Percent (%)', - 'graph_category' => 'xen', + 'graph_category' => 'Virtualization', 'graph_info' => 'Display the % of CPU Usage for each domain', ); diff --git a/plugins/virtualization/xen-multi b/plugins/virtualization/xen-multi index 4b61d876..233dfb5c 100755 --- a/plugins/virtualization/xen-multi +++ b/plugins/virtualization/xen-multi @@ -169,7 +169,7 @@ if ($ARGV[0] eq "config") { print "graph_args --base 1000 -l 0\n"; print "graph_vlabel cpu seconds\n"; print "graph_scale no\n"; - print "graph_category xen\n"; + print "graph_category Virtualization\n"; print "graph_info This graph shows CPU time for each Xen domain.\n"; for $domain (@domainlist) { print "$domains{$domain}{'munindomain'}_cpu_time.label ".trim_label('pos',$domain)."\n"; @@ -186,7 +186,7 @@ if ($ARGV[0] eq "config") { print "graph_args --base 1000 -l 0 --upper-limit 100\n"; print "graph_vlabel %\n"; print "graph_scale no\n"; - print "graph_category xen\n"; + print "graph_category Virtualization\n"; print "graph_info This graph shows CPU utilization for each Xen domain.\n"; for $domain (@domainlist) { print "$domains{$domain}{'munindomain'}_cpu.label ".trim_label('pos',$domain)."\n"; @@ -199,7 +199,7 @@ if ($ARGV[0] eq "config") { print "graph_title Xen domains memory usage\n"; print "graph_args --base 1024 -l 0\n"; print "graph_vlabel bytes\n"; - print "graph_category xen\n"; + print "graph_category Virtualization\n"; print "graph_info This graph shows memory usage for each Xen domain.\n"; for $domain (@domainlist) { print "$domains{$domain}{'munindomain'}_mem.label ".trim_label('pos',$domain)."\n"; @@ -213,7 +213,7 @@ if ($ARGV[0] eq "config") { print "graph_title Xen domains network traffic\n"; print "graph_args --base 1000\n"; print "graph_vlabel bits per \${graph_period} in (-) / out (+)\n"; - print "graph_category xen\n"; + print "graph_category Virtualization\n"; print "graph_info This graph shows network traffic for each Xen domain.\n"; for $domain (@domainlist) { print "$domains{$domain}{'munindomain'}_netrx.label none\n"; @@ -233,7 +233,7 @@ if ($ARGV[0] eq "config") { print "graph_title Xen domains disk IOs\n"; print "graph_args --base 1000\n"; print "graph_vlabel IOs per \${graph_period} read (-) / write (+)\n"; - print "graph_category xen\n"; + print "graph_category Virtualization\n"; print "graph_info This graph shows disk IOs for each Xen domain.\n"; for $domain (@domainlist) { print "$domains{$domain}{'munindomain'}_vbdrd.label none\n"; diff --git a/plugins/virtualization/xen_cpu_v2 b/plugins/virtualization/xen_cpu_v2 index 6042c857..75c9a951 100755 --- a/plugins/virtualization/xen_cpu_v2 +++ b/plugins/virtualization/xen_cpu_v2 @@ -72,7 +72,7 @@ if ( defined($ARGV[0]) ) 'graph_title' => 'Xen Domain CPU Usage v2', 'graph_args' => '--base 1000 -l 0 --upper-limit 100 --rigid', 'graph_vlabel' => 'Percent (%)', - 'graph_category' => 'xen', + 'graph_category' => 'Virtualization', 'graph_info' => 'Display the % of CPU Usage for each domain', ); @@ -186,4 +186,4 @@ open(FH, ">", $TEMPFILE) or die $!; print FH $curtime."\n"; print FH @xmlist; close FH; - \ No newline at end of file + diff --git a/plugins/virtualization/xen_memory b/plugins/virtualization/xen_memory index f80631f0..ef2532e4 100755 --- a/plugins/virtualization/xen_memory +++ b/plugins/virtualization/xen_memory @@ -29,7 +29,7 @@ if [ "$1" = "config" ]; then echo 'graph_args --base 1000 -l 0' echo 'graph_scale no' echo 'graph_vlabel MB' - echo 'graph_category xen' + echo 'graph_category Virtualization' echo 'graph_info This graph shows of many mS wall time where used by a domain' # xm info | while read name bla value; do echo "$name $value"; done $XM info | while read name bla value; do diff --git a/plugins/virtualization/xen_traffic_ b/plugins/virtualization/xen_traffic_ index 6774d12a..f0b9eb85 100755 --- a/plugins/virtualization/xen_traffic_ +++ b/plugins/virtualization/xen_traffic_ @@ -35,7 +35,7 @@ if [ "$1" = "config" ]; then echo "graph_title Xen Traffic for $NAME" echo 'graph_vlabel bits in (-) / out (+) per ${graph_period}' echo 'graph_args --base 1024 -l 0' - echo 'graph_category xen' + echo 'graph_category Virtualization' echo 'out.label sent' echo 'out.type DERIVE' echo 'out.min 0' diff --git a/plugins/virtualization/xen_traffic_all b/plugins/virtualization/xen_traffic_all index 1cb1e830..c090ee09 100755 --- a/plugins/virtualization/xen_traffic_all +++ b/plugins/virtualization/xen_traffic_all @@ -29,7 +29,7 @@ if [ "$1" = "config" ]; then echo 'graph_title Xen Traffic' echo 'graph_vlabel bits received (-) / sent (+) per ${graph_period}' echo 'graph_args --base 1024 -l 0' - echo 'graph_category xen' + echo 'graph_category Virtualization' DOMAINS=$(xm list | awk '{print $1}' | egrep -v "^(Name|Domain-0)") for dom in $DOMAINS; do name=$( echo $dom | tr .- __ ) diff --git a/plugins/virtualization/xen_vbd b/plugins/virtualization/xen_vbd index 69d9e4b8..da34765a 100755 --- a/plugins/virtualization/xen_vbd +++ b/plugins/virtualization/xen_vbd @@ -42,7 +42,7 @@ if ( defined($ARGV[0])) 'graph_title' => 'Xen Domain I/O usage', 'graph_args' => '--base 1024 -l 0', 'graph_vlabel' => 'read (-), write (+)', - 'graph_category' => 'xen', + 'graph_category' => 'Virtualization', 'graph_info' => 'Display the I/O operations for each domain', );