Ad Widget

Collapse

Trigger on SNMP timeout?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • naushit
    Junior Member
    • Mar 2008
    • 9

    #1

    Trigger on SNMP timeout?

    I just want to create a trigger when SNMP check fails!
    For example Host:uptime (Timeout while connecting to [20x.7x.13x.xx:161]

    is there anyway to create equivalent of

    {zabbix.com:status.last(0)} = 2?

    I can not create create "status" , item because SNMP device does not have zabbix agent embedded inside.


    Please help...any pointers are appreciated

    Thanks in advance.
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    Use the nodata() function.

    {MY_SNMP_DEVICE:ifInOctets.1.01.nodata(300)}=1

    ifInOctets.1.01 is the item name as you created it.

    Trigger is ON if there's been no new data over the last 300sec (SNMP polling failed for whatever reason).

    Comment

    • Andrey123987456
      Member
      • Apr 2019
      • 44

      #3
      Good day to all! Help me please. I had a problem with the trigger, there is a network node, when it is working the trigger is normal, when it disappears from the network it signals the problem to me. {Obnaruhenie Mikrotik: icmppingsec.last ()} = 0. And I need to do that the trigger would not react immediately, but if the network node is not in the network for more than 5 hours. how to do it, I do not understand. I tried to play with count and nodata, but it doesn't work. Now I have come to this decision, but it also does not work correctly {Obnaruhenie Mikrotik: icmpping.max (18000)} = 0

      Comment

      Working...