Lelik13a / Zabbix-OpenVZ

Zabbix OpenVZ templates
11 stars 4 forks source link

Trigger "Too many processes" flapping every minutes #4

Closed itJunky closed 7 years ago

itJunky commented 8 years ago

How can i change trigger condition value at autodiscovery host items? In this template i have a macros {$PROC_CT_WARN} but i can't set my macros and value to autodiscovered host.

Lelik13a commented 8 years ago

You can set a macros {$PROC_CT_WARN} to parent host (hardware node), it will be inherited to auto-discovered CT host. This is zabbix restriction.

I added trigger "the number of processes is above average per hour", maybe it will be more useful.

itJunky commented 8 years ago

It's not flexible! On any virtual machines i set any limits. And i need one trigger value for one VM and some other value for other VM on same hardware node.

Lelik13a commented 8 years ago

I agree, but zabbix auto-discovery works so :(. You can add every CT host manually and apply template "Template OpenVZ CT" on them. This allows you to adjust the settings on each container. Host name must be "{#VENAME}.{#CTID}" where CTID - key value.

Lelik13a commented 8 years ago

Zabbix 3.0 release :). With many changes in macros. https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300

itJunky commented 8 years ago

Cool, but i don't see changaes with this functionality =(

Lelik13a commented 7 years ago

Changed trigger "too many processes" to prevent flapps (in new template).