Nagios + snmp + cisco sg 300 switch

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
eliteo
Posts: 1
Joined: Sat Jul 16, 2011 12:52 pm

Nagios + snmp + cisco sg 300 switch

Post by eliteo »

Hi
I just started with nagios, and had a little bit of a bumpy start but it seems to go better now.
My first problem was with snmp but I managed to get it up and going on some of our switches.
But I have problem with A Cisco SG 300-20 switch.

With the Dlink switch I use GbE_XX and it works.
When I checked on my cacti installation i noticed that all the Description on the switch was "Ethernet Interface" while on the dlink switch it had the correct name.

check_snmp_int.pl -H my.ip.address.com -C public -n "Ethernet Interface"
It list all interfaces i dont have a way of separating them.. I only want to check a few ports.

This list all interface.
/check_snmp_int.pl -H my.ip.address.com -C public -n zzzz -v
Alarm at 15 + 5
SNMP v1 login
Filter : zzzz
OID : 1.3.6.1.2.1.2.2.1.2.300000, Desc : vlan
OID : 1.3.6.1.2.1.2.2.1.2.60, Desc : Ethernet Interface
OID : 1.3.6.1.2.1.2.2.1.2.100300, Desc : vlan
OID : 1.3.6.1.2.1.2.2.1.2.100019, Desc : vlan
OID : 1.3.6.1.2.1.2.2.1.2.100130, Desc : vlan
OID : 1.3.6.1.2.1.2.2.1.2.100004, Desc : vlan

Is there a way I can use the OID to instead of description?

Running it on a Ubuntu server 64bit, Nagios® Core™ 3.2.3
Locked