Werk #7107: mk_oracle: Support for custom credentials in custom_sqls
Komponente | Checks & agents |
Titel | mk_oracle: Support for custom credentials in custom_sqls |
Datum | 04.03.2019 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.6.0b1 |
Level | Kleine Änderung |
Klasse | Neues Feature |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
Dedicated credentials for each section in custom_sqls could be configured. The following parameters are valid:
my_custom_sql () {
SQLS_DBUSER=customuser
SQLS_DBPASSWORD=secretpwd
SQLS_DBSYSCONNECT=SYSDBA
SQLS_TNSALIAS=testdb123
These are the new parameters. SQLS_DBSYSCONNECT needs be set only if the user is sysdba or sysoper. Otherwise just skip this line.