Ad Widget

Collapse

Suppressing notifications for some period of time after zabbix server process starts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mschlegel
    Member
    • Oct 2008
    • 40

    #1

    Suppressing notifications for some period of time after zabbix server process starts

    Howdy,

    Many of the triggers we use have some unfortunate behavioral side effects when the templates are first assigned to a host and when the server processes are starting after any kind of down time. While it's easy to control the behavior when assigning templates, by disabling actions first, this is not effective in the case of an unplanned restart of the services.

    The worst offenders for these spurious notifications has been with our 'host alive' checks, which are ultimately based on 'nodata' for x minutes. Obviously, if the server process has been down for x minutes, then the nodata(x) is going to cause the trigger to go to a problem state.

    Is there a relatively simple way to just have zabbix not process actions for some configurable time after the server processes start up?

    While we have not, generally, had any problems with zabbix stability, the last hiccup caused about 4500 notifications to be sent out that shouldn't have been.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    in latest versions of zabbix (all of 1.8, as far as i can recall ) there is a logic where it will not fire nodata triggers if zabbix server has been up less than the nodata period - if you see such triggers firing after the server restart anyway, it might be that the items indeed do not provide data for some reason (like proxies having large queues etc).

    as for nodata() firing for new hosts, that's a known limitation - feel free to vote on https://support.zabbix.com/browse/ZBX-4476
    Zabbix 3.0 Network Monitoring book

    Comment

    • Pada
      Senior Member
      • Apr 2012
      • 236

      #3
      I usually just place the host into maintenance mode (for an hour) before I activate it.
      This is definitely not ideal and a quick way of doing it, but at least Zabbix is monitoring data, updating trigger states and of course not generating any actions (since I've configured my actions not to activate when the host is set in maintenance mode).

      Comment

      • Pada
        Senior Member
        • Apr 2012
        • 236

        #4
        Sorry for my previous post.

        What I've described above DID NOT work.

        I've just added a few hosts like that in v1.8.11 and then I still received a bunch of notifications.

        Comment

        Working...