Skip to content

Commit a0454f7

Browse files
committed
feature: added new config parameter 'zabbix.timeout'
1 parent 30b55e0 commit a0454f7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

github-actions-tests/sources/agent_3.2.1.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ enabled = True
2828
client = pg-master
2929
address = 127.0.0.1
3030
port = 10051
31+
timeout = 15
3132
re_send = False
3233

3334
######### General parameters sections ############
@@ -212,4 +213,4 @@ interval = 300
212213
[memoryleakdiagnostic]
213214
enabled = False
214215
interval = 60
215-
private_anon_mem_threshold = 1GB
216+
private_anon_mem_threshold = 1GB

mamonsu/lib/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def __init__(self, cfg_file=None, plugin_directories=None):
5252
config.set('zabbix', 'client', socket.gethostname())
5353
config.set('zabbix', 'address', '127.0.0.1')
5454
config.set('zabbix', 'port', str(10051))
55+
config.set('zabbix', 'timeout', str(15))
5556
config.set('zabbix', 're_send', str(False))
5657

5758
config.add_section('metric_log')

0 commit comments

Comments
 (0)