Ad Widget

Collapse

How to fix trigger when SNMP OID includes a text ???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zvukarmiso
    Junior Member
    • May 2015
    • 15

    #1

    How to fix trigger when SNMP OID includes a text ???

    Hi,

    I have the following problem, I have equipment where DYNAMIC generates on error OID

    The first problem that arises is the following:
    How to compare text? when SNMP OID is example. 1.1.1.1.1.222.1.2.0 and SNMP value is Urgent RFA? as a report on this trigger?
    How to manage whether a given alarm is equal to such amount Urgent RFA ???

    The second problem is somewhat more complicated.

    If the alarm on the device is cleaned by tax SNMP OID disappear. Zabbix for the trigger voices from: Can not evaluate function "hostname" item is not suppored

    1. how to resolve the alarm did not show last value? Clear the alarm when the so me Zabbix will remain constantly lit in the error example, Urgent RFA

    2. How to solve that if alaram is not active and there is no SNMP OID so that I could either an empty field or zero? or something that will signal that it's OK

    For any advice thanks in advance
    Attached Files
  • taelaren
    Junior Member
    • Jun 2016
    • 2

    #2
    I might be able to help with the first section.
    How to compare text? when SNMP OID is example. 1.1.1.1.1.222.1.2.0 and SNMP value is Urgent RFA? as a report on this trigger?
    How to manage whether a given alarm is equal to such amount Urgent RFA ???
    Do you want the trigger to go off when the value returned is "Urgent RFA"? If so, you could use a trigger expression like
    {testhost:keyName.last()}=Urgent RFA

    Comment

    • zvukarmiso
      Junior Member
      • May 2015
      • 15

      #3
      Hi,

      Thus it does not work. Al I want to compare the text always give me the error messages. "Incorrect trigger expression. Check exoression part from =" Urgent RFA "

      I tried to right trigger as follows: {testhost: keyName.regexp (Urgent RFA)} <> 0, but the problem comes in the fact that this dynamic SNMP OID will lose but the state remains. After that time, a comma, but the alarm remains active whereas, having remembers the last value. How to achieve it I forget?

      Comment

      Working...