I’m using Nagios 3.0.2 with MSClient++ 0.3.1.14. I need to monitor a remote windows server for a process.
check_nt -H -p 12489 -v PROCSTATE -l “myprocess.exe”
tells me that my process is running but I need to know * how many *instances of it are running (more than a specified number is indicative of a problem there).