Ad Widget

Collapse

Suppress specific warning (CPU utilization high) for some hosts during specific times

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Flow
    Junior Member
    • Nov 2021
    • 3

    #1

    Suppress specific warning (CPU utilization high) for some hosts during specific times

    I want to suppress specific warning (CPU utilization high) for some hosts during specific times. The concrete case are low-CPU hosts performing their incremental backup every morning between 03:00-06:00. During these times i do not want to get "CPU utilization high" warnings, as they are expected.

    What would be the idiomatic Zabbix way to achieve this?
  • Answer selected by Flow at 08-02-2023, 13:57.
    Flow
    Junior Member
    • Nov 2021
    • 3

    The latter is what I ended up with. I have cloned the trigger, and added
    Code:
    and not (time() > 030000 and time() < 070000)
    to the cloned trigger expression, and disabled then original trigger.

    Comment


    • Okan
      Okan commented
      Editing a comment
      Hello ! I wanted to do the same and I did. It's working, thank you for your explanation.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Either set a maintenance period for them, or redesign your trigger condition to include time() conditions. like ... and time()<030000 or time()>060000

    Comment

    • Flow
      Junior Member
      • Nov 2021
      • 3

      #3
      The latter is what I ended up with. I have cloned the trigger, and added
      Code:
      and not (time() > 030000 and time() < 070000)
      to the cloned trigger expression, and disabled then original trigger.

      Comment


      • Okan
        Okan commented
        Editing a comment
        Hello ! I wanted to do the same and I did. It's working, thank you for your explanation.
    Working...