Multiple Nagios session in the database

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Multiple Nagios session in the database

Post by RIDS_I2MP »

MOD EDIT: Split from https://support.nagios.com/forum/viewtopic.php?t=36504

Hi Team,

We have faced the similar issue again.

150+ active nagios sessions were created on the database server.

We are monitoring about 8-10 parameters of database on these database servers, and all parmeters uses the same script i.e. check_xi_oracleserverspace. Since morning we received "connection could not be established within 60 seconds" error message and later in the evening the issue started becoming critical and resulted in “maximum processes reached” error on database, which forced us to restart the DB server twice that day.

We have checked the load during this issue it was normal both CPU and memory.

Now after the issue is resolved when we execute "ps -ef | grep oracle" command on Nagios server side we found only one row.

Kindly can you let us know what could be the reason for creation of active sessions and what else we can check to find the root cause.
Last edited by dwhitfield on Fri Apr 21, 2017 11:36 am, edited 1 time in total.
Reason: split from other thread
Thanks & Regards,
I2MP Team.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Multiple Nagios session in the database

Post by tgriep »

Can you post your nagios.log file from the XI server so we can see if there were any errors when the check ran?
The file is located here.

Code: Select all

/usr/local/nagios/var/nagios.log
If the issue happened before today, you will have to send in the archive log file for that day and they can be found here.

Code: Select all

/usr/local/nagios/var/archives
Run this and post the output so we can see the version of the plugin you are running.

Code: Select all

/usr/local/nagios/libexec/check_oracle_health  -V
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked