Oracle Database Monitoring with SYSDBA

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Oracle Database Monitoring with SYSDBA

Post by hoegh »

Can we connect as the user and invoke the AS SYSDBA Privilege as we are trying to connect on the standby oracle database on mount mode not open mode.

This is the current plug -in we are using
check_oracle_health

and this is the current command

Code: Select all

[[email protected] ~]$ source /usr/local/nagiosxi/etc/configwizards/oracle/oracle && /usr/local/nagios/libexec/check_oracle_health --connect "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.202.23.113)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=compellocdb_dr.lhc4net.lhc.com)(INSTANCE_NAME=compellocdb_dr)))" --user [b]dbtestusr[/b] --password <password> --mode connection-time --warning 1 --critical 5
CRITICAL - cannot connect to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.202.23.113)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=compellocdb_dr.lhc4net.lhc.com)(INSTANCE_NAME=compellocdb_dr))). ORA-01033: ORACLE initialization or shutdown in progress (DBD ERROR: OCISessionBegin)

I want to connect DB with dbtestusr AS SYSDBA
Thanks
Höegh
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: Oracle Database Monitoring with SYSDBA

Post by jdunitz »

Hi!

Try "sysdba@dbtestusr", assuming dbtestusr has sysdb privs.

Does that help?
--Jeffrey
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked