check_running_proc (not check_procs)

Karl DeBisschop karl at debisschop.net
Fri Oct 18 06:35:59 CEST 2002


On Thu, 2002-10-17 at 19:01, Sandro Merg Vaz wrote:
> Nagiosmates:
>  
> I´m deploying a Nagios solution to monitor some Linuxes and one
> important point is to check the presence of some process (like
> named,snmpd, sshd, crond, etc.). But the existing check_procs plugin
> just warns me if there are MORE than the -w specified option. But I just
> want to know if there is at least one process instance running, being
> warned if there is NO process running.
>  
> It would be like this, using check_procs sintax:
> ./check_running_proc -C process_command

	check_procs -C xterm -w 1: -c 1:

If I understand your request, it's already there.

--
Karl



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list