Monitoring switches via SNMP --

Alejandro Sánchez Meroño alejandro.sanchez at ite.es
Mon May 11 09:56:11 CEST 2009


I have Nagios installed also on Ubuntu 8.10, and I installed net-snmp like this: 
 
a) Download the file net-snmp-5.4.2.1.tar.gz from Sourceforge.net.
b) Untar the file: tar -xvf net-snmp-5.4.2.1.tar.gz
c) cd net-snmp-5.4.2.1
d) ./configure
e) make
f) make install
 
And done... 
 
Hope this helps...
 
Best regards, 
 
        Alejandro
 
==

Alejandro Sanchez Merono
Area de Informatica y Comunicaciones
Instituto de Tecnologia Electrica - http://www.ite.es <http://www.ite.es/>  
Valencia - Spain

 
 


________________________________

De: Andrew Davis [mailto:nccomp at gmail.com] 
Enviado el: viernes, 08 de mayo de 2009 14:46
Para: Mike Saldivar; nagios-users at lists.sourceforge.net
Asunto: Re: [Nagios-users] Monitoring switches via SNMP --


	(...) 
	 
	I changed ifOperStatus.INSIDE from ifOperStatus.1 because an snmpwalk on the device said that's what this port name was, but I can change it back.  But googling the error (Return code of 127 ...) seems to indicate I'm missing net-snmp or net-snmp-util, but I'm not sure how to install them -- can't do a rpm -qa on Ubuntu, and I don't know what the corresponding command is with apt-get.  But searching the Ubuntu repositories, I can' find an equivalent to net-snmp-util, so I think that's the problem.  Snmpwalk works though, so I figure I have something half-working...
	
	
	The other error I see is:
	
	---
	Port 1 Bandwidth UNKNOWN     05-07-2009 17:02:24     0d 2h 38m 14s     3/3     check_mrtgtraf: Unable to open MRTG log file 
	
	---
	define service{
	        use                     generic-service ; Inherit values from a template
	        host_name               CCLogan-ASA5510-1
	        service_description     Port 1 Bandwidth
	        check_command           check_local_mrtgtraf!/var/lib/mrtg/10.5.1.2_1.log!AVG!1000000,1000000!5000000,5000000!10
	        }
	---
	
	I looked, and /var/lib/mrtg/ didn't exist.  Googling, I saw a tip to change it to /var/www/mrtg/, but that directory didn't exist either.  I created /var/lib/mrtg/ and chown'd it to nagios:nagios and restarted Nagios, but still nothing.  Is there a mrtg config file I need to edit?
	
	Should I check into check_cisco.pl, or does that work better for the huge switches than the itty-bitty 4-porters?
	
	Thanks a heap,
	-Mike
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090511/7ac7b138/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
-------------- 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