check_procs plugin

Subhendu Ghosh sghosh at sghosh.org
Wed Apr 2 22:40:48 CEST 2003


On Wed, 2 Apr 2003, ramog wrote:

> Help on using check_procs plugin:
> 
> I would like to check the process, lpsched on a monitored host.
>        say,   ./check_procs -c 1 -C lpsched
> 
> I would like to see the result to be "CRITICAL" if there is 0 lpsched process on a monitored host.
> 
> Can anybody help me the right ./check_procs usage or is it possible
> using this. If not not, how do you do it to get the above result...
> 

./check_procs -w 1:1 -c 1:1 -C lpsched  (for one and only one process)

./check_procs -w 1: -c 1: -C lpsched  (for at least one process)


-- 

-sg



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list