Unable to monitor Windows desktop
Unable to monitor Windows desktop
I'm facing a problem monitoring A Windows desktop, there's open connection between the host and Nagios server and the NSC++ client is installed on the host but Nagios is only able to ping that host and showing (CRITICAL - Socket timeout after 10 seconds) for the other services.
Fahad Albahlouli
IT Operation | Bank Aljazira
IT Operation | Bank Aljazira
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Unable to monitor Windows desktop
Nagios may be able to ping the host, but is port 5666 open on the Windows machine? Also, please post your NSC.ini / NSClient.ini file located within the main NSClient++ directory here, you can block out any information you would not like to share such as passwords or IP's but please leave something in it's place showing us it is there.
Re: Unable to monitor Windows desktop
I am facing similar issue posts are enabled and open, can you please advise some examples of how to monitor services within IIS and SQL server services on windows client from nagios server.
Re: Unable to monitor Windows desktop
Fahad,
From the Nagios XI box, try telneting into the Windows client on port 5666, to make sure you can connect:
You can also use nc (netcat):
If you don't have telnet or nc installed on the nagios server, you can install them by running:
From the Nagios XI box, try telneting into the Windows client on port 5666, to make sure you can connect:
Code: Select all
telnet <client_IP> 5666Code: Select all
nc -zv <client_IP> 5666Code: Select all
yum install telnet nc -yBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to monitor Windows desktop
muffadal,
You can monitor services via NSClient++ by running:
...or you can use "check_nrpe" with NSClient++ and "checkServiceState"
http://www.nsclient.org/nscp/wiki/Check ... rviceState
You can also use windows performance counters, using the following a similar format:
You can monitor services via NSClient++ by running:
Code: Select all
/usr/local/nagios/libexec/check_nt -H <client_IP> -s "password" -p 12489 -v SERVICESTATE -l <servicename> -d SHOWALLhttp://www.nsclient.org/nscp/wiki/Check ... rviceState
You can also use windows performance counters, using the following a similar format:
Code: Select all
/usr/local/nagios/libexec/check_nt -H <client_IP> -s "password" -p 12489 -v COUNTER -l "\MSSQL\:Buffer Manager\Page Life expectancy","Page Life expectancy is %.fsec" -w 100 -c 50Be sure to check out our Knowledgebase for helpful articles and solutions!