<div dir="ltr"><div><div><div>Greetings,<br></div>  I'm hoping someone might be able to provide a hint on this issue.  Its strange, it happens only on one of my CentOS 6.4 servers.<br><br></div>Nagios server reports /usr/bin/yum not found when executing the following test:<br>
<br clear="all"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span style="font-family:courier new,monospace">[root@nagios ~]# sudo -u nagios /usr/lib64/nagios/plugins/check_nrpe -H <a href="http://test.example.com">test.example.com</a> -c check_yum -a noarg<br>
UNKNOWN: /usr/bin/yum cannot be found</span><br></blockquote><br></div>Over on <a href="http://test.example.com">test.example.com</a>:<br><br clear="all"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<span style="font-family:courier new,monospace">[root@test ~]# ps -ef|grep nrpe|grep -v grep<br>nrpe     20038     1  0 Sep10 ?        00:00:22 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d<br>[root@test ~]# sudo -u nrpe /usr/lib64/nagios/plugins/check_yum <br>
YUM OK: 0 Security Updates Available. 15 Non-Security Updates Available | <br></span></blockquote><br clear="all"><div><div><div><div>Again, I have other CentOS servers monitored using the same check_yum command configured on the Nagios server, they all work fine - including the Nagios server itself which is monitored through nrpe.<br>
<br><br></div><div>Thank you for your time and consideration, kind regards,<br></div><div>-- <br><div dir="ltr">Sean M. Alderman<br>Senior Engineer, UDit Systems Integration and Engineering<br>University of Dayton<br><a href="mailto:salderman1@udayton.edu" target="_blank">salderman1@udayton.edu</a><br>
<br><i>"We are not some casual and meaningless product of evolution. Each 
of us is the result of a thought of God. Each of us is willed. Each of 
us is loved. Each of us is necessary."</i>  - BXVI<br><br></div>
</div></div></div></div></div>