Monitoring Cisco Routers

Subhendu Ghosh sghosh at sghosh.org
Wed Mar 19 14:15:23 CET 2003


Yes - missing a perl module...

The correct one is Net::SNMP not SNMP

perl -MCPAN -e'install Net::SNMP'

There are some pre-req, but the install process should walk you through 
those..

-sg

On Wed, 19 Mar 2003, Tomas Hautala wrote:

> Looks like you are missing a perl module.
> Try the folowing.
> 
> perl -MCPAN -e "install SNMP"
> 
> hope this helps.
> 
> 
> 
> ----------------------------------
> Tomas Hautala
> University of Växjö, It-department
> Phone:+46 (0)470 - 708515
> Cell:+46 (0)708 - 901066
> Mail:tomas.hautala at adm.vxu.se
> 
> 
> 
> David Adams wrote:
> > Hi Everyone,
> >  
> > Thanks for all the help so far. I am trying to run check_ifstatus and 
> > i'm getting the following error
> >  
> > # ./check_ifstatus
> > Can't locate Net/SNMP.pm in @INC (@INC contains: 
> > /usr/local/nagios/libexec /usr/libdata/perl5/i386-openbsd/5.6.1 
> > /usr/local/libdata/perl5/i386-openbsd/5.6.1 /usr/libdata/perl5 
> > /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd 
> > /usr/libdata/perl5/site_perl/i386-openbsd 
> > /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl 
> > /usr/local/lib/perl5/site_perl .) at ./check_ifstatus line 35.
> > BEGIN failed--compilation aborted at ./check_ifstatus line 35.
> >  
> > I installed net-snmp 5.0.8 *after *i installed nagios, could this be the 
> > problem? I also had trouble installing net-snmp on openbsd3.0 and had to 
> > use options to exclude some of the MIB's.
> >  
> > Has anyone else using openbsd run in to these problems?
> >  
> > thanks
> >  
> > Dave 
> > 
> >     -----Original Message-----
> >     *From:* Jon Lyons [mailto:jlyons30 at yahoo.com]
> >     *Sent:* 18 March 2003 15:39
> >     *To:* David Adams; nagios-users at lists.sourceforge.net
> >     *Subject:* Re: [Nagios-users] Monitoring Cisco Routers
> > 
> >     Try the plugin check_ifstatus, work well for detecting link status. 
> > 
> >      */David Adams <dadams at johncrowley.co.uk>/* wrote:
> > 
> >         Greetings all,
> >          
> >         Is there a way to monitor link states, interface states,
> >         processor load etc on Cisco routers? I'm assuming this would
> >         have to be done using check_snmp.
> >         If that's how it's done, does anyone have any MIB's or link to a
> >         resource that could get me started? Of course, there is always
> >         the jackpot, has anyone made any plugins for Cisco kit ;-)
> >          
> >         Thanks
> >          
> >         Dave
> > 
> > 
> >     ------------------------------------------------------------------------
> >     Do you Yahoo!?
> >     Yahoo! Platinum
> >     <http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html>
> >     - Watch CBS' NCAA March Madness, live on your desktop
> >     <http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html>!
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Does your code think in ink? 
> You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
> What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> 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
> 

-- 





-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
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