Hi
I got a problem with Check_WMI_Plus.
When I run....
check_wmi_plus.pl -H 192.168.xx.xxx -m checkeventlog -a System -u xxxx -p xxxx -o 2 -3 2
I get the answer below thats is ok
OK - 0 event(s) of Severity Level: "Error,Warning", were recorded in the last 2 hours from the System Event Log.|'Event Count'=0;
But when there is an error event in the log I receive ......
Can't call method "val" on an undefined value at /opt/nagios/bin/plugins/check_wmi_plus.pl line 1105
And in the webgui I get
(Return code of 255 for service 'Event Log Application Warnings' on host 'XXX' was out of bounds)
Regards,
Joakim
Check_WMI_Plus return code 255
Re: Check_WMI_Plus return code 255
Run the following to get the version of the plugin:
/usr/local/nagios/libexec/check_wmi_plus.pl --version
I've tested with the 1.6 plugin and cannot reproduce. I've attached it here so you can test with it as well.
/usr/local/nagios/libexec/check_wmi_plus.pl --version
I've tested with the 1.6 plugin and cannot reproduce. I've attached it here so you can test with it as well.
- Attachments
-
check_wmi_plus.pl- (327.52 KiB) Downloaded 207 times
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.