From 92a2eeec3ac18fdac2a81195868e141757067389 Mon Sep 17 00:00:00 2001 From: Matt West Date: Sat, 5 May 2012 18:56:52 -0700 Subject: [PATCH] Changing # to Number to resolve bug in ubuntu installations --- plugins/nagios/nagios_multi_ | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/plugins/nagios/nagios_multi_ b/plugins/nagios/nagios_multi_ index 926428bc..09850426 100755 --- a/plugins/nagios/nagios_multi_ +++ b/plugins/nagios/nagios_multi_ @@ -143,7 +143,7 @@ $graphs{services} = { $graphs{svcchkdetail} = { config => { args => '--lower-limit 0', - vlabel => 'Total # of Service Checks', + vlabel => 'Total Number of Service Checks', category => 'details', title => 'Detailed Service Info', info => 'Detailed Service Check Information', @@ -227,7 +227,7 @@ $graphs{hosts} = { $graphs{hostchkdetail} = { config => { args => '--lower-limit 0', - vlabel => 'Total # of Host Checks', + vlabel => 'Total Number of Host Checks', category => 'details', title => 'Detailed Host Info', info => 'Detailed Host Check Information', @@ -294,22 +294,22 @@ $graphs{hostchkext} = { $graphs{checks} = { config => { args => '--lower-limit 0', - vlabel => 'Total # of Checks', + vlabel => 'Total Number of Checks', category => 'nagios', title => 'Totals', info => 'Total Number of Service and Host Checks', }, keys => [ 'NUMSERVICES', 'NUMHOSTS' ], datasrc => [ - { name => 'NUMSERVICES', label => '# of Services', min => '0', type => 'GAUGE', info => 'total number of services.', draw => 'LINE2' }, - { name => 'NUMHOSTS', label => '# of Hosts', min => '0', type => 'GAUGE', info => 'total number of hosts.', draw => 'LINE2' }, + { name => 'NUMSERVICES', label => 'Number of Services', min => '0', type => 'GAUGE', info => 'total number of services.', draw => 'LINE2' }, + { name => 'NUMHOSTS', label => 'Number of Hosts', min => '0', type => 'GAUGE', info => 'total number of hosts.', draw => 'LINE2' }, ], }; # multi-graph for number of host checks in x mins ( sub graph of checks graph ) $graphs{hostchkactcount} = { config => { args => '--lower-limit 0', - vlabel => '# Host Checks', + vlabel => 'Number Host Checks', category => 'active', title => 'Host Checks', info => 'Total Number of Active Host Checks', @@ -327,7 +327,7 @@ $graphs{hostchkactcount} = { $graphs{hostchkpsvcount} = { config => { args => '--lower-limit 0', - vlabel => '# Host Checks', + vlabel => 'Number Host Checks', category => 'passive', title => 'Host Checks', info => 'Total Number of Passive Host Checks', @@ -345,7 +345,7 @@ $graphs{hostchkpsvcount} = { $graphs{svcchkactcount} = { config => { args => '--lower-limit 0', - vlabel => '# of Service Checks', + vlabel => 'Number of Service Checks', category => 'active', title => 'Service Checks', info => 'Total Number of Active Service Checks', @@ -363,7 +363,7 @@ $graphs{svcchkactcount} = { $graphs{svcchkpsvcount} = { config => { args => '--lower-limit 0', - vlabel => '# of Service Checks', + vlabel => 'Number of Service Checks', category => 'passive', title => 'Service Checks', info => 'Total Number of Passive Service Checks', @@ -381,7 +381,7 @@ $graphs{svcchkpsvcount} = { $graphs{extcmdcount} = { config => { args => '--lower-limit 0', - vlabel => '# of Ext Command Slots', + vlabel => 'Number of Ext Command Slots', category => 'externalcmds', title => 'External Commands', info => 'External Command Buffer Slot Information',