style : changed configuration file style, added comments for options
+# This is a configuration file for mamonsu
+# To get more information about mamonsu, visit https://postgrespro.ru/docs/postgrespro/12/mamonsu
+
+######### Connection parameters sections ##############
+
+# specify connection parameters for the Postgres cluster
+# in the user, password, and database fields, you must specify the mamonsu_user, mamonsu_password,
+# and the mamonsu_database used for bootstrap, respectively.
+# if you skipped the bootstrap, specify a superuser credentials and the database to connect to.
+
[postgres]
enabled = True
user = postgres
@@ -8,37 +18,62 @@ port = 5432
application_name = mamonsu
query_timeout = 10
+# the address field must point to the running Zabbix server, while the client field must provide the name of
+# the Zabbix host. You can find the list of hosts available for your account in the Zabbix web
+# interface under Configuration > Hosts.
+
+[zabbix]
+enabled = True
+client = localhost
+address = 127.0.0.1
+port = 10051
+
+######### General parameters sections ############
+
+# enable or disable collection of system metrics.
+
[system]
enabled = True
+# control the queue size of the data to be sent to the Zabbix server
+
[sender]
queue = 2048
+# specify the location of mamonsu and whether it is allowed to access metrics from the command line
+
[agent]
enabled = True
host = 127.0.0.1
port = 10052
+# specify custom plugins to be added for metrics collection
+
[plugins]
enabled = False
directory = /etc/mamonsu/plugins
-[zabbix]
-enabled = True
-client = localhost
-address = 127.0.0.1
-port = 10051
+# enable storing the collected metric data in text files locally.
[metric_log]
enabled = False
directory = /var/log/mamonsu
max_size_mb = 1024
+# specify logging settings for mamonsu
+
[log]
file = None
level = INFO
format = [%(levelname)s] %(asctime)s - %(name)s - %(message)s
+######### Individual Plugin Sections ############
+
+# to disable any plugin set the enabled option to False.
+# modify collection interval for each plugin in the interval field.
+# set customer parameters for some plugins in the individual section.
+# below listed all available parameters for each plugin to modify.
+
[health]
max_memory_usage = 41943040
interval = 60
