Ad Widget

Collapse

Customize Base Monitors for specific servers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zeb1026
    Junior Member
    • Jul 2016
    • 6

    #1

    Customize Base Monitors for specific servers

    We're using Zabbix 3.0 with Linux agents at 3.0.4 and Windows agents at 3.0.0.

    We discover server OS and apply standard set of monitors...

    CPU, Memory, Disk Space etc.

    Specifically we trigger an event when CPU is GT 90% for 15 minutes.

    What is the best method to override this on a per host basis?

    Some appl servers always run at close to 100% CPU...

    Some applications do not run well when CPU exceeds 70% CPU utilization.

    Any help would be appreciated.

    Please let me know if you need more detailed info.

    Thanks!
  • peatb
    Zabbix Certified Trainer
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2016
    • 36

    #2
    This can be solved with usermacros.

    In your template, create a trigger like: {Template OS Linux:system.cpu.load[percpu,avg1].avg(5m)}>{$MAX.CPU.LOAD}

    Then in the macros tab of the template, define {$MAX.CPU.LOAD} as 5. On a host that needs a different treshold, you can then define the {$MAX.CPU.LOAD} macro with the needed value for that host and it will override the default from the template.

    Comment

    Working...