[ZBX-6128] Clarify behaviour of action condition "Maintenance status", having a trigger expression that involves multiple hosts Created: 2013 Jan 15  Updated: 2017 May 30  Resolved: 2013 Feb 26

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D)
Affects Version/s: None
Fix Version/s: 2.0.6, 2.1.0

Type: Incident report Priority: Trivial
Reporter: Volker Fröhlich Assignee: Martins Valkovskis
Resolution: Fixed Votes: 0
Labels: documentation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

https://www.zabbix.com/documentation/2.0/manual/config/notifications/action/conditions currently has:

"""
Maintenance status | in, not in |
Specify a host in maintenance or not in maintenance.
in - host is in maintenance mode.
not in - host is not in maintenance mode.
"""

This leaves room for speculation, what's going to happen, when multiple hosts are involved, some of them being in maintenance and others not.

I found the behaviour to be the following:

in: If at least one of the hosts IS in maintenance, the condition matches
not in: If at least one of the hosts IS NOT in maintenance, the condition matches



 Comments   
Comment by Martins Valkovskis [ 2013 Feb 26 ]

Thanks, the maintenance condition behaviour with multiple hosts in the trigger described at:

https://www.zabbix.com/documentation/2.0/manual/config/notifications/action/conditions
https://www.zabbix.com/documentation/2.2/manual/config/notifications/action/conditions

Comment by richlv [ 2014 Jun 25 ]

looks good to me, closing

Generated at Thu Apr 10 12:31:14 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.