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

trigger does not evaluate time properly in test trigger expression

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Major Major
    • 1.8.5
    • 1.8.4
    • Server (S)
    • None
    • Centos 5.5

      Original trigger: (File not modified & (saturday or sunday | anything before 8 am | anything after 6pm) )

      {host.domain.com:vfs.file.time[/var/log/messages].fuzzytime(3600)}

      =0 & (

      {host.domain.com:vfs.file.time[/var/log/messages.log].dayofweek(0)}

      >5|

      {host.domain.com:vfs.file.time[/var/log/messages.log].time(0)}

      <080000 |

      {host.domain.com:vfs.file.time[/var/log/messages.log].time(0)}

      >180000)

      Isolated it further down: (File not modified & anything before 8 am )
      host.domain.com:vfs.file.time[/var/log/messages].fuzzytime(3600)}=0 &

      {host.domain.com:vfs.file.time[/var/log/messages.log].time(0)}

      <080000

      If I do the same line with 060000 it works.
      host.domain.com:vfs.file.time[/var/log/messages].fuzzytime(3600)}=0 &

      {host.domain.com:vfs.file.time[/var/log/messages.log].time(0)}

      <060000

      I am not sure if this is a bug in the test expression or if it effects all trigger evaulations.

            Unassigned Unassigned
            sj7trunks Benjamin Coles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: