diff --git a/check_apaches.py b/check_apaches.py index 7089b7c..9c27875 100755 --- a/check_apaches.py +++ b/check_apaches.py @@ -72,7 +72,7 @@ class CheckApaches(MonitoringPlugin): def check_worker(self, target='busy', warn='', crit=''): - pd = {'label':'busy', 'unit':'', 'warn':warn, 'crit': crit, 'min':0} + pd = {'label':'worker_busy', 'unit':'', 'warn':warn, 'crit': crit, 'min':0} if target == 'busy': returncode = self.value_wc_to_returncode(self.apache_busy, warn, crit) @@ -82,7 +82,7 @@ class CheckApaches(MonitoringPlugin): returncode = self.value_wc_to_returncode(self.apache_idle, warn, crit) output = '%d idle workers' % self.apache_idle pd['value'] = self.apache_idle - pd['label'] = 'idle' + pd['label'] = 'worker_idle' return self.remember_check('worker', returncode, output, perfdata=[pd], target=target)