check_running_proc (not check_procs)

Sandro Merg Vaz sandro at opservices.com.br
Fri Oct 18 01:01:05 CEST 2002


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
 
It would return just OK or CRITICAL.
 
If some of you have any idea (instead of advising me to write my own
plugin, which is the next step), please let me know.
 
TIA.
 
Sandro Vaz
HYPERLINK "mailto:sandro at opservices.com.br"sandro at opservices.com.br
********************************
InterOp Corp.
OpServices Division
(+55) 51 3216-7000
HYPERLINK "http://www.interop.com.br"http://www.interop.com.br
********************************

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.401 / Virus Database: 226 - Release Date: 9/10/2002
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021017/bd0aaf92/attachment.html>


More information about the Users mailing list