forked from ria-ee/X-Road-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metrics.cfg_local_example
46 lines (37 loc) · 1.44 KB
/
metrics.cfg_local_example
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
# An example for collecting data from local Security Server.
# Note that Collection of Environmental monitoring is allowed only for
# central monitoring client and owner of Security Server.
# Leave MONITORING_CLIENT_SUBSYSTEM empty and use the correct MEMBER
# identifier of the owner of local Security Server to collect
# Environmental monitoring data from that Server.
[metrics]
# Debug levels: 0 = Errors only; 1 = Simple debug; 2 = Detailed debug;
# 3 = Debug py-zabbix (use with thread_count=1).
debug = 1
# Zabbix configuration
# Hostname + port of Zabbix API
zabbix_url = https://myzabbix.server/
# Zabbix sender port (hostname will be taken from "zabbix_url")
zabbix_sender_port = 10051
zabbix_user = ZABBIX_USER
zabbix_pass = ZABBIX_PASS
# EnvMon template configuration
envmon_template_id = 10242
envmon_template_name = X-Road Environmental monitoring
# Security server URL used by Central monitoring:
server_url = https://xrd1.ss.dns
# Path to TLS certificate and key in case when Security Server requires
# TLS authentication
tls_cert = certs/my.crt
tls_key = certs/my.key
# Client subsystem/member that performs health data collection:
monitoring_client_inst = INST
monitoring_client_class = GOV
monitoring_client_member = 00000001
monitoring_client_subsystem =
# How many threads to use for data querying.
thread_count = 1
# Timeout for http requests
timeout = 15.0
# List of servers to collect data from
servers = INST/GOV/00000001/00000001_1/xrd1.ss.dns