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
check_nt!PROCSTATE problem
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_nt!PROCSTATE problem
Try defining it this way:
Code: Select all
check_command check_nt!PROCSTATE!-l mmg.exe -d SHOWALL