Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-6123

Please allow 1=1 in trigger expression or make expression optional

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 5.0.2
    • Frontend (F)
    • None

      We have devices which have a special snmp ALARM-MIB. If there are any alarms these devices have a snmp table with all existing alarms, descriptions, times, severity, etc. If there are no alarms, their alarm table is empty. (Not very well designed, i know)

      I created a LLD to discover these alarms in very short periods. This LLD creates one item (it's the alarm description) and a trigger to allow me to signal this alarm through zabbix.

      The Problem is that I have to insert a trigger expression, which raises the trigger. In our case the sole existense of the item means there is an alarm to trigger.

      I tried to insert "1=1" into trigger expression, but it is not accepted by zabbix.
      If I insert any expression like

      {item}<>"" the trigger will raise very delayed, because zabbix needs some snmp requests on that item to get the value of {item}

      . Even if I set the items interval to 15s.

      So please allow "1=1" as trigger expression (better), or make trigger expression optional and automatically raise trigger on existense. Right now I don't know how to monitor these alarm tables in time.

      Thank you,
      Holger

            vmurzins Valdis Murzins
            h.l. H.L.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: