lesovsky / zabbix-extensions

Zabbix additional monitoring modules
BSD 3-Clause "New" or "Revised" License
316 stars 230 forks source link

databases discovery strange behavior #66

Closed ddmo closed 5 years ago

ddmo commented 5 years ago

Hi, I've a strange behavior with databases discovery rule. This is my {$PG_CONNINFO}: -h 192.168.xxx.xxx -p 5432 -U zabbix

The rule discover only zabbix database but, by command line, with the follow command I get all databases:

zabbix_get -s 192.168.xxx.xxx -k pgsql.db.discovery[-h 192.168.xxx.xxx -p 5432 -U zabbix]

So, why I get this difference from command line and dashboard? Thanks a lot

ddmo commented 5 years ago

Mmm... I change now the {$PG_DATABASE_DISCOVERYFILTER} parameter from (zabbix|db.) to ()...

ddmo commented 5 years ago

Ok, I've resolved setting $PG_DATABASE_DISCOVERY_FILTER to null.