ANNOUNCEMENT - The community will be down for maintenace this Thursday August 13 from 12:00 AM PT to 02:00 AM PT. As a precaution save your work.
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
801
Views
0
Helpful
8
Replies
Highlighted

Monitoring total numbers of peer tunels UP or DOWN in DMVPN - NHRP

Hello,

Any idea how to monitor DMVPN using snmp polling method.

I am interesting to get the numbers of peer UP here an example below:

XXXXXXXXX-121#show dmvpn
Legend: Attrb --> S - Static, D - Dynamic, I - Incomplete
        N - NATed, L - Local, X - No Socket
        T1 - Route Installed, T2 - Nexthop-override
        C - CTS Capable
        # Ent --> Number of NHRP entries with same NBMA peer
        NHS Status: E --> Expecting Replies, R --> Responding, W --> Waiting
        UpDn Time --> Up or Down Time for a Tunnel
==========================================================================

Interface: Tunnel11120000, IPv4 NHRP Details
Type:Hub, NHRP Peers:1261, <<------------------------------------ [******THIS NUMBER********]

 # Ent  Peer NBMA Addr Peer Tunnel Add State  UpDn Tm Attrb
 ----- --------------- --------------- ----- -------- -----
     1 xx.xx.xx.5           xx.xx.xx.5    UP     1w0d     D
     1 xx.xx.xx.13         xx.xx.xx.xx    UP     1w0d     D

.

Interface: Tunnel11150000, IPv4 NHRP Details
Type:Hub, NHRP Peers:178, <<------------------------------------ [******THIS NUMBER********]

 # Ent  Peer NBMA Addr Peer Tunnel Add State  UpDn Tm Attrb
 ----- --------------- --------------- ----- -------- -----

8 REPLIES 8
Highlighted
Advisor

Have you tried the NHRP-MIB?

Have you tried the NHRP-MIB?

Highlighted

According to the

According to the documentation from CISCO following this link:

http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/13506-snmp-traps.html#trps

This is the only feature supported:

NHRP Extension MIB

The NHRP Extension MIB module comprises objects that maintain redirect-related statistics for both clients and servers, and for the following SNMP notifications for critical DMVPN events:

  • A spoke perceives that a hub has gone down. This can occur even if the spoke was not previously registered with the hub.
  • A spoke successfully registers with a hub.
  • A hub perceives that a spoke has gone down.
  • A hub perceives that a spoke has come up.
  • A spoke or hub perceives that another NHRP peer, not related by an NHRP registration, has gone down. For example, a spoke-spoke tunnel goes down.
  • A spoke or hub perceives that another NHRP peer, not related by an NHRP registration, has come up. For example, a spoke-spoke tunnel comes up.
  • The rate limit set for NHRP packets on the interface is exceeded.

The info that I need is exactly this output:

ROUTER-1#sh dmvpn | i NHRP Peers:

Type:Hub, NHRP Peers:1261,

Type:Hub, NHRP Peers:178,

Type:Hub, NHRP Peers:30,

ROUTER-1#

Highlighted
Advisor

If the MIB doesn't support it

If the MIB doesn't support it, then you'll have to grab the info manually. 

Highlighted
Beginner

I am also looking for an

I am also looking for an answer on this question..... 

Highlighted
Beginner

Hi you can use zabbix.

Hi

you can use zabbix.

Highlighted
Beginner

Thanks for your reply

Thanks for your reply

That graph seems to be the total number of IKE sessions over the device.

Can you also graph the number of IKE sessions *per tunnel* ?

Highlighted
Beginner

yes this all. you can

yes this all. you can customize.i think if you "copy - past" this item then edit snmp parameters. then reat graps from this item, you can see. wait i try add screen...

Highlighted
Beginner

I don't think it's that easy.

I don't think it's that easy.

The total number of IKE sessions on a router is a variable at a fixed place, but the number of IKE peers on a specific - dynamically generated from the configuration - dmvpn tunnel will need some reference to the tunnel in it's OID string.  And that won't be a variable that can be specified in advance.