docs: update example doc of configuration file
-[zabbix]
-; zabbix server address
-address = zabbix.server.ip
-; configured 'Host name' of client in zabbix
-client = localhost
-
+### required section
[postgres]
enabled = True
host = auto
@@ -12,9 +7,132 @@ database = postgres
port = 5432
query_timeout = 10
+### required section
+[zabbix]
+; zabbix server address
+address = zabbix.server.ip
+; configured 'Host name' of client in zabbix
+client = localhost
+port = 10051
+[sender]
+queue = 2048
+
+### required section
[system]
enabled = True
+### required section
[log]
file = /var/log/mamonsu/agent.log
level = INFO
+format = [%(levelname)s] %(asctime)s - %(name)s - %(message)s
+
+[agent]
+enabled = True
+host = 127.0.0.1
+port = 10052
+
+[plugins]
+enabled = False
+directory = /etc/mamonsu/plugins
+
+
+[metric_log]
+enabled = False
+directory = /var/log/mamonsu
+max_size_mb = 1024
+
+### individual plugin sections
+[health]
+max_memory_usage = 41943040
+interval = 60
+
+[bgwriter]
+interval = 60
+
+[connections]
+percent_connections_tr = 90
+interval = 60
+
+[databases]
+bloat_scale = 0.2
+min_rows = 50
+interval = 300
+
+[pghealth]
+uptime = 600
+cache = 80
+interval = 60
+
+[instance]
+interval = 60
+
+[xlog]
+lag_more_then_in_sec = 300
+interval = 60
+
+[pgstatstatement]
+interval = 60
+
+[pgbuffercache]
+interval = 60
+
+[pgwaitsampling]
+interval = 60
+
+[checkpoint]
+max_checkpoint_by_wal_in_hour = 12
+interval = 300
+
+[oldest]
+max_transaction_time = 18000
+max_xid_age = 18000000
+interval = 60
+
+[pglocks]
+interval = 60
+
+[cfs]
+force_enable = False
+interval = 60
+
+[archivecommand]
+max_count_files = 2
+interval = 60
+
+[procstat]
+interval = 60
+
+[diskstats]
+interval = 60
+
+[disksizes]
+vfs_percent_free = 10
+vfs_inode_percent_free = 10
+interval = 60
+
+[memory]
+interval = 60
+
+[systemuptime]
+up_time = 300
+interval = 60
+
+[openfiles]
+interval = 60
+
+[net]
+interval = 60
+
+[la]
+interval = 60
+
+[zbxsender]
+interval = 10
+
+[logsender]
+interval = 2
+
+[agentapi]
+interval = 60
+
