<!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.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=573120302-14072006>check_procs will only check for processes on the local 
machine.  Use the -h option to see all the parameters you can give it to 
check for different things.  You will probably want to use NRPE to run the 
check_procs plugin on the remote server (this is how we do it 
here)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=573120302-14072006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=573120302-14072006>check_nrpe -H 172.2.23.1 -c check_procs -a syslog-ng 1 
1024</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=573120302-14072006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=573120302-14072006>and then in the nrpe.cfg on the remote 
machine</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=573120302-14072006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=573120302-14072006>command[check_procs]=/usr/local/nrpe/check_procs -w 
"1:$ARG2$" -c "1:$ARG3$" -C "$ARG1$"</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=573120302-14072006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=573120302-14072006>Steve</SPAN></FONT></DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> 
  nagios-users-bounces@lists.sourceforge.net 
  [mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of 
  </B>Radhika<BR><B>Sent:</B> Friday, 14 July 2006 4:49 a.m.<BR><B>To:</B> 
  Morris, Patrick; nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re: 
  [Nagios-users] syslog-ng process monitor plugin<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>thanks for your mail.I have checked the check_procs plugin but it is not 
  giving the option of monitoring remote host i may be wrong</DIV>
  <DIV> </DIV>
  <DIV>./check_procs -H 172.2.23.1 -w 1:1 -c 1:1024 -C syslog-ng</DIV>
  <DIV> </DIV>
  <DIV>I am getting error ./check_procs: invalid option -- H</DIV>
  <DIV> </DIV>
  <DIV>If i remove -H and ipaddress it is checking in local machine</DIV>
  <DIV> </DIV>
  <DIV>How to fix this now</DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
  <DIV>thanks<BR><BR>new Yahoo! Mail Beta.</DIV></BLOCKQUOTE></BODY></HTML>