Ad Widget

Collapse

Setup of a Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbix-tech
    Junior Member
    • Oct 2019
    • 13

    #1

    Setup of a Trigger

    Hello everyone,

    I wanted to know how to configure a trigger when the value is higher than X and lower than Y (ex: between 80% and 90%)? I attach the current configuration, zabbix triggers an alert when you exceed 80%.

    Thanks
    Attached Files
  • 1berto
    Senior Member
    • Sep 2018
    • 182

    #2
    {host:item.last()}>80 and {host:item.last()}<90
    Didn't work?
    Also depending on what you want, this would be better:
    {host:item.min(#3)}>80 and {host:item.max(#3)}<90
    This will fire the trigger if the last 3 values are between 80 and 90


    Comment

    • zabbix-tech
      Junior Member
      • Oct 2019
      • 13

      #3
      Thank you 1berto for your response,
      Indeed, I would like to monitor the free space of my equipment. I want that my zabbix alert me when the available space is between 80% and 90%.
      I've already tried {host:item.last()}>80 and {host:item.last()}<90. But the problem with this settings is that it triggers an alert even when the available space is at 50 % (because we've configured it to alert us when it's <90).

      Comment

      • zabbix-tech
        Junior Member
        • Oct 2019
        • 13

        #4
        I've already tried with this configuration but it doesn't work !
        Attached Files

        Comment

        • 1berto
          Senior Member
          • Sep 2018
          • 182

          #5
          Strange...
          with the and operator this shouldn't occur... But, let's try some other ways:
          Using min(#1) and max(#1) makes no sense (min of 1 and max of 1 will be just the value, anyway).
          So first try to use just last(), my first sugestion, and just {host:item.last()}>80
          Also check the 'last values' and/or the zabbix_get result of the item.

          Comment

          Working...