UNKNOWN-check_oracle_health timed out after 60 seconds!!!

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

UNKNOWN-check_oracle_health timed out after 60 seconds!!!

Postby anhphuong » Wed Jan 16, 2019 4:00 am

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
anhphuong
 
Posts: 1
Joined: Wed Jan 16, 2019 3:44 am

Re: UNKNOWN-check_oracle_health timed out after 60 seconds!!

Postby mcapra » Wed Jan 16, 2019 10:20 am

This particular style of issue pops up a lot:
viewtopic.php?f=16&t=48555&p=251254
viewtopic.php?f=6&t=44813&p=227255
viewtopic.php?f=16&t=50041&p=260941
viewtopic.php?f=6&t=50610&p=264313

That plugin simply takes a while to execute on "busy" databases. There are global Nagios level configuration changes like service_check_timeout that can be leveraged, but the general recommendation is to handle long-running checks passively.
Former Nagios employee
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3564
Joined: Thu May 05, 2016 3:54 pm

Re: UNKNOWN-check_oracle_health timed out after 60 seconds!!

Postby lmiltchev » Thu Jan 17, 2019 5:02 pm

@anhphuong, let us know if @mcapra's suggestions helped.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
lmiltchev
QA Manager
 
Posts: 12399
Joined: Mon May 23, 2011 12:15 pm


Return to Nagios XI

Who is online

Users browsing this forum: No registered users and 15 guests