A plugin (monitoring-plugin, not nagios-plugin, see also http://is.gd/PP1330) which checks various parameters of Oracle database servers. (We also offer trainings: http://www.consol.de/open-source-monitoring/schulungen/workshops/#datenbank-monitoring)
I'd like to ask about possibility to build-up the connection string out of provided HOST, PORT and SID command line options instead (or better: in addition to) of specifying the connection string using the --connect option.
I mean, e.g. when specified:
./check_oracle_health --username 'nagios' --password 'oradbmon' --host localhost --port 1521 --SID ORA --mode tnsping
The --connect would be build-up like '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST='.$params{host}.')(PORT='.$params{port}.')))(CONNECT_DATA=(SID='.$params{SID}.')))' instead of warning to provide database name.
Hello,
I'd like to ask about possibility to build-up the connection string out of provided HOST, PORT and SID command line options instead (or better: in addition to) of specifying the connection string using the
--connect
option. I mean, e.g. when specified:./check_oracle_health --username 'nagios' --password 'oradbmon' --host localhost --port 1521 --SID ORA --mode tnsping
The
--connect
would be build-up like'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST='.$params{host}.')(PORT='.$params{port}.')))(CONNECT_DATA=(SID='.$params{SID}.')))'
instead of warning to provide database name.Thanks.