[Nagiosplug-help] check_file_age help

Rick Garland Rick.Garland2 at quantum.com
Wed Jan 2 17:16:42 CET 2008


Found the problem.

The check_file_age is looking for the utils.pm perl module in a
different location than what is defined in the file.

I changed the lib location in the check_file_age.

 

On compiling and loading the plugins it comes with the utils.pm perl
module and it is installed in the /usr/local/nagios/libexec directory.

(The default location) 

 

The defined lib location was invalid and needed to be corrected.

 

 

 

 

Rick Garland

Sr System Administrator

Quantum, Corp.

8560 Upland Dr.

Englewood, CO  80112

 

office   720-249-5984

cell      720-210-4671

rick.garland at quantum.com

________________________________

From: nagiosplug-help-bounces at lists.sourceforge.net
[mailto:nagiosplug-help-bounces at lists.sourceforge.net] On Behalf Of Rick
Garland
Sent: Friday, December 28, 2007 12:39 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] check_file_age help

 

I am using plugins 1.4.9 with Nagios 2.9 on CentOS5

 

Rick Garland

Sr System Administrator

Quantum, Corp.

8560 Upland Dr.

Englewood, CO  80112

 

office   720-249-5984

cell      720-210-4671

rick.garland at quantum.com

________________________________

From: Rick Garland 
Sent: Friday, December 28, 2007 12:16 PM
To: 'nagiosplug-help at lists.sourceforge.net'
Subject: check_file_age help

 

Hi all:

 

Trying to work with check_file_age and getting the NRPE:unable to read
output

What I am doing is

            check_file_age -w 900 -c 1200 -f
/apps01/comergent/jakarta-tomcat-4.1.18/logs/catalina.out

 

If I run from command line it works but it is not working from
nagios/NRPE.

 

Any feedbacks?

 

Thanks

 

 

 

Rick Garland

Sr System Administrator

Quantum, Corp.

8560 Upland Dr.

Englewood, CO  80112

 

office   720-249-5984

cell      720-210-4671

rick.garland at quantum.com

 


________________________________

The information contained in this transmission may be confidential. Any
disclosure, copying, or further distribution of confidential information
is not permitted unless such privilege is explicitly granted in writing
by Quantum Corporation. Furthermore, Quantum Corporation is not
responsible for the proper and complete transmission of the substance of
this communication or for any delay in its receipt.
________________________________


-----------------------------------------------------------
The information contained in this transmission may be 
confidential. Any disclosure, copying, or further 
distribution of confidential information is not permitted 
unless such privilege is explicitly granted in writing by 
Quantum Corporation. Furthermore, Quantum Corporation is not 
responsible for the proper and complete transmission of the 
substance of this communication or for any delay in its 
receipt.
------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080102/62b9fb5a/attachment.html>


More information about the Help mailing list