Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19492

Asterisk Template Incorrect Reload Trigger

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 5.0.12
    • Templates (T)
    • None
    • asterisk 16.0.9

      In current asterisk template we have following trigger:

      {Template Tel Asterisk by HTTP:asterisk.uptime_reload.last()}

      <10m
      But value returned in asterisk.uptime_reload is always negative, so on reload this trigger is not closed after 10min.
      Example of data returned:
      {"version":"16.9.0","uptime":7818805.89,"uptime_reload":-1557.11,"active_channels":0,"active_calls":0,

      So, to make trigger correct this item should be turned to positive. I've solved that by addind one more preprocessing step to item configuration (after JSONPath)- Custom multiplier -1

       

            atocko Andrey Tocko (Inactive)
            barzog Oleg Gawriloff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: