Monitor Oracle Server, session will always keep connecting?!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Monitor Oracle Server, session will always keep connecting?!

Post by xpertech »

When use default Oracle plugins, the sessions will occupied and keep connecting, is that normal?
Is it possible each time after got the monitored data and then close session, and re-connect at next monitor?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Monitor Oracle Server, session will always keep connecti

Post by ssax »

After talking with another tech about this we came to these conclusions:

It should be the oracle server that cleans up the sessions, this should be an adjustable setting.

There could be a bug in the check_oracle_health plugin that causes it to exit without ending the session, we have not been able to reproduce this though and I personally haven't seen it.

Try going to Configure > Core Config Manager > Commands:
- Update all of your oracle command to add
--method sqlplus
- Save
- Apply Config
- Test

That may take care of it.

I don't think there is a way to force or not require the reuse of sessions from the plugin side, the command line options don't list anything here:

https://labs.consol.de/nagios/check_ora ... parameters
Locked