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

How to check nodata for the yesterday in the triggers

XMLWordPrintable

      How do i check the nodata of same time on yesterday example:
      i have configured servers and items at 11:15pm there won't be any data present on yesterday.
      suppose now time is 11:30 pm
      check if no data present on yesterday 11:30 then consider last occurred cycle data.
      i tried using 2 ways:
      1.({Clearcode_Template_MAH:clearcode.total[

      {HOSTNAME}].nodata(1d)} = 0 and {Clearcode_Template_MAH:clearcode.total[{HOSTNAME}

      ].last(1d)} > 0) or ({Clearcode_Template_MAH:clearcode.total[

      {HOSTNAME}].nodata(1d)} = 1 and {Clearcode_Template_MAH:clearcode.total[{HOSTNAME}

      ].last()} > 0)

      2.({Clearcode_Template_MAH:clearcode.total[

      {HOSTNAME}].count(1d)} >= 96 and {Clearcode_Template_MAH:clearcode.total[{HOSTNAME}

      ].last(15m,1d)} >0) or ({Clearcode_Template_MAH:clearcode.total[

      {HOSTNAME}].count(1d)} < 96 and {Clearcode_Template_MAH:clearcode.total[{HOSTNAME}

      ].last()} >0)
      In Both ways i did not get expected results.
      how do achieve this ?

            Unassigned Unassigned
            elavdas Lavanya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: