Odd Problem with check_yum on one server...

Tech Support support at voipbusiness.us
Fri Sep 13 17:00:56 CEST 2013


It seems to me that yum is simply located somewhere else on that server. Try
"which yum".

Regards;

John

 

From: Sean Alderman [mailto:salderman1 at udayton.edu] 
Sent: Friday, September 13, 2013 10:13 AM
To: Nagios Users List
Subject: [Nagios-users] Odd Problem with check_yum on one server...

 

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 at 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 at 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 at 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
salderman1 at udayton.edu

"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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130913/3d706421/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list