Odd Problem with check_yum on one server...
Sean Alderman <[email protected]> Fri, 13 Sep 2013 10:12:45 -0400
| Newsgroups | gmane.network.nagios.user |
|---|---|
| Message-ID | <CAN39mj1WfBZTiSFShPrWCxeNkSS-VjrdRAf8B+O7J8zZO_OOxA@mail.gmail.com> |
--===============1722431154059201671== Content-Type: multipart/alternative; boundary=e89a8f64701bd56e3a04e64472a2 --e89a8f64701bd56e3a04e64472a2 Content-Type: text/plain; charset=ISO-8859-1 Greetings, 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. Nagios server reports /usr/bin/yum not found when executing the following test: [root@nagios ~]# sudo -u nagios /usr/lib64/nagios/plugins/check_nrpe -H > test.example.com -c check_yum -a noarg > UNKNOWN: /usr/bin/yum cannot be found > Over on test.example.com: [root@test ~]# ps -ef|grep nrpe|grep -v grep > nrpe 20038 1 0 Sep10 ? 00:00:22 /usr/sbin/nrpe -c > /etc/nagios/nrpe.cfg -d > [root@test ~]# sudo -u nrpe /usr/lib64/nagios/plugins/check_yum > YUM OK: 0 Security Updates Available. 15 Non-Security Updates Available | > 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. Thank you for your time and consideration, kind regards, -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton [email protected] *"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."* - BXVI --e89a8f64701bd56e3a04e64472a2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><div>Greetings,<br></div>=A0 I'm hoping some= one might be able to provide a hint on this issue.=A0 Its strange, it happe= ns 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=3D"all"><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left= :1px solid rgb(204,204,204);padding-left:1ex" class=3D"gmail_quote"><span s= tyle=3D"font-family:courier new,monospace">[root@nagios ~]# sudo -u nagios = /usr/lib64/nagios/plugins/check_nrpe -H <a href=3D"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=3D"http://test.example.com">test.example.com</a>:<br><br clear= =3D"all"><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli= d rgb(204,204,204);padding-left:1ex" class=3D"gmail_quote"> <span style=3D"font-family:courier new,monospace">[root@test ~]# ps -ef|gre= p nrpe|grep -v grep<br>nrpe=A0=A0=A0=A0 20038=A0=A0=A0=A0 1=A0 0 Sep10 ?=A0= =A0=A0=A0=A0=A0=A0 00:00:22 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d<br>[r= oot@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=3D"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 itse= lf 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=3D"ltr">Sean M. Alderman<br>Senior Engineer,= UDit Systems Integration and Engineering<br>University of Dayton<br><a hre= f=3D"mailto:[email protected]" target=3D"_blank">[email protected]= u</a><br> <br><i>"We are not some casual and meaningless product of evolution. E= ach=20 of us is the result of a thought of God. Each of us is willed. Each of=20 us is loved. Each of us is necessary."</i>=A0 - BXVI<br><br></div> </div></div></div></div></div> --e89a8f64701bd56e3a04e64472a2-- --===============1722431154059201671== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk --===============1722431154059201671== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --===============1722431154059201671==--