Page 1 of 1

check_nt!PROCSTATE problem

Posted: Fri Jan 17, 2014 6:00 am
by Erny
Hello,

I have a problem with monitoring one of my windows machines. When I'm trying to monitor a process Nagios says the process is down but its not.

My service definition:

define service{
use generic-service
host_name PW7255-01C
service_description Mmg Check
check_command check_nt!PROCSTATE!-d SHOWALL -l mmg.exe
}

The process name in windows task manager is: mmg.exe
Nagios status of the service: Status Information: mmg.exe: not running after 3/3 checks

All the other checks are working fine like disk space, memory usage and services.

It's a Windows 7 Enterprise machine with NSClient++

Thanks in advance /Erny

Re: check_nt!PROCSTATE problem

Posted: Fri Jan 17, 2014 12:47 pm
by slansing
Try defining it this way:

Code: Select all

check_command check_nt!PROCSTATE!-l mmg.exe -d SHOWALL