[Nagiosplug-help] Can't locate Nagios/Plugin.pm error wheninstalling plugin

SAMSON, AARON (ATTOPS) rs1865 at att.com
Wed Aug 11 17:26:13 CEST 2010


Download the Nagios/Plugin.pm from cpan to your server. 

http://search.cpan.org/~tonvoon/Nagios-Plugin-0.34/lib/Nagios/Plugin.pm

Install that module on server following instructions given in the module.

Then run your check_esx3.pl. You should be good to go.

Aaron

-----Original Message-----
From: Jason Lee [mailto:leejm_ca at yahoo.com] 
Sent: Wednesday, August 11, 2010 11:14 AM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] Can't locate Nagios/Plugin.pm error wheninstalling plugin

Hi everyone,

I just downloaded a new plugin called check_esx3.pl from Nagios.org.   As per 
the very brief instructions that come with the plugin, I downloaded the latest 
version of Perl Toolkit from VMware.    When I try and install the plugin I get 
the following error.     Does anyone have any suggestions?


/usr/local/perl /usr/local/nagios/libexec/check_esx3.plcheck_esx3.pl
Can't locate Nagios/Plugin.pm in @INC (@INC contains: 
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 
/usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 
/usr/lib/perl5/vendor_perl .) at ./check_esx3.pl line 31.
BEGIN failed--compilation aborted at ./check_esx3.pl line 31.


Thanks in advanced,


Jason



----- Original Message ----
From: Stewart St. Dennis <sstdennis at zaxia.com>
To: Nagios Plugin Help List <nagiosplug-help at lists.sourceforge.net>
Sent: Tue, August 10, 2010 10:41:36 AM
Subject: Re: [Nagiosplug-help] Install Nagios plug: instruction step 5:hosts.cfg 
file

Ivan:
Each OS and/or OS distribution has different ideas as to where specific types of 
files should go. Therefore, the instructions can not be precise on where the 
files will be for your specific distro.  For Ubuntu the path is 
/usr/lib/nagios/plugins. 


Try the following to determine your location:
find / -name check_load

Stewart
-----Original Message-----
From: "Labrovic, Ivan" <ivan.labrovic at centric.eu>
Date: Tue, 10 Aug 2010 13:20:32 
To: nagiosplug-help at lists.sourceforge.net<nagiosplug-help at lists.sourceforge.net>
Reply-To: Nagios Plugin Help List <nagiosplug-help at lists.sourceforge.net>
Subject: [Nagiosplug-help] Install Nagios plug: instruction step 5:
    hosts.cfg file

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null




More information about the Help mailing list