monitor router temperature

Max perldork at webwizarddesign.com
Wed Feb 25 00:26:15 CET 2009


On Tue, Feb 24, 2009 at 6:23 PM, Chris <atstake at gmail.com> wrote:
> Thanks. I tried your script but it gives me the following error. My
> "router" is a multi-layer switch: Cisco 6509.
>
> Error:
>
> Can't locate Nagios/Plugin/SNMP.pm in @INC (@INC contains:
> /usr/lib/nagios/plugins/lib
> /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8
> /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at
> ./check_snmp_cisco_temp.pl line 60.
> BEGIN failed--compilation aborted at ./check_snmp_cisco_temp.pl line 60.
>
> How do I get rid of this error?
>
> Thanks.
>

Use CPAN to install Nagios::Plugin and Nagios::Plugin SNMP :)

bash$ sudo cpan
cpan> install Nagios::Plugin
... lots of output ...
cpan> install Nagios::Plugin::SNMP

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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