Ad Widget

Collapse

Condition bases SNMP monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mca2
    Junior Member
    • Dec 2019
    • 2

    #1

    Condition bases SNMP monitoring

    After quite some struggles to get Zabbix running on my FreeBSD 12 server, I'm now configuring Zabbix to monitor various devices. One of them is a SNMP capable router. I want to monitor ICMPloss (packetloss) which works great using the SNMP generic template. But this router is frequently turned of and then ICMPloss gives 100% which pollutes the averages and with the auto scaling of axis, also hides the normally 0 to nothing values in the graph.

    So is it possible to monitor (and plot) ICMPloss (and other items) based on the condition the router is running? Eg the SNMP availability item? I did some searching on conditions but got lost, so some examples or concrete references to sections of the manual would be of great help.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    The availability of SNMP can be obtained by using internal check zabbix[host,snmp,available]
    https://www.zabbix.com/documentation...types/internal
    How to link the data acquisition of one data item to another data item I don't know.
    Of course, you can make a dependency in the trigger to reduce unnecessary triggers.
    Last edited by Hamardaban; 20-12-2019, 13:29.

    Comment

    • Semiadmin
      Senior Member
      • Oct 2014
      • 1625

      #3
      You may create a calculated item, for example:
      last(iicmppingloss) * (last(zabbix[host,snmp,available])>0)
      All you need is negotiation of update intervals...
      Last edited by Semiadmin; 20-12-2019, 15:03.

      Comment

      Working...