check_logs.pl doesn't return output on RHEL 6 - RESOLVED

Bret Goodfellow Bret.Goodfellow at questar.com
Wed Dec 15 18:28:41 CET 2010


Temporary SOLUTION!


FYI - when I installed Nagios on RHEL6 I brought down nagios-3.2.3-3.el6.rf.x86_64.rpm.  This package included the check_logs.pl (1-2-2007).



I replaced check_logs.pl (1-2-2007) with a backlevel version check_logs.pl (6-7-2005).  This version works on RHEL6!  I am getting output now [messages ==> OK].  At this point in time I'm just going to use the older version of check_logs.pl (6-7-2005).



Thanks to all that responded.



Bret Goodfellow

Questar Gas

S.L.C., UT


From: Bret Goodfellow [mailto:Bret.Goodfellow at questar.com]
Sent: Tuesday, December 14, 2010 2:57 PM
To: Nagios Users List
Subject: Re: [Nagios-users] check_logs.pl doesn't return output on RHEL 6

Yes, my servers are x64.  The perl release on RHEL4 is v5.8.5, and the perl release on RHEL5 is v5.8.8, and the perl release on RHEL6 is v5.10.1.

From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org]
Sent: Tuesday, December 14, 2010 8:47 AM
To: Nagios Users List
Subject: Re: [Nagios-users] check_logs.pl doesn't return output on RHEL 6


On Tue, 14 Dec 2010 15:12:24 +0000, Bret Goodfellow <Bret.Goodfellow at questar.com> wrote:
[root at server ~]# cd /usr/lib64/nagios/plugins/
[root at server plugins]# ./check_logs.pl   -c /etc/nagios/check_logs_linux.cfg

[root at server plugins]#

I strongly suspect that this is a perl issue as RHEL 6 is using a newer perl version that is not entirely identical or compatible to the one used by RHEL 4 and RHEL 5.



Are you sure the other servers are x64 as well BTW?



Hugo.



--

hvdkooij at vanderkooij.org   http://hugo.vanderkooij.org/

PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101215/61721d09/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
-------------- 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