<div class="gmail_quote">On Dec 14, 2007 2:54 PM, Marc Powell <<a href="mailto:marc@ena.com">marc@ena.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d"><br></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d">> "./check_nrpe -H box -c check_proc_sshd"
<br><br></div>Not sure how this is related. What happens if you do the same for<br>check_proc_java? What happens if you run the check_procs command above<br>on the target machine? Remember to perform these tests as the nagios
<br>user.</blockquote><div><br class="webkit-block-placeholder"></div><div>My bad, it's the same for anything check_procs related -- check_procs_[java/sshd/httpd...]</div><div><br class="webkit-block-placeholder"></div>
<div>On the target machine, I get the same error, regardless of whether I'm the Nagios user or the root</div><div><br class="webkit-block-placeholder"></div><div>e.g.</div><div><br class="webkit-block-placeholder"></div>
<div><div>[root@mybox plugins]# ./check_procs</div><div>System call sent warnings to stderr</div><div>PROCS WARNING: 101 processes</div><div><br class="webkit-block-placeholder"></div><div>[root@mybox plugins]# sudo nagios
</div><div><br class="webkit-block-placeholder"></div><div>and I get</div></div><div><br></div><div><div>sh-3.00$ ./check_procs</div><div>System call sent warnings to stderr</div><div>PROCS WARNING: 103 processes</div><div>
sh-3.00$ </div><div><br class="webkit-block-placeholder"></div><div>Thanks for your help. Any advice or hints would be greatly appreciated!</div></div></div>