Zabbix Documentation 1.8

2.23.03.4In development:4.0Unsupported versions:1.82.02.43.2

User Tools

Site Tools


Sidebar

manual:maintenance_mode_for_gui

16 Maintenance mode for Zabbix GUI

Zabbix GUI can be temporarily disabled in order to prohibit access to the front-end. This can be useful for protection of Zabbix database from any changes initiated by users, thus protecting integrity of database.

Zabbix database can be stopped while Zabbix GUI is in the maintenance mode.

1 Goals

There are several goals of the maintenance mode:

  • Protect Zabbix database from any changes initiated by users
  • Perform database maintenance
  • Inform users about reason of the maintenance work
  • Users from a range of IP addresses will be able to work with the GUI during the maintenance mode normally
  • Automatic return to normal mode when maintenance is over
2009/08/13 13:32 · richlv

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.';
ParameterDetails
ZBX_DENY_GUI_ACCESSEnable maintenance mode:
1 – maintenance mode is enabled, disabled otherwise
ZBX_GUI_ACCESS_IP_RANGEConnections from these IP addresses will be allowed with no maintenance mode.
For example:
192.168.1.1-255
warning_msgInformative message.
2009/08/13 13:34 · richlv

3 How it looks like

The following screen will be displayed while in maintenance mode. The screen is refreshed every 30 seconds in order to return to normal state withiout user intervention when maintenance is over.

2009/08/13 13:35 · richlv