UNKNOWN - check_oracle_health timed out after 60 seconds

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ntobars
Posts: 7
Joined: Tue Mar 20, 2018 10:21 am

UNKNOWN - check_oracle_health timed out after 60 seconds

Post by ntobars »

Hello everyone,

I am using the plugin for oracle from nagios XI and in a particular service I have problems.

The service with problems is tablespace-can-allocate-next, the rest works without problems.

The error is as follows:

[root@nagiosXI]# /usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib ORACLE_HOME=/usr/lib/oracle/11.2/client64 /usr/local/nagios/libexec/check_oracle_health --connect '192.168.2.10:1521/DDBB_SRV' --username 'nagios' --password 'oradbmon' --mode tablespace-can-allocate-next --warning 20 --critical 30
UNKNOWN - check_oracle_health timed out after 60 seconds

The nagios log shows the following:

Jun 20 17:53:11 nagiosXI nagios: SERVICE ALERT: bdrac1;Tablespace SYSTEM Can Allocate Next;UNKNOWN;HARD;5;UNKNOWN - check_oracle_health timed out after 60 seconds


Thank you
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: UNKNOWN - check_oracle_health timed out after 60 seconds

Post by scottwilkerson »

Have you attempted to increase the timeout?

Code: Select all

/usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib ORACLE_HOME=/usr/lib/oracle/11.2/client64 /usr/local/nagios/libexec/check_oracle_health --connect '192.168.2.10:1521/DDBB_SRV' --username 'nagios' --password 'oradbmon' --mode tablespace-can-allocate-next --warning 20 --critical 30 --timeout 120
I have seen some info on other sites that this mode can take a very long time
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked