Ad Widget

Collapse

Trigger not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lmonasterio
    Member
    • May 2021
    • 34

    #1

    Trigger not working

    Hi everyone!
    I have an issue with a trigger prototype added to the VMware Template. Here the configuration:

    Click image for larger version

Name:	image.png
Views:	518
Size:	20.3 KB
ID:	476766

    Latest data is 4.881:

    Click image for larger version

Name:	image.png
Views:	516
Size:	4.0 KB
ID:	476764

    And the threshold is:

    Click image for larger version

Name:	image.png
Views:	509
Size:	8.7 KB
ID:	476765

    The trigger should be in PROBLEM state (4.8 < 5), but it is OK...

    Do you have an idea?
    Thanks!
    Attached Files
  • MRedbourne
    Senior Member
    • Feb 2023
    • 103

    #2
    You don't specify a Zabbix version, so I'm assuming your dashboard is equivalent to mine.

    If so, the first column under your Trigger Prototype should be "Create Enabled". Create Enabled is the flag that allows the trigger to create a problem in your dashboard. Flip that from "Disabled" to "Enabled". See below for examples of custom prototype triggers (functional in my environment, Zabbix 6.4.9)

    Click image for larger version  Name:	image.png Views:	0 Size:	17.3 KB ID:	476779
    Edit:

    Re: The documentation I linked for Create Enabled. This is the party you should've read:
    Click image for larger version

Name:	image.png
Views:	530
Size:	28.6 KB
ID:	476780

    Comment

    • lmonasterio
      Member
      • May 2021
      • 34

      #3
      Thanks MRedbourne! I really appreciate your time!
      Mi Zabbix version is 6.0.23.
      The point is, even if the trigger is disabled, you should see his value as a PROBLEM. For sure, you need to enable to really have a problem, but i want to evaluate the state before enabling it.

      Comment

      • MRedbourne
        Senior Member
        • Feb 2023
        • 103

        #4
        That's not true, not unless one of us is getting terminology mixed up. To my knowledge you cannot have a problem without having an associated trigger. ​Problems (in Monitoring -> Problems) are generated when a trigger evaluates to true.

        1 Trigger event generation (zabbix.com).​
        Problem events
        A problem event is created:
        • when a trigger expression evaluates to TRUE if the trigger is in OK state;
        • each time a trigger expression evaluates to TRUE if multiple problem event generation is enabled for the trigger.
        Also see

        2 Problems (zabbix.com)
        Problems are those triggers that are in the "Problem" state.​

        Comment

        • lmonasterio
          Member
          • May 2021
          • 34

          #5
          I understand that, but im not talking about the PROBLEM itself, im talking about TRIGGER Value:

          Click image for larger version

Name:	image.png
Views:	503
Size:	13.9 KB
ID:	476807

          As i undesrtand and see in other cases, that value is independent from Enable/Disable status. It only evaluates the condition.

          Comment

          • lmonasterio
            Member
            • May 2021
            • 34

            #6
            I just made a test. You need to create the trigger ENABLED to see the value updated. I thought that the value itself was independent and that i could see the condition BEFORE Enabling/Disabling it.
            It would be nice to have that info before enabling a trigger prototype.
            Thanks again MRedbourne for your time!

            Comment

            • MRedbourne
              Senior Member
              • Feb 2023
              • 103

              #7
              Ah, I hadn't understood you were attempting to look at the value part, not the actual problem trigger. Glad you got it sorted.

              Cheers!

              Comment

              Working...