Monitor Cisco Uptime

Will Bashlor wbashlor at atcnetworks.net
Sat Oct 20 17:23:16 CEST 2012


Hi list,

 

I've searched to no avail, this is a basic question with hopefully a
simple answer.

 

I'm a long time cacti user (windows), I know basic Linux knowledge, new
to Nagios. I have a fresh install of Debian stable (squeeze) with
apt-get installed Webmin, ssh, apache2, and Nagios 3.2.1, nagiosql, and
whatever dependencies. I am trying to setup monitoring of our core Cisco
routers and switches. I have configured 2 services, ping and uptime.
Ping works great of course but I can't get a valid response from
check_snmp for uptime. Here's the command I've tried from the command
line:

 

root at atcdeb01:/# /usr/lib/nagios/plugins/check_snmp -H x.x.x.x -C public
-o sysUpTime.0

no output, it just hangs

 

I've also tried

 

root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x sysUpTime.0

sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) ->
sysUpTime)

 

Obviously with the correct IP and community string

 

If I try this I get:

 

root at atcdeb01:/# /usr/bin/snmpget -v2c -c public x.x.x.x
1.3.6.1.2.1.1.3.0

iso.3.6.1.2.1.1.3.0 = Timeticks: (447923619) 51 days, 20:13:56.19

 

So using OID names aren't working. I've researched with not much luck.

 

>From here and various other sites I've tried...

http://wiki.debian.org/SNMP

 

Added "deb http://ftp.us.debian.org/debian squeeze main contrib
non-free" to /etc/apt/sources.list

 

apt-get update

 

Then apt-get install snmp-mibs-downloader
 
Then "download-mibs". Restart snmp.
 
All to no avail. What am I doing wrong? Is there a simple guide I can
use so check_snmp works with oid names for Cisco and other devices?
 
Thanks for any help you can provide.
 

Best Regards,

 

-Will

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121020/10e2ad33/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
-------------- next part --------------
_______________________________________________
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