34 lines
1.7 KiB
Plaintext
34 lines
1.7 KiB
Plaintext
# https://github.com/akpw/mktxp/blob/main/mktxp/cli/config/_mktxp.conf
|
|
## Copyright (c) 2020 Arseniy Kuznetsov
|
|
##
|
|
## This program is free software; you can redistribute it and/or
|
|
## modify it under the terms of the GNU General Public License
|
|
## as published by the Free Software Foundation; either version 2
|
|
## of the License, or (at your option) any later version.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
|
|
[MKTXP]
|
|
listen = '*:49090' # Space separated list of socket addresses to listen to, both IPV4 and IPV6
|
|
socket_timeout = 5
|
|
|
|
initial_delay_on_failure = 120
|
|
max_delay_on_failure = 900
|
|
delay_inc_div = 5
|
|
|
|
bandwidth = False # Turns metrics bandwidth metrics collection on / off
|
|
bandwidth_test_interval = 600 # Interval for collecting bandwidth metrics
|
|
minimal_collect_interval = 5 # Minimal metric collection interval
|
|
|
|
verbose_mode = False # Set it on for troubleshooting
|
|
|
|
fetch_routers_in_parallel = True # Fetch metrics from multiple routers in parallel / sequentially
|
|
max_worker_threads = 3 # Max number of worker threads that can fetch routers (parallel fetch only)
|
|
max_scrape_duration = 30 # Max duration of individual routers' metrics collection (parallel fetch only)
|
|
total_max_scrape_duration = 90 # Max overall duration of all metrics collection (parallel fetch only)
|
|
|
|
compact_default_conf_values = False # Compact mktxp.conf, so only specific values are kept on the individual routers' level
|