Sidebar

manual:api:reference:settings:object

> Settings object

The following object are directly related to the settings API.

Settings

The settings object has the following properties.

Property Type Description
default_lang string System language by default.

Default: en_GB.
default_timezone string System time zone by default.

Default: system - system default.

For the full list of supported time zones please refer to PHP documentation.
default_theme string ​Default theme.

Possible values:
blue-theme - (default) Blue;
dark-theme - Dark;
hc-light - High-contrast light;
hc-dark - High-contrast dark.
search_limit integer ​Limit for search and filter results.

Default: 1000.
max_overview_table_size integer Max number of columns and rows in overview tables.

Default: 50.
max_in_table integer Max count of elements to show inside table cell.

Default: 50.
server_check_interval integer Show warning if Zabbix server is down.

Possible values:
0 - Do not show warning;
10 - (default) Show warning.
work_period string Working time.

Default: 1-5,09:00-18:00.
show_technical_errors integer Show technical errors (PHP/SQL) to non-Super admin users and to users that are not part of user groups with debug mode enabled.

Possible values:
0 - (default) Do not technical errors;
1 - Show technical errors.
history_period string Max period to display history data in Latest data, Web, Overview pages and Data overview screen. Accepts seconds and time unit with suffix.

Default: 24h.
period_default string Time filter default period. Accepts seconds and time unit with suffix with month and year support (30s,1m,2h,1d,1M,1y).

Default: 1h.
max_period string ​Max period for time filter. Accepts seconds and time unit with suffix with month and year support (30s,1m,2h,1d,1M,1y).

Default: 2y.
severity_color_0 string ​Color for “Not classified” severity as a hexadecimal color code.

Default: 97AAB3.
severity_color_1 string Color for “Information” severity as a hexadecimal color code.

Default: 7499FF.
severity_color_2 string Color for “Warning” severity as a hexadecimal color code.

Default: FFC859.
severity_color_3 string ​Color for “Average” severity as a hexadecimal color code.

Default: FFA059.
severity_color_4 string ​Color for “High” severity as a hexadecimal color code.

Default: E97659.
severity_color_5 string ​Color for “Disaster” severity as a hexadecimal color code.

Default: E45959.
severity_name_0 string ​Name for “Not classified” severity.

Default: Not classified.
severity_name_1 string ​Name for “Information” severity.

Default: Information.
severity_name_2 string ​Name for “Warning” severity.

Default: Warning.
severity_name_3 string ​Name for “Average” severity.

Default: Average.
severity_name_4 string ​Name for “High” severity.

Default: High.
severity_name_5 string Name for “Disaster” severity.

Default: Disaster.
custom_color integer Use custom event status colors.

Possible values:
0 - (default) Do not use custom event status colors;
1 - Use custom event status colors.
ok_period string Display OK triggers period. Accepts seconds and time unit with suffix.

Default: 5m.
blink_period string On status change triggers blink period. Accepts seconds and time unit with suffix.

Default: 2m.
problem_unack_color string Color for unacknowledged PROBLEM events as a hexadecimal color code.

Default: CC0000.
problem_ack_color string Color for acknowledged PROBLEM events as a hexadecimal color code.

Default: CC0000.
ok_unack_color string Color for unacknowledged RESOLVED events as a hexadecimal color code.

Default: 009900.
ok_ack_color string Color for acknowledged RESOLVED events as a hexadecimal color code.

Default: 009900.
problem_unack_style integer Blinking for unacknowledged PROBLEM events.

Possible values:
0 - Do not show blinking;
1 - (default) Show blinking.
problem_ack_style integer Blinking for acknowledged PROBLEM events.

Possible values:
0 - Do not show blinking;
1 - (default) Show blinking.
ok_unack_style integer Blinking for unacknowledged RESOLVED events.

Possible values:
0 - Do not show blinking;
1 - (default) Show blinking.
ok_ack_style integer Blinking for acknowledged RESOLVED events.

Possible values:
0 - Do not show blinking;
1 - (default) Show blinking.
discovery_groupid integer ID of the host group to which will be automatically placed discovered hosts.
default_inventory_mode integer Default host inventory mode.

Possible values:
-1 - (default) Disabled;
0 - Manual;
1 - Automatic.
alert_usrgrpid integer ID of the user group to which will be sending database down alarm message. If set to empty, the alarm message will not sent.
snmptrap_logging integer Log unmatched SNMP traps.

Possible values:
0 - Do not log unmatched SNMP traps;
1 - (default) Log unmatched SNMP traps.
login_attempts integer Number of failed login attempts after which login form will be blocked.

Default: 5.
login_block string Time interval during which login form will be blocked if number of failed login attempts exceeds defined in login_attempts field. Accepts seconds and time unit with suffix.

Default: 30s.
validate_uri_schemes integer Validate URI schemes.

Possible values:
0 - Do not validate;
1 - (default) Validate.
uri_valid_schemes string Valid URI schemes.

Default: http,https,ftp,file,mailto,tel,ssh.
x_frame_options string X-Frame-Options HTTP header.

Default: SAMEORIGIN.
iframe_sandboxing_enabled integer Use iframe sandboxing.

Possible values:
0 - Do not use;
1 - (default) Use.
iframe_sandboxing_exceptions string Iframe sandboxing exceptions.
connect_timeout string Connection timeout with Zabbix server.

Default: 3s.
socket_timeout string Network default timeout.

Default: 3s.
media_type_test_timeout string Network timeout for media type test.

Default: 65s.
item_test_timeout string Network timeout for item tests.

Default: 60s.
script_timeout string Network timeout for script execution.

Default: 60s.
session_key string Secret key to sign session data.

Default: ''.

Note: This property has been removed since Zabbix 5.2.3.