error in ora log monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

error in ora log monitoring

Post by wiproltdwiv »

Dear Team,

I have to monitor oracle any ora-xxx logs, for this i am trying to use check_ora_db, but i am getting timeout error. same plugin in working fine when i check listener status, but for rest services its giving time out error. please check below. same user and password we are using for check_oracle_health and which r working fine.


[root@localhost libexec]# ./check_ora_db --action=lsnrstatus --service=xyz --oh=$ORACLE_HOME --lsnrports=xx.xx.xx.xx:1543
[OK] Listener status (Host:Port xx.xx.xx.xx:1543 - OK)

[root@localhost libexec]# ./check_ora_db --action=dbstatus --service=xyz --oh=$ORACLE_HOME --dbuser=user1--dbpass=user1--port=1543 --host=xx.xx.xx.xx --timeout=120
[CRITICAL] Time out (120 seconds) while executing SQL statement!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: error in ora log monitoring

Post by slansing »

If you were to log into the oracle server with that exact same username and password and manually run that query, how long does it take?
Locked