Ad Widget

Collapse

Alerts by Avarge

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • moshet
    Junior Member
    • Dec 2014
    • 13

    #1

    Alerts by Avarge

    Hi All,
    I've created a trigger to measure CPU utilization by performance counter, and set the trigger that if CPU utilization is 95% for more than 5 minutes, then send me an alert.
    {HostNameerf_counter[\Processor(_Total)\% Processor Time].avg(5m)}>95

    But what happens is that each time the CPU gets to 95% I get an alert.
    It ignores completely the 5 minute average I requested.
    The server monitored is a windows server.
    Thanks in Advance.
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hi,

    Try your trigger with 300 seconds instead of 5 minutes.

    Code:
    {HostName:Perf_counter[\Processor(_Total)\% Processor Time].avg(300)}>95
    Does it help?

    Best Regards,
    Ingus

    Comment

    • moshet
      Junior Member
      • Dec 2014
      • 13

      #3
      Hi Ignus,
      That didn't help either.

      Comment

      • moshet
        Junior Member
        • Dec 2014
        • 13

        #4
        Ingus,
        Does this trigger expression is valid for Windows servers or only for Linux Servers?
        {system.cpu.util[,,avg1].avg(600)}>90

        Comment

        • ingus.vilnis
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Mar 2014
          • 908

          #5
          Hi,

          1) Is the performance counter actually returning anything in Latest data?
          Code:
          perf_counter[\Processor(_Total)\% Processor Time]
          2) {system.cpu.util[,,avg1].avg(600)}>90 is valid for both Windows and Linux

          But why wouldn't you consider using {system.cpu.util[,,avg15].last()}>90 ?
          That will give you the average for last 15 minutes and does not use the "avg" trigger function in Zabbix server (increases the actual load of trigger processing).

          Best Regards,
          Ingus

          Comment

          • moshet
            Junior Member
            • Dec 2014
            • 13

            #6
            I will try your suggestion below.
            Thank you very much.!

            Comment

            Working...