Ad Widget

Collapse

How can i create trigger threshold 90% for Process CPU utilization?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pmurtey
    Member
    • Mar 2020
    • 91

    #1

    How can i create trigger threshold 90% for Process CPU utilization?

    Hi All, We are trying to determine what the correct trigger would be for a process we are monitoring for cpu utilization. We have the item for the process set up as proc.cpu.util[,,,SLBmonitor] at the host inventory level and it is giving us the correct current cpu utilization for the process. How do we set the trigger to alarm if the process exceeds 90 percent for 3 occurrences? And can this be done at the host inventory item/trigger level without creating templates as suggested at https://www.burlutsky.su/monitoring/...th-hysteresis/.
  • derli1988
    Member
    • Apr 2021
    • 60

    #2
    If this is a windows host you're trying to monitor, first make sure you have an item to detect the cpu, usually, this item is already in the default template Template Module Windows CPU by Zabbix agent, the item name is CPU UTILIZATION.

    Then, you create a trigger like the one below:

    {Host_name:system.cpu.util.min(5m)}>{90}

    It would be something like this

    Comment

    • pmurtey
      Member
      • Mar 2020
      • 91

      #3
      This is a Linux system. So this is saying not to alert until the process has exceeded 90% utilization for 5 minutes?

      Comment

      • pmurtey
        Member
        • Mar 2020
        • 91

        #4
        I tried {v00serverc01/:/proc.cpu.util[LBservice].min(5m)}>{90} and we get this message back "Incorrect trigger expression. Check expression part starting from ">{90}".
        Last edited by pmurtey; 25-05-2021, 22:38.

        Comment

        • derli1988
          Member
          • Apr 2021
          • 60

          #5
          What I have for my Linux systems is:

          {Linux server:system.cpu.util.min(5m)}>{$CPU.UTIL.CRIT}

          $CPU.UTIL.CRIT being a macro with value 90.

          It works all the time.

          Comment

          • cyber
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Dec 2006
            • 4807

            #6
            Originally posted by pmurtey
            I tried {v00serverc01/:/proc.cpu.util[LBservice].min(5m)}>{90} and we get this message back "Incorrect trigger expression. Check expression part starting from ">{90}".
            Remove {}-s from the 90.

            Comment

            Working...