Can't locate Net/SNMP.pm in @INC When Running check_ifstatus

James Pratt jpratt at norwich.edu
Mon May 18 23:37:17 CEST 2009


I absolutely agree with Frank - you can *really* mess up an RPM-based
distro by using CPAN if you are not VERY careful what you do, so do so
at your own risk! :\

(if you *must* use packages required by CPAN - instead, try and figure
out how to add 3rd party repos such as rpmforge etc, as there is almost
always an RPM pre-built by Dag Wiers or other package maintainers that
you can use and keep your system sane instead). 

Cheers,
Jamie

-----Original Message-----
From: frank [mailto:ratty at they.org] 
Sent: Monday, May 18, 2009 5:09 PM
To: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When
Running check_ifstatus

# yum install perl-Net-SNMP

CPAN can sometimes be useful, but if you're on an RPM system and there's
an RPM available for the perl package you want I would highly recommend
going the RPM route. It's too bad cpan isn't easier to turn into an rpm
(besides cpan2rpm which I often find to be less useful than it's name
would imply.)

-f

On Mon, 18 May 2009, Andrew Davis wrote:

> Date: Mon, 18 May 2009 16:14:50 -0400
> From: Andrew Davis <nccomp at gmail.com>
> To: Nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When
Running
>     check_ifstatus


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
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