Releases: postgrespro/mamonsu
3.5.9
3.5.8
3.5.7
3.5.6
3.5.5
3.5.4
3.5.3
Changelog
- removed the owner check for the mamonsu agent.conf file (previously this was not flexible and only required the user "mamonsu")
- removed metrics that conflict with the native Zabbix agent metrics (only in agent mode, in regular mode it works as usual)
- added pg_stat_wal queries for native Zabbix agent
- fixed native Zabbix agent queries
3.5.2
Changelog
- fixed Statements plugin list of metrics creation
- fixed Zabbix API requests to fit new Dashboard Template section rules
- fixed Replication plugin metrics - null values are now taken into account
- added new autovacuum utilization metrics: instant and average per 5, 15 and 30 minutes
- moved plugin custom parameters to Zabbix Macros
Zabbix Macros
Now you can set up mamonsu plugins dynamically using Zabbix Macros. List of available macros:
- {$ARCHIVE_QUEUE_FILES}
- {$CACHE_HIT_RATIO_PERCENT}
- {$CONNECTIONS_PERCENT}
- {$CRITICAL_LAG_SECONDS}
- {$MAMONSU_MAX_MEMORY_USAGE}
- {$MAX_CHECKPOINT_BY_WAL_IN_HOUR}
- {$MAX_TRANSACTION_TIME}
- {$MAX_PREPARED_TRANSACTION_TIME}
- {$MAX_XID_AGE}
- {$PG_UPTIME}
- {$SYSTEM_UPTIME}
- {$VFS_INODE_PERCENT_FREE}
- {$VFS_PERCENT_FREE}
autovacuum utilization
Added new metrics: instant autovacuum utilization and average autovacuum utilization per 5, 15 and 30 minutes
Name | PostgreSQL Autovacuum: Utilization per [MAMONSU_INTERVAL] seconds |
---|---|
Key | pgsql.autovacumm.utilization[] |
Type | Numeric (float) |
Units | |
Delta | As Is |
Supported Version | 9.5+ |
Name | PostgreSQL Autovacuum: Utilization per 5 minutes |
---|---|
Key | pgsql.autovacumm.utilization.avg5[] |
Type | Numeric (float) |
Units | |
Delta | As Is |
Supported Version | 9.5+ |
Name | PostgreSQL Autovacuum: Utilization per 15 minutes |
---|---|
Key | pgsql.autovacumm.utilization.avg15[] |
Type | Numeric (float) |
Units | |
Delta | As Is |
Supported Version | 9.5+ |
Name | PostgreSQL Autovacuum: Utilization per 30 minutes |
---|---|
Key | pgsql.autovacumm.utilization.avg30[] |
Type | Numeric (float) |
Units | |
Delta | As Is |
Supported Version | 9.5+ |
3.5.1
3.5.0
Changelog
- divided Instance Rate graph into two graphs - Blocks Rate, Transactions Rate
- divided XLOG plugin into two plugins - WAL, Replication
- changed pg_wait_sampling plugin name to Wait Sampling
- changed pg_stat_statements plugin name to Statements
- changed default agent.conf file permissions: now it read/write only for mamonsu user
- added new Replication plugin metrics: Send Lag, Receive Lag
- added pgpro_stats support to PostgresPro cluster (automatic switch from pg_stat_statements and pg_wait_sampling)
- added new bootstrap features: now the '-x' option also configures pg_stat_statements, pg_wait_sampling and pgpro_stats extensions
- added custom schema check for pg_stat_statements, pg_wait_sampling and pgpro_stats extensions
- added new lock types to the Wait Sampling plugin to fit PostgreSQL 10+: Extension Locks, Client Locks, Other Locks (e.g. IPC Timeout IO), Autovacuum Locks, Logical Replication Locks
- added new System Free/Used Memory graph
- added new active locking queries feature to the report tool
- replaced System Memory Overview graph with System Free/Used Memory in dashboards
- fixed Statements plugin items generation for native zabbix agent
- fixed Rollbacks item delta type
- fixed WAL metrics delta types
- fixed PostgreSQL Uptime trigger
- improved Replication metrics evaluation algorithm
- unified Zabbix objects names
- unified config file sections and parameters names
- set new color scheme
pgpro_stats support
By default mamonsu uses pg_stat_statements and pg_wait_samplings in plugins Statements and Wait Sampling. These extensions need to be installed additionally via shared_preload_libraries
. But if mamonsu detects PostgresPro instead of vanilla PostgreSQL, it switched automatically to pgpro_stats for both plugins. This is more convenient because pgpro_stats is going by default with PostgresPro.
agent.conf permissions
Now by default mamonsu sets for agent.conf the following permissions:
permissions user group
-rw------- mamonsu mamonsu jun 16 12:21 agent.conf
new report feature
With other PostgreSQL stats, report now evaluates information about current locks:
$ mamonsu report --run-system --run-postgres -U mamonsu
<...>
# CURRENT LOCKS ##################################
blocked_pid database blocked_user blocking_pid blocking_user blocked_statement duration
49934 mamonsu_test_db postgres 91741 postgres update mamonsu_logs set value = 0 where value = 3; 0:00:35.199513
NOTE: objects new names
Pay attention to new Zabbix template object names. All mamonsu objects have been unified in template representation, so you should update the template carefully. For example, PostgreSQL: number of user total connections
switched to PostgreSQL Connections: Number of Total User Connections
. All changes are shown in documentation.