Ad Widget

Collapse

Zabbix 4.0 Incorrect working triggers?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmalchikov
    Junior Member
    • Sep 2018
    • 15

    #1

    Zabbix 4.0 Incorrect working triggers?

    Hi there,

    I try to create email alert if last 4 values = error and last one = error (not normal)
    But I always get email alert when first value = error

    My trigger:
    {Templ_Monitoring:check_adp[C:\Monitoring.xml].count(#4,Error,eq)}=1 and {Templ_Monitoring:check_adp[C:\Monitoring.xml].count(#1,Error,eq)}=1

    and Latest Data:
    2018-12-25 11:46:55 Error
    2018-12-25 11:43:54 Normal
    2018-12-25 11:40:54 Normal
    2018-12-25 11:37:54 Normal
    Seems like a bug?

    Dmitry
  • Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    #2
    Seems like misconfigured trigger condition.
    Try .count(#4,Error,eq)}=4

    Comment

    • dmalchikov
      Junior Member
      • Sep 2018
      • 15

      #3
      Seem to be possible values in ".count(#4,Error,eq)}=4 " Only 1 or 0
      .count(#4,Error,eq)}=1 or .count(#4,Error,eq)}=0

      Comment

      • Semiadmin
        Senior Member
        • Oct 2014
        • 1625

        #4
        Why? Can't "Count" count to 4?

        Comment

        • dmalchikov
          Junior Member
          • Sep 2018
          • 15

          #5
          Set count to 4 is .count(#4
          As I see =1 (true) and 0 (false)
          I tried to set to 4/ Result always FALSE

          Comment

          Working...