-
New Feature Request
-
Resolution: Fixed
-
Major
-
2.0.9
-
Ubuntu 12.04
-
Sprint 61 (Feb 2020), Sprint 62 (Mar 2020)
-
1
Database monitor item types use ODBC as described in "ODBC monitoring" at https://www.zabbix.com/documentation/2.0/manual/config/items/itemtypes/odbc_checks
Everything in the docs suggest that in order to query a database it must first be defined in the odbc.ini file (usually located in /etc/odbc.ini). This seems to go against the otherwise self-contained nature of Zabbix, particularly host auto discovery and LLD.
My use case is:
- LLD rule that runs against a host to get a list of databases
- Run a set of stored procedures on each of the databases (using ODBC)
- Alerts based on return values, etc.
The feature request is therefore that DSNs can be fully defined within Zabbix - e.g. hostname, database, username, password and connector (defined in odbcinst.ini).
- is duplicated by
-
ZBXNEXT-2303 Database monitor items without DSN in odbc.ini
- Closed