i want to monitor a windows 2008 server through nagios...however i am getting following error....
i am able to ping the server...
nagusgrd1:/usr/local/nagios/libexec> /usr/local/nagios/libexec/check_wmi_plus.pl -H usmaboprod-db5 -u nagios -p '******' -m checkcpu -w '80' -c '90'
UNKNOWN - Plugin Timed out (15 sec)
nagusgrd1:/usr/local/nagios/libexec> ping usmaboprod-db5
PING usmaboprod-db5.bose.com (10.10.30.21) 56(84) bytes of data.
64 bytes from usmaboprod-db5.bose.com (10.10.30.21): icmp_seq=1 ttl=127 time=3.02 ms
64 bytes from usmaboprod-db5.bose.com (10.10.30.21): icmp_seq=2 ttl=127 time=1.48 ms
64 bytes from usmaboprod-db5.bose.com (10.10.30.21): icmp_seq=3 ttl=127 time=1.59 ms
64 bytes from usmaboprod-db5.bose.com (10.10.30.21): icmp_seq=4 ttl=127 time=1.64 ms
^C
--- usmaboprod-db5.bose.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3152ms
rtt min/avg/max/mdev = 1.487/1.938/3.029/0.632 ms
windows plugin timeout
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: windows plugin timeout
You may need to go through these steps on the client to make sure it is allowing access to WMI
http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf
http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf
-
maxwellmiranda
- Posts: 113
- Joined: Thu Mar 22, 2012 3:24 pm
Re: windows plugin timeout
is there any way to monitor a windows server without installing any agent....
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: windows plugin timeout
WMI should be pre-installed, but some systems may have security context that blocks access remotely.
Without using an actual agent, or WMI, or SNMP, You would only be able to check if certain ports on the machine were accessible. Nagios is awesome, but it still needs a way to get the data, and for security sake this is a good thing, if there was a way for it to access all of your system information without you specifically allowing it, this would be available to any intruder...
Without using an actual agent, or WMI, or SNMP, You would only be able to check if certain ports on the machine were accessible. Nagios is awesome, but it still needs a way to get the data, and for security sake this is a good thing, if there was a way for it to access all of your system information without you specifically allowing it, this would be available to any intruder...
-
maxwellmiranda
- Posts: 113
- Joined: Thu Mar 22, 2012 3:24 pm
Re: windows plugin timeout
the nagios server we use is a linux server...how do i check if wmi is already installed on my xi server
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: windows plugin timeout
If you have a 2012 version of XI, it is pre installed on the XI server
-
maxwellmiranda
- Posts: 113
- Joined: Thu Mar 22, 2012 3:24 pm
Re: windows plugin timeout
we are on 2012R1.0.....
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: windows plugin timeout
It should be installed on the XI server, you can verify by running the following command
the document I linked earlier was more about page 2-12 setting up the windows machines to make sure they allow connections...
Code: Select all
which wmic