Re: Nagios - check_procs Plugin
Israel Ochoa <[email protected]> Thu, 29 Sep 2016 15:59:05 -0700
| Newsgroups | gmane.network.nagios.plugins |
|---|---|
| Message-ID | <CAMwO=wqd3T2GvJ8nncG6CPRzMS9Z9TvmNx_TB4KbC7EFZbDDag__37893.2800064378$1475189967$gmane$org@mail.gmail.com> |
I thinks this can help you - https://www.monitoring-plugins.org/doc/man/negate.html On Thu, Sep 29, 2016 at 12:06 AM, Sabir Alvi <[email protected]> wrote: > Hi, > > > > I came across the link - The check_procs Plugin (https://www.monitoring- > plugins.org/doc/man/check_procs.html) as I was looking to monitor > specific process count. Which works just fine. > > However Nagios reports as Critical if no process is found which is not > right in our scenario. > > > > OK – If processes are 0-3 > > Warning – 4 > > Critical – 5 > > > > $USER1$/check_nrpe -H $HOSTADDRESS$ -c checkProcState -a ShowAll > MaxWarnCount=4 MaxCritCount=5 "javaws.exe" > > > > Above is the command that works fine with processes running, however need > help in adjusting OK for 0 processes. > > > > Thank You, > > Sabir Alvi > > Moxie Cloud Services > > > -- Israel Ochoa