File tree Expand file tree Collapse file tree 6 files changed +58
-8090
lines changed
mamonsu/plugins/system/linux Expand file tree Collapse file tree 6 files changed +58
-8090
lines changed Original file line number Diff line number Diff line change 22from mamonsu .plugins .system .plugin import SystemPlugin as Plugin
33
44
5- # PATH = "/etc/zabbix/scripts/agentd/zapgix"
65
76
87class DiskSizes (Plugin ):
Original file line number Diff line number Diff line change 11import re
22from mamonsu .plugins .system .plugin import SystemPlugin as Plugin
33
4- #PATH = "/etc/zabbix/scripts/agentd/zapgix"
4+
55
66
77class DiskStats (Plugin ):
Original file line number Diff line number Diff line change 11from mamonsu .plugins .system .plugin import SystemPlugin as Plugin
22
3- #PATH = "/etc/zabbix/scripts/agentd/zapgix"
3+
44
55
66class Net (Plugin ):
Original file line number Diff line number Diff line change 1- ### required section
21[postgres]
32enabled = True
4- host = auto
53user = postgres
4+ password = None
65database = postgres
6+ host = localhost
77port = 5432
8+ application_name = mamonsu
89query_timeout = 10
910
10- ### required section
11- [zabbix]
12- ; zabbix server address
13- address = zabbix.server.ip
14- ; configured 'Host name' of client in zabbix
15- client = localhost
16- port = 10051
17- [sender]
18- queue = 2048
19-
20- ### required section
2111[system]
2212enabled = True
2313
24- ### required section
25- [log]
26- file = /var/log/mamonsu/agent.log
27- level = INFO
28- format = [%(levelname)s] %(asctime)s - %(name)s - %(message)s
14+ [sender]
15+ queue = 2048
2916
3017[agent]
3118enabled = True
@@ -36,13 +23,22 @@ port = 10052
3623enabled = False
3724directory = /etc/mamonsu/plugins
3825
26+ [zabbix]
27+ enabled = True
28+ client = dvilova-All-Series
29+ address = 127.0.0.1
30+ port = 10051
3931
4032[metric_log]
4133enabled = False
4234directory = /var/log/mamonsu
4335max_size_mb = 1024
4436
45- ### individual plugin sections
37+ [log]
38+ file = None
39+ level = INFO
40+ format = [%(levelname)s] %(asctime)s - %(name)s - %(message)s
41+
4642[health]
4743max_memory_usage = 41943040
4844interval = 60
@@ -85,8 +81,8 @@ max_checkpoint_by_wal_in_hour = 12
8581interval = 300
8682
8783[oldest]
88- max_transaction_time = 18000
8984max_xid_age = 18000000
85+ max_query_time = 18000
9086interval = 60
9187
9288[pglocks]
You can’t perform that action at this time.
0 commit comments