1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
[api]
url = "https://zabbix.example.com"
username = "Admin"
password = ""
verify_ssl = true
auth_token = ""
[app]
use_session_file = true
auth_token_file = "/path/to/auth_token_file"
auth_file = "/path/to/auth_file"
history = true
history_file = "/path/to/history_file"
allow_insecure_auth_file = true
legacy_json_format = false
# Deprecated (replaced by [app.commands.*] sections)
default_hostgroups = ["All-hosts"]
default_admin_usergroups = []
default_create_user_usergroups = []
default_notification_users_usergroups = ["All-notification-users"]
export_directory = "/path/to/exports"
export_format = "json"
export_timestamps = false
[app.commands.create_host]
create_interface = true
hostgroups = ["All-hosts"]
[app.commands.create_hostgroup]
ro_groups = []
rw_groups = []
[app.commands.create_notification_user]
usergroups = ["All-notification-users"]
[app.commands.create_templategroup]
ro_groups = []
rw_groups = []
[app.commands.create_user]
usergroups = []
[app.commands.export]
directory = "/path/to/exports"
format = "json"
timestamps = false
# Shared fallback for create_{host,template}group commands
[app.commands.create_group]
ro_groups = []
rw_groups = []
[app.output]
format = "table"
color = true
paging = false
[logging]
enabled = true
log_level = "ERROR"
log_file = "/path/to/log_file"
|