This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.
Table of Contents

2 Configuration

In order to enable maintenance mode, file conf/maintenance.conf.php must be modified to uncomment the following lines:

// Maintenance mode
       define('ZBX_DENY_GUI_ACCESS',1);
       
       // IP range, who allowed to connect to FrontEnd
       $ZBX_GUI_ACCESS_IP_RANGE = array('127.0.0.1');
       
       // MSG showed on Warning screen!
       $_REQUEST['warning_msg'] = 'Zabbix is under maintenance.';
Parameter Details
ZBX_DENY_GUI_ACCESS Enable maintenance mode:
1 – maintenance mode is enabled, disabled otherwise
ZBX_GUI_ACCESS_IP_RANGE Connections from these IP addresses will be allowed with no maintenance mode.
For example:
192.168.1.1-255
warning_msg Informative message.