Ad Widget

Collapse

Making trigger to see if idle has been less then 5% for last 4 hours

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kevinappel
    Junior Member
    • Mar 2006
    • 21

    #1

    Making trigger to see if idle has been less then 5% for last 4 hours

    Can someone assist me with creating a trigger that will alert me if the idle % has been less than 5% for the past 4 hours?

    I know I will be using the item: system.cpu.util[,idle,] just not sure how to wrap the whole thing for the 4 hour constraint.

    Thanks,

    Kevin
  • dantheman
    Senior Member
    • May 2006
    • 209

    #2
    To start with you'll need an item that monitors the idle percentage on the host.

    Assuming your host is called web, your trigger should look something like this..

    {web:system.cpu.util[,idle,].min(14400)}<5

    14400 is the number of seconds that the item would need to be under 5 for the trigger to fire.

    Comment

    • dantheman
      Senior Member
      • May 2006
      • 209

      #3
      http://www.zabbix.com/manual/v1.1/config_triggers.php

      This is a useful page when working with triggers to see what options you have available as well as to help with syntax, etc..

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        I believe correct trigger would be

        {web:system.cpu.util[,idle,].max(14400)}<5
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • kevinappel
          Junior Member
          • Mar 2006
          • 21

          #5
          thanks a bunch

          Comment

          Working...