Oracle Monitoring Issue
Posted: Mon Jun 25, 2018 7:11 am
Hello,
We have installed Oracle plugin using this doc:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Installation was successful but we are not able to monitor Oracle DB. Attaching the command and Output for same:
ORACLE VERSION = 12C
[root@incrpvmnagios lib]# echo $LD_LIBRARY_PATH
/usr/lib/oracle/12.2/client64/lib
[root@incrpvmnagios lib]# echo $ORACLE_HOME
/usr/lib/oracle/12.2/client64
[root@incrpvmnagios lib]# !/usr
/usr/local/nagios/libexec/check_oracle_health --connect "152.63.1.229:1522/ggpulse" --username system --password "manager" --mode connected-users --warning 50 --critical 100
Use of qw(...) as parentheses is deprecated at /usr/local/nagios/libexec/check_oracle_health line 4162.
Use of qw(...) as parentheses is deprecated at /usr/local/nagios/libexec/check_oracle_health line 6166.
CRITICAL - cannot connect to 152.63.1.229:1522/ggpulse. ORA-12514: TNS:listener does not currently know of service requested in connect descriptor (DBD ERROR: OCIServerAttach)
[root@incrpvmnagios lib]#
We have installed Oracle plugin using this doc:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Installation was successful but we are not able to monitor Oracle DB. Attaching the command and Output for same:
ORACLE VERSION = 12C
[root@incrpvmnagios lib]# echo $LD_LIBRARY_PATH
/usr/lib/oracle/12.2/client64/lib
[root@incrpvmnagios lib]# echo $ORACLE_HOME
/usr/lib/oracle/12.2/client64
[root@incrpvmnagios lib]# !/usr
/usr/local/nagios/libexec/check_oracle_health --connect "152.63.1.229:1522/ggpulse" --username system --password "manager" --mode connected-users --warning 50 --critical 100
Use of qw(...) as parentheses is deprecated at /usr/local/nagios/libexec/check_oracle_health line 4162.
Use of qw(...) as parentheses is deprecated at /usr/local/nagios/libexec/check_oracle_health line 6166.
CRITICAL - cannot connect to 152.63.1.229:1522/ggpulse. ORA-12514: TNS:listener does not currently know of service requested in connect descriptor (DBD ERROR: OCIServerAttach)
[root@incrpvmnagios lib]#