Check_WMI_Plus return code 255
Posted: Tue Oct 23, 2018 9:31 am
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
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