I need to check a process running on windows machine from a monitoring server. The monitoring using Nagios. I want to get alert when the process is not running on the windows machine.
This can be achieved by using Nagios NRPE client++ .
Assume NRPE client++ already installed.
To test on nagios machine do this :
./check_nt -H 10.10.10.10 -p 12489 -v PROCSTATE -d SHOWALL -l w3wp.exe
If running, it will return :
w3wp.exe: Running
if not running, it will return :
w3wp: not running
this so simple is it?
0 comments:
Post a Comment