43 lines
2.4 KiB
Plaintext
43 lines
2.4 KiB
Plaintext
## 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 = '0.0.0.0: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_dns_server = 8.8.8.8 # The DNS server to be used for the bandwidth test connectivity check
|
|
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 = False # Fetch metrics from multiple routers in parallel / sequentially
|
|
max_worker_threads = 5 # 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)
|
|
http_server_threads = 16 # Number of worker threads for the HTTP server
|
|
|
|
persistent_router_connection_pool = True # Use a persistent router connections pool between scrapes
|
|
persistent_dhcp_cache = True # Persist DHCP cache between metric collections
|
|
compact_default_conf_values = False # Compact mktxp.conf, so only specific values are kept on the individual routers' level
|
|
prometheus_headers_deduplication = False # Deduplicate Prometheus HELP / TYPE headers in the metrics output
|
|
|
|
probe_connection_pool = False # Enable probe-only connection reuse keyed by module+target
|
|
probe_connection_pool_ttl = 300 # Probe connection TTL in seconds
|
|
probe_connection_pool_max_size = 128 # Max number of probe connections to keep
|