<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Mensagem</TITLE>
<META content="MSHTML 6.00.2719.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=381164622-17102002><FONT face=Arial
size=2>Nagiosmates:</FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2>It would be like
this, using check_procs sintax:</FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial
size=2>./check_running_proc -C process_command</FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002>It would return just OK or
CRITICAL.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002></SPAN></FONT></SPAN><SPAN
class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002>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.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002>TIA.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002>Sandro Vaz</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002><A
href="mailto:sandro@opservices.com.br">sandro@opservices.com.br</A></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002>********************************</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002>InterOp Corp.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002>OpServices Division</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002>(+55) 51 3216-7000</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002><A
href="http://www.interop.com.br">http://www.interop.com.br</A></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=381164622-17102002><FONT face=Arial size=2><SPAN
class=381164622-17102002><SPAN class=381164622-17102002><FONT face=Arial
size=2><SPAN
class=381164622-17102002>********************************</SPAN></FONT></SPAN></SPAN></FONT></SPAN></DIV></BODY></HTML>
<BR>
<P><FONT SIZE=2>---<BR>
Outgoing mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.401 / Virus Database: 226 - Release Date: 9/10/2002<BR>
</FONT> </P>