<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=722133621-29052007><FONT face=Arial size=2>Hi
there,</FONT></SPAN></DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial size=2>I'm getting
different results for the check_procs plugin from command line to the web
interface of Nagios. </FONT></SPAN></DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial size=2>In the command line,
if I use the same command as Nagios is supposed to run (specified in the
commands.cfg and I monitored the commands passed to check_procs plugin), I get
the correct number of processes running (2).</FONT></SPAN></DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial size=2>When run as an
active check initiated by Nagios, in the web interface on the other
hand, once it gets the results from the service check back, even though it
passes the same arguments to the check_procs plugin, I always get 1 extra result
(so 3 processes running), as if the check_procs plugin runs two different
ps|grep commands and doesn't exclude itself when initiated by Nagios. Seem
ridiculous but that's the only conclusion I could come up
with.</FONT></SPAN></DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial size=2>Anyone experience
the same thing?</FONT></SPAN></DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=722133621-29052007><FONT face=Arial
size=2>Dimitry</FONT></SPAN></DIV><pre>_______________________________________________________________________
This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential.
Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message.
This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message.
Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent.
Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite.
Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de courriel ou par un autre moyen.</pre></BODY></HTML>