N5K - monitor vPC status via SNMP
Can I monitor a vPC via SNMP?
I'm interested in "Peer status", "vPC keep-alive status", "Configuration consistency status" and "vPC role".
N5K1(config-if)# show vpc
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 1
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status: success
vPC role : primary
Good question, I also want to know how we can do that.
Sent from Cisco Technical Support iPad App
Similar Messages
-
Monitor pki certificate status via snmp
I recently discovered that a number of our remote sites could not connect to each other via dmvpn due to various certificate problems.
They could all connect to our hubs due to pre shared keys, so the problem was never discovered before a colleague discovered MM_KEY_EXCH states on some of the routers.
I therefore want to monitor the state of the certificates, preferably via snmp.
I found a nice looking mib,CISCO-PKI-PARTICIPATION-MIB, on http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.9.505
but none of our routers seem to support it, and when you click on "view supporting images", it also specifies: "There is no supporting images available for
CISCO-PKI-PARTICIPATION-MIB"
Do you have any experience on how to monitor certificate status on your Cisco routers?No real solution. I found that they all needed to connect to one specific router, so I fire off "show crypto isakmp sa | inc MM_KEY_EXCH" on that specific router via our management platform, and receive a mail with the output on a daily basis.
-
ASA 5512 - monitor power supply status via snmp oid
Device – ASA 5512 running 9.1(1).
Show version:
ASA-1# sh ver
Cisco Adaptive Security Appliance Software Version 9.1(1)
Device Manager Version 6.6(1)
Compiled on Wed 28-Nov-12 11:15 PST by builders
System image file is "disk0:/asa911-smp-k8.bin"
Config file at boot was "startup-config"
ASA-1 up 8 hours 38 mins
Hardware: ASA5512-K7, 4096 MB RAM, CPU Clarkdale 2792 MHz, 1 CPU (2 cores)
ASA: 2048 MB RAM, 1 CPU (1 core)
Internal ATA Compact Flash, 4096MB
BIOS Flash MX25L6445E @ 0xffbb0000, 8192KB
Issue: looking for a snmp OID to poll power supply status (Inbuilt Power Supply - no redundant power supply in this scenario). Possibly what we see in show environment.
CSE analysis:
I tried using the OIDs belonging to CISCO-ENTITY-FRU-CONTROL-MIB , like cefcFRUPowerOperStatus and cefcFRUPowerAdminStatus but it didn’t return anything.
NOTE: I have done all the snmp walks from the Linux server. Do I doubt it’s something to do from the snmp manager side.
Couple of observations. The CISCO-ENTITY-FRU-CONTROL-MIB talks about the field replaceable power supplies, so I doubt if it’s going to return the value for inbuilt power supply.
Second, I noticed that there are snmp traps supported for power supply and threshold setting. See configuration below. Is it that only traps works for power supply and environment related details?
Snmpwalk on cefcFRUPowerStatusEntry returns nothing:
[root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117.1.1.2.1
SNMPv2-SMI::enterprises.9.9.117.1.1.2.1 = No Such Object available on this agent at this OID
Snmpwalk on cefcFRUPowerOperStatus returns nothing:
[root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117.1.1.2.1.2
SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.2 = No Such Instance currently exists at this OID
Snmpwalk on cefcFRUPowerAdminStatus returns nothing:
[root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117.1.1.2.1.1
SNMPv2-SMI::enterprises.9.9.117.1.1.2.1.1 = No Such Instance currently exists at this OID
[root@tonbenso-eagle bin]#
login as: root
I tried polling the ciscoEntityFRUControlMIB to see what all values it return. It just returned enterprises.9.9.117.1.3.1.0 = INTEGER: 2. Meaning cefcMIBEnableStatusNotification is FALSE (value 2). Meaning cefcModuleStatusChange, cefcPowerStatusChange, cefcFRUInserted, cefcFRURemoved, cefcUnrecognizedFRU and cefcFanTrayStatusChange are prevented from being sent.
Snmpwalk on ciscoEntityFRUControlMIB
[1]+ Stopped ./snmpwalk -v2c -c public 172.16.169.29
[root@tonbenso-eagle bin]# ./snmpwalk -v2c -c public 172.16.169.29 1.3.6.1.4.1.9.9.117
SNMPv2-SMI::enterprises.9.9.117.1.3.1.0 = INTEGER: 2
Object
cefcMIBEnableStatusNotification
OID
1.3.6.1.4.1.9.9.117.1.3.1
Type
TruthValue
Permission
read-write
Status
current
MIB
CISCO-ENTITY-FRU-CONTROL-MIB ; - View Supporting Images
Description
"This variable indicates whether the system
produces the following notifications:
cefcModuleStatusChange, cefcPowerStatusChange,
cefcFRUInserted, cefcFRURemoved,
cefcUnrecognizedFRU and cefcFanTrayStatusChange.
A false value will prevent these notifications
from being generated."
Found couple of bugs:
CSCty32558 – but then this is for 5585 and I see it is fixed in 8.4
CSCul90037 – New state
Show snmp-server oidlist:
http://www-tac.cisco.com/Teams/ks/c3/getLargeFile.php?srId=632222409&fileName=20141030-013905_ASA-show-snmp-server-oidlist.txt
Show tech:
Sh run | in snmp:
ASA-1# sh run | in snmp
snmp-server host asa 172.18.123.228 community *****
no snmp-server location
no snmp-server contact
snmp-server community *****
snmp-server enable traps entity power-supply-presence power-supply-temperature -----à I was talking about this trap above
any help will be appreciated.Hi
I've got an ASA with redundant power supplies. An ASA5585. So I have the need to monitor them. :-) So how can we do it?
Also I've made a SNMP-Walk through the ASA v8.4(2)8 and it doesn't show up any ENV-MIB values. The
1.3.6.1.4.1.9.9.13 tree is not available. Are you shure it's available on the ASA?
Funny is also that the command "show snmp-server oidlist" from the 8.4 configuration guide is not available on the real CLI. I think the documentation guys were faster than the coders. ;-)
Kind regards
Roberto -
Monitoring AP's via SNMP through WiSM
Hi, I am trying to find the best way of monitoring AP's (UP/DOWN/Environment) through WiSM. In the past I have always relied on a controller (4400 etc) to send SNMP traps to our monitoring system whenever there was an issue with an AP (ex. disassociated). Is there away of accomplishing the same monitoring technique for WiSM's. Currently there is a WCS but would liek to accomplish this so it's more automated and not having to look at multiple screens. Thanks
If I understand you correctly you want to send SNMP traps regarding AP status to a 3rd party NMS from a WiSM instead of a 4400 WLC, right?
If so, the WiSM is effectively two 4400 WLCs in module format. It shares the same configuration options, though there are some small differences.
In regards to SNMP they have the same options. You can define the UP/DOWN/ASSOC/DISASSOC states among other things. Mind you however that at least since 7.0.116.0 there is a discrepancy between the ASSOC and DISASSOC trap as they are in different MIBs, of which the one with the ASSOC trap is not up to date.
The WCS itself is nothing more than another trap destination for a WLC next to 3rd party NMS. -
Hi
I have a SA520 configured in load balancing. It is possible to monitor the WAN status via SNMP?
Thanks
MarcoI noticed that Staffan gave a good answer over at Stackoverflow. I'm making a copy of it here if somebody else is searching the forum and would like to know.
"The details are on [this webpage|http://java.sun.com/j2se/1.5.0/docs/guide/management/SNMP.html]. In short, what you have to do is:
* Start with -Dcom.sun.management.snmp.port=portNum
* Copy the ACL template file in JRE_HOME/lib/management/snmp.acl.template to JRE_HOME/lib/management/snmp.acl, and make it readable and writeable by only the owner." -
WLC Not Monitoring AP Status Correctly?
My 8510 HA pair running 8.0.110.0 doesn't seem to be monitoring the AP status properly. If an AP goes down or is otherwise taken off line, the total number of AP's on the Summary page drops by 1. It should show the same number of Total APs with the number of Up units dropping by 1 and show 1 unit down.
Any suggestions?
Thanks,
DanSimilarly, I am working on a solution to monitor APs status through Catalyst 3850 switch, but I found the no specific traps are defined for AP status when AP goes UP/DOWN, only found the traps for ApIfUp/ApIfDown.
The Catalyst3850 supports CISCO-LWAPP-AP-MIB, only the following traps are defined under ciscoLwappApMIBNotifs, which are:
ciscoLwappApIfRegulatoryDomainMismatchNotif(1)
ciscoLwappApCrash (2)
ciscoLwappApUnsupported (3)
ciscoLwappApAssociated (4)
ciscoLwappApPower (5)
ciscoLwappApRogueApDetected (6)
ciscoLwappApRogueApCleared (7)
ciscoLwappApWipsNotification (8)
ciscoLwappApNoDownlinkChannelNotify (9)
ciscoLwappApIfUpNotify (10)
ciscoLwappApIfDownNotify (11)
The Catalyst3850 switch also support AIRESPACE-WIRELESS-MIB, in this mib, there are two traps defined when AP goes UP/DOWN, which are:
bsnAPUp and bsnAPDown, but their status are 'obsolete' instead of 'current', and I can't trigger these traps, the only trap I got when disconnecting an AP is the ciscoLwappApAssociated trap, and it only generated after the AP rejoined the controller again, obviously it can't be used for my requirement.
Is there any way to monitor APs status via the switch/wireless controller in Catalyst 3850? what trap can I use?
Thank you in advance.
Tyler Chen -
MIBS to Monitor Etherchannel and trunks via SNMP
I would like to monitor the status of etherchannel and trunk configurations in 6500 Catalyst switches running both CATOS and IOS. I would like to understand the specific mibs/OIDS that should be monitored for etherchannels and trunks. I am trying to get a better handle on tracking the etherchannels and trunk dynamically and then understanding when the ports are having issues (up/down and errors). I need to understand how to differentiate these type of ports from regular access ports.
Thanks,
TimHi Tim,
what exactly do you want to query via SNMP?
For an (PAgP) Etherchannel, the member-interfaces might be interesting:
https://supportforums.cisco.com/message/3957914#3957914
For a trunk, you could start with the operational mode, depending on the platform you can use:
vlanTrunkPortDynamicStatus (CISCO-VTP-MIB):
vlanTrunkPortDynamicStatus.49 = notTrunking
vlanTrunkPortDynamicStatus.50 = trunking
vlanPortIslOperStatus (CISCO-STACK-MIB):
vlanPortIslOperStatus.13.43 = notTrunking
vlanPortIslOperStatus.13.44 = trunking
Hope that helps
Rolf -
Monitor OSPFv3 via SNMP not working - Is OSPFv3 MIB supported?
I need to be able to query the OSPFv3-MIB via SNMP to track the status of OSPFv3.
I have setup a 3945 router in a test lab network and I have configured it in an Ipv6 network with OSPFv3. The router has an active OSPFv3 neighbor and I can use that neighbor to send/receive data (the routing is working fine). However, when I walk the SNMP MIBs I don't get a response for the OSPFv3-MIB. According to the Cisco SNMP Object Navigator this MIB should be located at 1.3.6.1.3.102.*. Below is an example trying to query a particular OID from the OSPFv3 MIB.
C:\>snmpwalk -v 2c -c public 197.16.18.1 1.3.6.1.3.102.1.5.1.8
SNMPv2-SMI::experimental.102.1.5.1.8 = No Such Object available on this agent at this OID
I can walk other parts of the MIB (For example the OSPFv2 MIB) and get responses, so I know the router has SNMP turned on.
Looking at the Cisco IOS Mib Locator tool (http://tools.cisco.com/ITDIT/MIBS/MainServlet?IMAGE_NAME=c3900-universalk9-mz.SPA.152-4.M3.bin) for the current software version I am running (c3900-universalk9-mz.SPA.152-4.M3.bin) on a 3945 router it claims that the OSPFv3 MIB is supported in this image.
Maybe I need to configure something else? Maybe my SW doesn't really support this MIB? Could it be that I have to query the router over Ipv6 to get the OSPFv3-MIB (I have only been trying Ipv4)?Hi ,
As Vinod suggested , you need to configure the "SNMP CONTEXT"
Configure:
==========
Basic configuration consists of 4 steps:
Configure mapping between VRF name and SNMP context :
snmp-server vrf <vrf_1> context <context_1>
Create community string corresponding to the VRF :
snmp-server community <vrf_1> RW
Define context string
snmp-server context <context_1>
Configure mapping between context and community:
snmp-server community-map <vrf_1> context <context_1>
(optional) Configure snmp server traps for this VRF community
snmp-server host <IP> traps version 2c <vrf_1>
For e.g:
snmp-server vrf miki
context miki_bgp
snmp-server community miki RW
snmp-server context miki_bgp
snmp-server community-map miki context miki_bgp
Hope it will help
Thanks-
Afroz
***Ratings Encourages Contributors *** -
Monitor the # of registered AP's on a 2504 via SNMP?
Does anyone know the OID to determine the number of registered AP's on a WLC (specifically the AIR-CT2504).
I've got both of the Airespace MIBs and have browsed through them but I can't seem to find the correct location. I can find a list of all of the AP's registered but our monitoring software doesn't have the ability to 'count' that index. As such, I'm looking for a count/summation of the total number of registered AP's via SNMP.
Thanks!
BrianIt's an old post, but I had the same question. After some research I found a simple answer...
Use this OID: .1.3.6.1.4.1.9.9.618.1.8.4.0
If you want to also get the total number of Clients, use: .1.3.6.1.4.1.9.9.618.1.8.12.0
It does not work on 7.0 - it does on 7.6 and 8.0.
Best regards
Christoph -
Monitor the OSPF neighbors via snmp
Hello,
I monitor the OSPF neighbors via snmp. On the 3750 it works correctly.
http://www.cisco.com/en/US/tech/tk869/tk769/technologies_white_paper09186a00801177ff.shtml
On 3750X via snmp I do not see that OSPF neighbors in the VRF. How to see through snmp??
I use the IOS C3750E-UNIVERSALK9-M 15.0(2)SE on 3750X
best regardThe solution is to update to 12.2(55)SE5
-
I would like to monitor my Java application (running in JRockit) via SNMP protocol. I only need some basic informations. Is there any startup parameter that I can add to my app to enable SNMP?
I noticed that Staffan gave a good answer over at Stackoverflow. I'm making a copy of it here if somebody else is searching the forum and would like to know.
"The details are on [this webpage|http://java.sun.com/j2se/1.5.0/docs/guide/management/SNMP.html]. In short, what you have to do is:
* Start with -Dcom.sun.management.snmp.port=portNum
* Copy the ACL template file in JRE_HOME/lib/management/snmp.acl.template to JRE_HOME/lib/management/snmp.acl, and make it readable and writeable by only the owner." -
Hello,
Is it possible to get the dns stat's of the GSS via snmp?
On this moment we have found OID's of same basic stuf like memory; cpu load; interface stats
memAvailReal 1.3.6.1.4.1.2021.4.6
ssCpuRawIdle 1.3.6.1.4.1.2021.11.53
ifInOctets 1.3.6.1.2.1.2.2.1.10
Kind Regards,
Gerrit Frans van peltGood question. I would like this info too.
-
Polling port-profile max-ports via snmp
Team,
We have been caught out by the default setting of max-ports=32 in our cloud environment. Our processes dictate that we cannot simply go and change this setting across all customers so instead we need to monitor the setting for any customers geting clsoe to 32.
Can someone tell me if there's an oid to query port-profile information via snmp for a Nexus 1000V?
I've done some simple searching and couldn't find it.
Failing that, do we have to execute a script to login and do a show run?
RyanBRIDGE-MIB has the OIDs to monitor RSTP.
topologyChange NOTIFICATION-TYPE
-- OBJECTS { }
STATUS current
DESCRIPTION
"A topologyChange trap is sent by a bridge when any of
its configured ports transitions from the Learning state
to the Forwarding state, or from the Forwarding state to
the Blocking state. The trap is not sent if a newRoot
trap is sent for the same transition. Implementation of
this trap is optional."
::= { dot1dNotifications 2 }
dot1dStpPortState OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
blocking(2),
listening(3),
learning(4),
forwarding(5),
broken(6)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port's current state, as defined by application of
the Spanning Tree Protocol. This state controls what
action a port takes on reception of a frame. If the
bridge has detected a port that is malfunctioning, it
will place that port into the broken(6) state. For
ports that are disabled (see dot1dStpPortEnable), this
object will have a value of disabled(1)."
REFERENCE
"IEEE 802.1D-1998: clause 8.5.5.2"
::= { dot1dStpPortEntry 3 } -
How do I get the Username of an AnyConnect VPN session via SNMP?
I would like to monitor the usernames of my AnyConnect sessions via SNMP. This will allow me to monitor, graph, report, and alert using Solarwinds Orion (or any other SNMP software).
I would like to monitor this on my ASA 5520. I have run the show snmp-server oidlist command and I can see all of the OID's that I can poll. However, the OID I would like to poll crasUsername (1.3.6.1.4.1.9.9.392.1.3.21.1.1) is not working.
Does anyone know how I can monitor the username of a AnyConnect session via SNMP?
Below is a link to a great MIB reference for ASA Remote Access Monitor OID list.
http://www.mibdepot.com/cgi-bin/getmib3.cgi?i=1&n=CISCO-REMOTE-ACCESS-MONITOR-MIB&r=cisco&f=CISCO-REMOTE-ACCESS-MONITOR-MIB.my&v=v2&t=treeHello PDX,
Welcome to the HP Support Forums!
To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial Forums.
Regards,
JERENDS
I work on behalf of HP
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping! -
How to check current input/output rate on router subintenterface via SNMP?
How to check current input/output rate on router (2821, etc..) subintenterface via SNMP, like cacti monitoring system.
I cant find OID to make this with snmpwalk.
Or there is no way to check current load by this way? Only polling?
P.S. Ethernet subinterface, of course.
With great respect, S.A.Hi,
Try to use:
1.3.6.1.4.1.9.2.2.1.1.6 - InBitRate
1.3.6.1.4.1.9.2.2.1.1.8 - OutBitRate
1.3.6.1.4.1.9.2.2.1.1.28 - ifDescription
Maybe you are looking for
-
Final Cut Server...as playback automation?
I work for a high school TV station, and we are trying to find the cheapest way to playback our programs, encoded in QuickTime, to air in an automated fashion. There are boxes out there that do this in the 5-10k range, but I am looking for a Mac base
-
Oracle 11g dumpfile to be imported in 10g
Hi , I am using windows server 2003 and oracle 11g R1 . There is an old dump file taken using oracle export utility whch I need to import in oracle 10g R2 . Command I am using in 10g for doing this is imp tkcsowner/tkcsowner@wfcdbtst file=D:\Backups\
-
Changing date format for some of the date columns in a subject area
Hi, I have a requirement to change the date format for some of the date columns to dd-mon-yyy for only a particular subject area. Is there a feature available in the RPD which can help me do this? In Answers - Column Properties for a Particular colum
-
Fireworks cs4 batch change color in jpegs?
Is it possible to use fireworks cs4 batch command to change the same background color on multiple jpegs? Thanks in advance, Carl
-
4 extensions will not load xmarks, flagfox, 2 others, always get error messdagwe
Error: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.copyTo]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsExtensionM