Understanding check_wmi_plus.pl checkservice results
Posted: Mon Jul 10, 2017 2:03 pm
G 'Day Customer Support,
I am trying to understand certain aspects of the check_wmi_plus.pl script and cannot seem to figure out exactly what the returned values are indicating.
Command:
/usr/local/nagios/libexec/check_wmi_plus.pl -H xx.xx.xxx.123 -A /opt/nagios/libexec/nagiosxi_mask -m checkservice -a 'SepMasterService'
Results:
OK - Found 1 Services(s), 0 OK and 1 with problems (0 excluded). 'SepMasterService' (SepMasterService) is Running.|'Total Service Count'=1; 'Service Count OK State'=0; 'Service Count Problem State'=1; 'Excluded Service Count'=0;
I have confirmed the Service is indeed running...and I see the script lists the service as "Found & Running" but I do not understand why:
'Service Count OK State'=0
'Service Count Problem State'=1
Please help me understand what it is trying to tell me...the documentation for these specific results are not detailed and do not describe what they are actually indicating.
Thanks,
Danny
If the service is running why is the OK State equal 0 and Problem State equal 1?
I am trying to understand certain aspects of the check_wmi_plus.pl script and cannot seem to figure out exactly what the returned values are indicating.
Command:
/usr/local/nagios/libexec/check_wmi_plus.pl -H xx.xx.xxx.123 -A /opt/nagios/libexec/nagiosxi_mask -m checkservice -a 'SepMasterService'
Results:
OK - Found 1 Services(s), 0 OK and 1 with problems (0 excluded). 'SepMasterService' (SepMasterService) is Running.|'Total Service Count'=1; 'Service Count OK State'=0; 'Service Count Problem State'=1; 'Excluded Service Count'=0;
I have confirmed the Service is indeed running...and I see the script lists the service as "Found & Running" but I do not understand why:
'Service Count OK State'=0
'Service Count Problem State'=1
Please help me understand what it is trying to tell me...the documentation for these specific results are not detailed and do not describe what they are actually indicating.
Thanks,
Danny
If the service is running why is the OK State equal 0 and Problem State equal 1?