<br><font size=2 face="sans-serif">Hi to everyone,</font>
<br>
<br><font size=2 face="sans-serif">I want to check if a process is running
on a remote machine.</font>
<br>
<br><font size=2 face="sans-serif">I have a server with nagios which run
the check_nrpe plugin with this syntax (into checkcommands.cfg file)  
     :</font>
<br>
<br><font size=2 face="sans-serif">check_nrpe -H $HOSTADDRESS$ -c $ARG1$
-a $ARG2$ $ARG3$ $ARG4$</font>
<br>
<br><font size=2 face="sans-serif">where ARG1 is the remote plugin I want
to run (check_procs in this case). ARG3 and ARG4 are the other parameters
(the name of the process, warning and crititical).</font>
<br>
<br><font size=2 face="sans-serif">On the remote machine (AIX 4.3) is running
the nrpe daemon.</font>
<br><font size=2 face="sans-serif">It works all ok but I get alway a positive
response even if there are no processes running with that name.</font>
<br><font size=2 face="sans-serif">Here's an example:</font>
<br>
<br><font size=2 face="sans-serif">OK - 0 processes running with args db2</font>
<br>
<br><font size=2 face="sans-serif">I want to get a critical alert if there
are no processes running with these args..</font>
<br>
<br><font size=2 face="sans-serif">can anybody help me?</font>
<table width=100% align=center>
<tr valign=top>
<td width=100% bgcolor=white></table>
<br>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
Davide De Boni<br>
<br>
Email: d.deboni@edexter.it<br>
<br>
e.Dexter S.P.A.<br>
C.so Risorgimento 5<br>
28823 Ghiffa (VB)<br>
ITALIA<br>
Tel +39.0323.407733<br>
Fax +39.0323.53558</font>