critical if status running

Mark A. Lappin MarkL at
Mon May 11 22:15:45 CEST 2015

I have a similar requirement and use the below service definition:

define service {
        use                     generic-service
        host_name               LMFJASCTS
        service_description     Explorer Running - Terminal Services
        check_command           check_nt!PROCSTATE! -d SHOWALL -l "Explorer.exe"=stopped
        check_period            lmfj-store-hours

[cid:minibox.png]       Mark A. Lappin, CCNA, MCITP: Enterprise Administrator
Director of Information Technology
Lee Michaels Fine Jewelry - Corporate Office
11314 Cloverland Ave | Baton Rouge, LA 70809
[O] 225.368.3645 [F] 225.368.3675 [C] 225-362-2770 [E] MarkL at<> | Facebook<> | Instagram<> | The Lee Michaels Story<>
This communication is privileged and confidential. If you are not the intended recipient, please notify the sender by reply e-mail and destroy all copies of this communication.
From: Help [ at] On Behalf Of Brent Wegmann
Sent: Monday, May 11, 2015 3:05 PM
To: help at
Subject: critical if status running

I'm using check_nt!PROCSTATE!-d SHOWALL -l process.exe to alert me if a process is down.

I want to do the opposite.  Get at status of Critical or warning when a specific process is running and status of ok when process is missing or service is not running... Can check_nt!SERVICESTATE  do this too?

Thanks in advance,

Brent Wegmann
Director of Information Technology
Maquoketa Valley REC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minibox.png
Type: image/png
Size: 11244 bytes
Desc: minibox.png
URL: <>

More information about the Help mailing list