Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Snmp & UCS manager 2.2 - no traps

Hello,

I'm trying to assemble a light monitoring solution / Proof of Concept using snmp for our Lab infrastructure.

In this lab we have FI 6248, Nexus 5548, some Netapp & EMC equipment, ...

I get all the snmp basic informations I need from all the equipment except from the FI 6248

We are running the following kernel on both Fabric Interconnect : 5.2(3)N2(2.21c)

The UCS manager version is 2.2(1c)

I configured a  "public" snmp trap community using CLI (

>scope monitoring

>enable snmp

>set snmp community public

>commit-buffer

Then using a CentOS machine on the same vlan/ip range, I'm trying to receive the traps but can seem to receive anything.

[root@gouyasse etc]# snmpgetnext -d -v 1 -c public ucsfic sysUpTime

Sending 42 bytes to UDP: [xx.xx.xx.xx]:161->[0.0.0.0]

...

Timeout: No Response from ucsfic

the same happens when using v2c

I also tried the same on a UCS PE but with no luck either.

What am I doing wrong ?

Thanks in advance

PS : here is an extract of the nxos running config on the ucs regarding snmp

snmp-server enable traps callhome event-notify

snmp-server enable traps callhome smtp-send-fail

snmp-server enable traps cfs state-change-notif

snmp-server enable traps cfs merge-failure

snmp-server enable traps fcdomain dmNewPrincipalSwitchNotify

snmp-server enable traps fcdomain dmDomainIdNotAssignedNotify

snmp-server enable traps fcdomain dmFabricChangeNotify

snmp-server enable traps port-security access-secure-mac-violation

snmp-server enable traps port-security trunk-secure-mac-violation

snmp-server enable traps aaa server-state-change

snmp-server enable traps vsan vsanStatusChange

snmp-server enable traps vsan vsanPortMembershipChange

snmp-server enable traps upgrade UpgradeOpNotifyOnCompletion

snmp-server enable traps upgrade UpgradeJobStatusNotify

snmp-server enable traps feature-control FeatureOpStatusChange

snmp-server enable traps sysmgr cseFailSwCoreNotifyExtended

snmp-server enable traps config ccmCLIRunningConfigChanged

snmp-server enable traps snmp authentication

snmp-server enable traps link cisco-xcvr-mon-status-chg

snmp-server enable traps vtp notifs

snmp-server enable traps vtp vlancreate

snmp-server enable traps vtp vlandelete

snmp-server enable traps bridge newroot

snmp-server enable traps bridge topologychange

snmp-server enable traps stpx inconsistency

snmp-server enable traps stpx root-inconsistency

snmp-server enable traps stpx loop-inconsistency

snmp-server enable traps poe portonoff

snmp-server enable traps poe pwrusageon

snmp-server enable traps poe pwrusageoff

snmp-server enable traps poe police

snmp-server enable traps flexlink ifStatusChange

snmp-server context mgmt vrf management

snmp-server community public group network-operator

snmp-server host <management adress> traps version 1 public  udp-port 161

5 REPLIES
VIP Red

Snmp & UCS manager 2.2 - no traps

Why are you using CLI and not GUI to setup snmp ?

http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/gui/config/guide/141/UCSM_GUI_Configuration_Guide_141_chapter6.html

I miss in your cli commands the IP address of the snmp trap server ?

New Member

Snmp & UCS manager 2.2 - no traps

I also tried to use the GUI but with no luck either.

the last line of the first message contains the ip adress of the trap server.

VIP Red

Snmp & UCS manager 2.2 - no traps

Could it be a firewall problem ?

New Member

Snmp & UCS manager 2.2 - no traps

Don't think so.

There should not be any active firewall in this infra but to be sure I'm currently installing a Windows machine where I'll put a Wireshark to check if I see any SNMP packets going through

I'll keep you posted.

VIP Red

Snmp & UCS manager 2.2 - no traps

Hi Eric

Can you please clarify: do you try to receive UCS snmp traps on your CentOS box and/or do snmp polls from your CentOS server.

In the latter case, you need to download and install the UCS Mib:

http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/mib/b-series/b_UCS_MIBRef.pdf

https://supportforums.cisco.com/message/4031164#4031164

841
Views
0
Helpful
5
Replies