Hi All,
I have created a patch for a modification made to the 1.6 release tarball which provides me with the ability to disable alerting of hosts whilst I have them down for maintenance actions.
How is this different from the maintenance mode built into zabbix already? The one built into zabbix is for the web interface so that you can perform maintenance on the zabbix server, where as my work permits maintenance actions to be performed on a monitored host without being bombarded by notifications which dont really need to be sent.
How does it work? Well, there are a couple of changes this patch affords to make it all work as I need. Firstly there is another integer value added to the hosts table in the database called maintenance. This is used to store the hosts maintenance state. Following this is some additions to the configuration->hosts screen in the GUI. These additions provide the administrator the ability to interact with the added database column. Finally there are a number of similar changes to the zabbix server process to both retrieve and check the flag stored in the DB. Dependant on the state of the flag status when retrieving monitored parameters from a given host the server in its modified form may not process the values to re-evaluate the triggers of the host.
I would like to propose that this patch be included into the current development effort for inclusion in the next stable release. Also I would be interested to hear back from anyone who actually uses it or has suggestions to improvements I could make to this patch.
I would also like to take this opportunity to congratulate Alexei and team on the quality of the internal API which has made this patch so easy to implement.
Cheers,
Brian.
I have created a patch for a modification made to the 1.6 release tarball which provides me with the ability to disable alerting of hosts whilst I have them down for maintenance actions.
How is this different from the maintenance mode built into zabbix already? The one built into zabbix is for the web interface so that you can perform maintenance on the zabbix server, where as my work permits maintenance actions to be performed on a monitored host without being bombarded by notifications which dont really need to be sent.
How does it work? Well, there are a couple of changes this patch affords to make it all work as I need. Firstly there is another integer value added to the hosts table in the database called maintenance. This is used to store the hosts maintenance state. Following this is some additions to the configuration->hosts screen in the GUI. These additions provide the administrator the ability to interact with the added database column. Finally there are a number of similar changes to the zabbix server process to both retrieve and check the flag stored in the DB. Dependant on the state of the flag status when retrieving monitored parameters from a given host the server in its modified form may not process the values to re-evaluate the triggers of the host.
I would like to propose that this patch be included into the current development effort for inclusion in the next stable release. Also I would be interested to hear back from anyone who actually uses it or has suggestions to improvements I could make to this patch.
I would also like to take this opportunity to congratulate Alexei and team on the quality of the internal API which has made this patch so easy to implement.
Cheers,
Brian.

and I should say not the easiest one.
Comment