check_nt!PROCSTATE problem

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Erny
Posts: 1
Joined: Fri Jan 17, 2014 5:45 am

check_nt!PROCSTATE problem

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_nt!PROCSTATE problem

Post by slansing »

Try defining it this way:

Code: Select all

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