AW: check_running_proc (not check_procs)

Frank.Michael at star21.de Frank.Michael at star21.de
Fri Oct 18 09:56:39 CEST 2002


hi,
you also have to put the command in single quotes

./check_procs -C '/usr/local/nagios/bin/nagios' -w 1: -c 1:


-----Ursprüngliche Nachricht-----
Von: Karl DeBisschop [mailto:karl at debisschop.net]
Gesendet: Freitag, 18. Oktober 2002 06:36
An: Sandro Merg Vaz
Cc: nagios-users at lists.sourceforge.net
Betreff: Re: [Nagios-users] check_running_proc (not check_procs)


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
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
 
 

*********************************************************** 
Oktober-Aktion bei STAR 21 NETWORKS 
*********************************************************** 

INTERNET ACCESS 3 und 6 Mbit/s vier Wochen gratis

STAR 21 NETWORKS bietet allen Kunden, die sich im Monat
Oktober für 3 oder 6 Mbit/s INTERNET ACCESS von
STAR 21 NETWORKS entscheiden, die ersten vier Wochen
Nutzung gratis.

Alle weiteren Infos zu dieser Aktion unter: 
www.star21networks.de <http://www.star21networks.de/> , info at star21.de
<mailto:info at star21.de>  oder ueber
unsere Service Hotline Tel. 0 800 - 1 00 73 40.




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




More information about the Users mailing list