Ad Widget

Collapse

Stop other items when server is offline

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ajd2000
    Junior Member
    • Jul 2018
    • 1

    #1

    Stop other items when server is offline

    I am trying to come up with the best way to stop getting additional alerts when a host that is running zabbix agent is restarted or goes down for various reasons. Ideally, I would like to make it such that when an item goes into problem state, all other items for host are disabled or suspended until the first item is OK again.

    For example, if a server stops pinging correctly, then alert on the ping/host down, and then don't alert about the RAM being 0 available, or the disk space being not reported.

    I think that this should be possible with a combination of the trigger dependencies, and a properly configured notification action, but I have not been able to come up with the proper configuration yet.

    Zabbix 3.0.

    Any suggestions on the best way to achieve this?

    Thanks.
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    So let me rephrase you problem.
    When host is down you have probably several alarms and you don't want to see multiple alarms about such host.
    In such case it not matter of disable some items but triggers dependencies.
    Try to have look on my OS Linux template https://github.com/kloczek/zabbix-te...vel/OS%20Linux and you will find that in this template is defined "SYS::host is down" trigger.
    So far it is nothing unusuall.,Next try to have look on list of all triggers and check how many other triggers on the list depends on "SYS::host is down" trigger.
    What does it mean? It mans that all those triggers which depends on this exactly trigger will be active when host is down but becaause they depends on "SYS::host is down" trigger they will will be not visable an deffectively on;y this single trigger will be displayed as only active.
    You can read about trigers dependencies on https://www.zabbix.com/documentation...s/dependencies
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    Working...