Ad Widget

Collapse

Need trigger syntax help please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elvar
    Senior Member
    • Feb 2008
    • 226

    #1

    Need trigger syntax help please

    Hello, I'm currently using 'system.cpu.load[,avg1].min(1800)}>2' for my cpu load monitoring which only triggers if (to my knowledge) my cpu load is greater than 2 for 30 minutes. Is there a way to change that so that it only triggers if the AVERAGE for 30 minutes is over 2?



    Kind regards,
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Have you tried to replace min with avg ?

    Regards
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    • elvar
      Senior Member
      • Feb 2008
      • 226

      #3
      Originally posted by alixen
      Have you tried to replace min with avg ?

      Regards
      Alixen

      I have not, but how would I then combine avg & minutes?

      Comment

      • alixen
        Senior Member
        • Apr 2006
        • 474

        #4
        Originally posted by elvar
        I have not, but how would I then combine avg & minutes?
        Well...
        system.cpu.load[,avg1].avg(1800)
        means that it computes average value of 'system.cpu.load[,avg1]' item during last 1800 seconds (30 minutes).

        If my explanation is not clear enough, you may check the manual:
        http://www.zabbix.com/documentation/...onfig/triggers
        It explains how to define a trigger.

        Regards,
        Alixen
        http://www.alixen.fr/zabbix.html

        Comment

        • elvar
          Senior Member
          • Feb 2008
          • 226

          #5
          Originally posted by alixen
          Well...
          system.cpu.load[,avg1].avg(1800)
          means that it computes average value of 'system.cpu.load[,avg1]' item during last 1800 seconds (30 minutes).

          If my explanation is not clear enough, you may check the manual:
          http://www.zabbix.com/documentation/...onfig/triggers
          It explains how to define a trigger.

          Regards,
          Alixen

          This looks perfect, thank you very much for the reply.


          Regards

          Comment

          Working...