1+ # This is a configuration file for mamonsu
2+ # To get more information about mamonsu, visit https://postgrespro.ru/docs/postgrespro/12/mamonsu
3+
4+ ######### Connection parameters sections ##############
5+
6+ # specify connection parameters for the Postgres cluster
7+ # in the user, password, and database fields, you must specify the mamonsu_user, mamonsu_password,
8+ # and the mamonsu_database used for bootstrap, respectively.
9+ # if you skipped the bootstrap, specify a superuser credentials and the database to connect to.
10+
111[postgres]
212enabled = True
313user = postgres
@@ -8,37 +18,62 @@ port = 5432
818application_name = mamonsu
919query_timeout = 10
1020
21+ # the address field must point to the running Zabbix server, while the client field must provide the name of
22+ # the Zabbix host. You can find the list of hosts available for your account in the Zabbix web
23+ # interface under Configuration > Hosts.
24+
25+ [zabbix]
26+ enabled = True
27+ client = localhost
28+ address = 127.0.0.1
29+ port = 10051
30+
31+ ######### General parameters sections ############
32+
33+ # enable or disable collection of system metrics.
34+
1135[system]
1236enabled = True
1337
38+ # control the queue size of the data to be sent to the Zabbix server
39+
1440[sender]
1541queue = 2048
1642
43+ # specify the location of mamonsu and whether it is allowed to access metrics from the command line
44+
1745[agent]
1846enabled = True
1947host = 127.0.0.1
2048port = 10052
2149
50+ # specify custom plugins to be added for metrics collection
51+
2252[plugins]
2353enabled = False
2454directory = /etc/mamonsu/plugins
2555
26- [zabbix]
27- enabled = True
28- client = localhost
29- address = 127.0.0.1
30- port = 10051
56+ # enable storing the collected metric data in text files locally.
3157
3258[metric_log]
3359enabled = False
3460directory = /var/log/mamonsu
3561max_size_mb = 1024
3662
63+ # specify logging settings for mamonsu
64+
3765[log]
3866file = None
3967level = INFO
4068format = [%(levelname)s] %(asctime)s - %(name)s - %(message)s
4169
70+ ######### Individual Plugin Sections ############
71+
72+ # to disable any plugin set the enabled option to False.
73+ # modify collection interval for each plugin in the interval field.
74+ # set customer parameters for some plugins in the individual section.
75+ # below listed all available parameters for each plugin to modify.
76+
4277[health]
4378max_memory_usage = 41943040
4479interval = 60
0 commit comments