Ad Widget

Collapse

Monitoring OSPF state

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabnew
    Junior Member
    • Jan 2009
    • 3

    #1

    Monitoring OSPF state

    Hello all,

    Somebody has any idea to monitor ospf neighbor ship using SNMP on Cisco router?

    My problem is that the format of such snmp variable will not fit in the standard supported advanced SNMP feature of zabbix.

    e.g.
    Advanced supported format is:
    <base OID of data>[“index”,”<base OID of index>”,”<string to search for>”]

    i.e. ifOutOctets["index","ifDescr","FastEthernet0/0"] ==
    ifOutOctets.1

    And an example of such OSPF state will be:
    ospfNbrState.<IP-Address>.0
    with IP-address = IP address of the neighbor

    OF course you can add those items manually one by one, but want to have a template for it that use either ifDescr or ifAlias field of the snmp variables.

    Any help will be appreciated.

    Thanks in advance.

    Regards,

    H2T
  • welkin
    Senior Member
    • Mar 2007
    • 132

    #2
    same problem here with BGP sessions on a Juniper router. The OID are extended with both peers of the BGP session.
    e.g.

    .1.1.1.192.168.1.1.192.168.1.2

    i hope there will be a better solution than just manually add these oid's.

    Comment

    • astol
      Junior Member
      • Jul 2020
      • 9

      #3
      you want to look at ipRouteNextHop - OID: 1.3.6.1.2.1.4.21.1.7 Free RFC1213-MIB SNMP MIB Download - Free MIB Download - Search MIBs - OiDViEW

      as just looking at the neighbour won't necessarily tell you if the route has changed.

      I created a template with a single item and trigger​, basically looking at a particular next hop for the path I need and trigger on change()

      Comment

      Working...