Re: Odd Problem with check_yum on one server...
Sean Alderman <[email protected]> Mon, 16 Sep 2013 09:41:37 -0400
| Newsgroups | gmane.network.nagios.user |
|---|---|
| Message-ID | <CAN39mj3n_b99ujdrsSrNue5wx9wwrQtR8aDPgEoAsMgzToV7RQ@mail.gmail.com> |
--===============6347135816864777980== Content-Type: multipart/alternative; boundary=001a11c25bb805aa1004e6805ded --001a11c25bb805aa1004e6805ded Content-Type: text/plain; charset=ISO-8859-1 It would appear to be an selinux problem. On Mon, Sep 16, 2013 at 4:43 AM, Andreas Ericsson <[email protected]> wrote: > On 2013-09-13 19:46, Sean Alderman wrote: > >> I apologize... I should have pasted that, but I thought the fact that I >> could execute the check_yum script as the nrpe user on the host with the >> problem would have implied that it functions as expected. Yum is located >> where we would expect it to be on a standard CentOS machine. >> >> > Then it seems like you're running nrpe in a chroot jail or a limited > container, where /usr/bin/yum doesn't exist. > > -- > Andreas Ericsson [email protected] > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. > -- Sean M. Alderman Senior Engineer, UDit Systems Integration and Engineering University of Dayton 300 College Park Dayton, Ohio 45469-1530 (937) 229-5088 [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 --001a11c25bb805aa1004e6805ded Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>It would appear to be an selinux problem.<br></div></= div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Mon, S= ep 16, 2013 at 4:43 AM, Andreas Ericsson <span dir=3D"ltr"><<a href=3D"m= ailto:[email protected]" target=3D"_blank">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div class=3D"im">On 2013-09-13 19:46, Sean = Alderman wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> I apologize... I should have pasted that, but I thought the fact that I<br> could execute the check_yum script as the nrpe user on the host with the<br= > problem would have implied that it functions as expected. =A0Yum is located= <br> where we would expect it to be on a standard CentOS machine.<br> <br> </blockquote> <br></div> Then it seems like you're running nrpe in a chroot jail or a limited<br= > container, where /usr/bin/yum doesn't exist.<span class=3D"HOEnZb"><fon= t color=3D"#888888"><br> <br> -- <br> Andreas Ericsson =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <a href=3D"mailto:andr= [email protected]" target=3D"_blank">[email protected]</a><br> OP5 AB =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <a href=3D"h= ttp://www.op5.se" target=3D"_blank">www.op5.se</a><br> Tel: <a href=3D"tel:%2B46%208-230225" value=3D"+468230225" target=3D"_blank= ">+46 8-230225</a> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Fax: <a href=3D"tel:%= 2B46%208-230231" value=3D"+468230231" target=3D"_blank">+46 8-230231</a><br= > <br> Considering the successes of the wars on alcohol, poverty, drugs and<br> terror, I think we should give some serious thought to declaring war<br> on peace.<br> </font></span></blockquote></div><br><br clear=3D"all"><br>-- <br><div dir= =3D"ltr">Sean M. Alderman<br>Senior Engineer, UDit Systems Integration and = Engineering<br>University of Dayton<br>300 College Park<br>Dayton, Ohio 454= 69-1530<br> <a>(937) 229-5088</a><br><a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a><br><br><i>"We are not some casu= al and meaningless product of evolution. Each=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> --001a11c25bb805aa1004e6805ded-- --===============6347135816864777980== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk --===============6347135816864777980== 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 --===============6347135816864777980==--