Hi all,<br><br>I apologize if this is an old problem.  I tried searching the archives and found some similar cases, but nothing with clear resolution.<br><br>I'm trying to check for the presence of a particular process on a remove machine using NRPE and check_procs with a -a or -C argument.  I have defined on the remote machine's nrpe_local.cfg:<br>
<br>command[check_foo]=/usr/nagios/plugins/check_procs -c 1:1 -C foo<br><br>Running a similar command locally on that machine works fine:<br><br>$ /usr/lib/nagios/plugins/check_procs -c 1:1 -C foo<br>PROCS OK: 1 process with command name 'foo'<br>
<br>But when I try to run the command from the Nagios server, I get the following result:<br><br>$ /usr/lib/nagios/plugins/check_nrpe -H remote.host -c check_foo<br>NRPE: Unable to read output<br><br>Whereas other monitored services work fine:<br>
$ /usr/lib/nagios/plugins/check_nrpe -H remote.host -c check_procs<br>PROCS OK: 97 processes<br><br>Similar behavior occurs whether I use the -a or -C option with the check_procs plugin.  <br><br>Both the server and remote host are Debian Lenny amd64, NRPE is v2.8.1, nagios-plugins is 1.4.12-5, Nagios is 3.0.6-4  (all from stable Lenny repositories, installed with apt)<br>
<br>Can anyone point out what I'm doing wrong?  <br><br>Thanks!<br><br>-Arthur<br><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>