I'm trying to use Zabbix agent 2 to monitor a postgres 15 installation on an Oracle Linuz 7 but the Zabbix agent tells me that the item is not supported.
The installed packages on the host:
The test I'm doing:
psql works for that user:
That's all I can think of now. Am I doing something wrong? A missing step, perhaps?
The installed packages on the host:
Code:
# yum list installed "zabbix*" Plugins carregados: rhnplugin, ulninfo This system is receiving updates from RHN Classic or Red Hat Satellite. Installed packages zabbix-agent2.x86_64 6.0.29-release1.el7 @ol7_zabbix6_agent2 zabbix-agent2-plugin-mongodb.x86_64 6.0.29-release1.el7 @ol7_zabbix6_agent2 zabbix-agent2-plugin-postgresql.x86_64 6.0.29-release1.el7 @ol7_zabbix6_agent2
Code:
# zabbix_agent2 -t 'pgsql.version["tcp://localhost:5432","zbx_monitor","<password>"]' pgsql.version["tcp://localhost:5432","zbx_monitor","password"][m|ZBX_NOTSUPPORTED] [Unknown metric pgsql.version]
Code:
# psql -h 127.0.0.1 -U zbx_monitor postgres Password for user zbx_monitor: psql (15.7) Type "help" for help. postgres=> \q
Comment