Nagios - check_procs Plugin
Israel Ochoa
isuraeru at gmail.com
Fri Sep 30 00:59:05 CEST 2016
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 <SAlvi at gomoxie.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20160929/1d771740/attachment.html>
More information about the Help
mailing list