Monitoring Windows Using WMI
Posted: Wed Jul 22, 2015 1:36 am
Hello,
I am trying to monitor a windows machine using WMI, but it is giving the following error.
I did make sure that the procedure mentioned in the following document has been followed.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Port 135 is open for the server. Does it require port 3389 to be opened for this?
It is working for another server
So I suspect there is nothing wrong with Nagios XI.
Could you please help me here.
Regards
Tino
I am trying to monitor a windows machine using WMI, but it is giving the following error.
Code: Select all
# /usr/local/nagios/libexec/check_wmi_plus.pl -H HOSTNAME1 -u 'USERNAME' -p PASSWORD -m checkcpu -w _AvgCPU=90 -c _AvgCPU=95
UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host might just be really busy, it might not even be running Windows.https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Port 135 is open for the server. Does it require port 3389 to be opened for this?
It is working for another server
Code: Select all
#/usr/local/nagios/libexec/check_wmi_plus.pl -H HOSTNAME2 -u 'USERNAME' -p PASSWORD -m checkcpu -w _AvgCPU=95 -c _AvgCPU=99
OK (Sample Period 82 sec) - Average CPU Utilisation 3.24%|'Avg CPU Utilisation'=3.24%;95;99;Could you please help me here.
Regards
Tino