Ad Widget

Collapse

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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khoi-thinh
    Junior Member
    • Jun 2017
    • 3

    #1

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

    Hi everyone,
    I'm totally new to zabbix.
    I installed zabbix sever in my own Linux server and it worked fine.
    I don't know much so when i created new host, i added all template Zabbix Server, OS Linux... and now my graph is like this.




    I want to find a way how to make a trigger and send to my email when CPU utilization is over 90%.
    Can someone guide me with details, step-by-step? Because i didn't find any good tutorials on Internet.
    Much appreciated!
  • Koffer
    Junior Member
    • Feb 2017
    • 3

    #2
    Hey mate,

    First and foremost go to Configuration > Templates! Select the OS Linux template from there and navigate to Items - Items are essentially the keys that you give to zabbix - more on that from https://www.zabbix.com/documentation...l/config/items

    In your case you would want to create a trigger for the CPU idle time item so you would know when the CPU is not idling. To do that make a new trigger under the trigger section of the same template and give it a value of

    {Template OS Linux:system.cpu.util[,idle].avg(1m)}<10

    When you create that trigger make sure you give it a name and the line above should go to expression part of the trigger conf.
    More about triggers: https://www.zabbix.com/documentation...onfig/triggers


    And now you would want it to send out emails to you!
    Navigate to actions tab in your zabbix installation and create a new action!

    More on that can be found on https://www.zabbix.com/documentation...cations/action

    After that you should be golden.

    Hope that helps!

    Comment

    • khoi-thinh
      Junior Member
      • Jun 2017
      • 3

      #3
      Originally posted by Koffer
      Hey mate,

      First and foremost go to Configuration > Templates! Select the OS Linux template from there and navigate to Items - Items are essentially the keys that you give to zabbix - more on that from https://www.zabbix.com/documentation...l/config/items

      In your case you would want to create a trigger for the CPU idle time item so you would know when the CPU is not idling. To do that make a new trigger under the trigger section of the same template and give it a value of

      {Template OS Linux:system.cpu.util[,idle].avg(1m)}<10

      When you create that trigger make sure you give it a name and the line above should go to expression part of the trigger conf.
      More about triggers: https://www.zabbix.com/documentation...onfig/triggers


      And now you would want it to send out emails to you!
      Navigate to actions tab in your zabbix installation and create a new action!

      More on that can be found on https://www.zabbix.com/documentation...cations/action

      After that you should be golden.

      Hope that helps!
      Thanks man

      Comment

      Working...