Re: critical if status running
Sixhammers <[email protected]> Mon, 11 May 2015 13:19:29 -0700
| Newsgroups | gmane.network.nagios.plugins |
|---|---|
| Message-ID | <CAOwD6zge6GKxpKZ=DT7r_gDfpodf8Y=7j-dH1_6JDf9-94TRTg__22274.1273385056$1431375585$gmane$org@mail.gmail.com> |
Nice! On Mon, May 11, 2015 at 1:15 PM, Mark A. Lappin <[email protected]> wrote: > 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 > > } > > > > > > > > > > *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] [email protected] > @lmfj.com > www.lmfj.com* | *Facebook <https://www.facebook.com/leemichaelsjewelry>* > | *Instagram <http://instagram.com/leemichaelsjewelry>* | *The Lee > Michaels Story <http://www.lmfj.com/embed_holder.php> > ------------------------------ > 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 [mailto:[email protected]] > *On Behalf Of *Brent Wegmann > *Sent:* Monday, May 11, 2015 3:05 PM > *To:* help-BzZFE/[email protected] > *Subject:* critical if status running > > > > Hi, > > 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 > > >
minibox.png
(image/png, 11 KB) - not displayed