trigger does not evaluate time properly in test trigger expression

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Major
    • 1.8.5
    • Affects Version/s: 1.8.4
    • Component/s: Server (S)
    • None
    • Environment:
      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.

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

              Created:
              Updated:
              Resolved: