mktxp 1.2.4 sync

This commit is contained in:
Arseniy Kuznetsov
2024-03-19 14:49:20 +01:00
parent 58a4a6743d
commit 0e5c5ff336
2 changed files with 20 additions and 11 deletions
+7 -6
View File
@@ -12,21 +12,22 @@
[MKTXP] [MKTXP]
port = 49090 listen = '0.0.0.0:49090' # Space separated list of socket addresses to listen to, both IPV4 and IPV6
socket_timeout = 2 socket_timeout = 2
initial_delay_on_failure = 120 initial_delay_on_failure = 120
max_delay_on_failure = 900 max_delay_on_failure = 900
delay_inc_div = 5 delay_inc_div = 5
bandwidth = True # Turns metrics bandwidth metrics collection on / off bandwidth = False # Turns metrics bandwidth metrics collection on / off
bandwidth_test_interval = 420 # Interval for colllecting bandwidth metrics bandwidth_test_interval = 600 # Interval for collecting bandwidth metrics
minimal_collect_interval = 5 # Minimal metric collection interval minimal_collect_interval = 5 # Minimal metric collection interval
verbose_mode = False # Set it on for troubleshooting verbose_mode = False # Set it on for troubleshooting
fetch_routers_in_parallel = False # Set to True if you want to fetch multiple routers parallel fetch_routers_in_parallel = False # Set to True if you want to fetch multiple routers parallel
max_worker_threads = 5 # Max number of worker threads that can fetch routers. Meaningless if fetch_routers_in_parallel is set to False max_worker_threads = 5 # Max number of worker threads that can fetch routers (parallel fetch only)
max_scrape_duration = 10 # Max duration of individual routers' metrics collection (parallel fetch only)
total_max_scrape_duration = 30 # Max overall duration of all metrics collection (parallel fetch only)
max_scrape_duration = 10 # Max duration of individual routers' metrics collection compact_default_conf_values = False # Compact mktxp.conf, so only specific values are kept on the individual routers' level
total_max_scrape_duration = 30 # Max overall duration of all metrics collection
+9 -1
View File
@@ -1,4 +1,5 @@
## Copyright (c) 2020 Arseniy Kuznetsov ## Copyright (c) 2020 Arseniy Kuznetsov
## Copyright (c) 2020 Arseniy Kuznetsov
## ##
## This program is free software; you can redistribute it and/or ## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License ## modify it under the terms of the GNU General Public License
@@ -12,8 +13,13 @@
[Sample-Router] [Sample-Router]
enabled = False # turns metrics collection for this RouterOS device on / off # for specific configuration on the router level, change here the defaults values from below
hostname = 192.168.88.1
[default]
# this affects configuration of all routers, unless overloaded on their specific levels
enabled = True # turns metrics collection for this RouterOS device on / off
hostname = localhost # RouterOS IP address hostname = localhost # RouterOS IP address
port = 8728 # RouterOS IP Port port = 8728 # RouterOS IP Port
@@ -53,6 +59,8 @@
user = True # Active Users metrics user = True # Active Users metrics
queue = True # Queues metrics queue = True # Queues metrics
bgp = False # BGP sessions metrics
remote_dhcp_entry = None # An MKTXP entry for remote DHCP info resolution (capsman/wireless) remote_dhcp_entry = None # An MKTXP entry for remote DHCP info resolution (capsman/wireless)
use_comments_over_names = True # when available, forces using comments over the interfaces names use_comments_over_names = True # when available, forces using comments over the interfaces names