Monitoring multiple windows processes

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).

don’t know how to that with check_nt, but someone will probably help you…

if not, my advice: create a small script in vbs that does the trick :slight_smile: (or try to find one on the internet ^^)