Ad Widget

Collapse

OSPF trap (Trigger Name)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • silvagus
    Junior Member
    • Jun 2014
    • 1

    #1

    OSPF trap (Trigger Name)

    Hello Guys,

    I would like to know if there is a way to put the information from a trap in the name of the trigger, for example:

    I'm getting this trap:

    01:07:23 2014/06/23 .1.3.6.1.2.1.14.16.2.2 Normal "Status Events" 172.16.1.10 - ZBXTRAP 172.16.1.10 ospfNbrStateChange ospfNbrIpAddr:10.10.10.20 ospfNbrRtrId:192.163.6.4 ospfNbrState:full

    I would like that the name of the trigger appears with the value of ospfNbrIpAddr (10.10.10.20), for example: "State changed on ....".

    Is that possible?

    I know that I could use a Low level discovery and setup a snmp request on the OID of ospf state, but it is a little bit trick cause when the state goes down, the OID disappears, for example:
    When the network is converged:
    SNMPv2-SMI::mib-2.14.10.1.6.10.10.10.10.0 = INTEGER: 8

    I take the address 10.10.10.10 by using the macro {#SNMPINDEX} and moreover, i could take the state by using the macro {#SNMPVALUE}.

    The problem is, when the route is unavailable, the oid for this object drop down and in zabbix show the message "...there is no instance for this object".

    Could someone help me with any idea?

    Tks!
Working...