Page 1 of 2

Service check timed out after 60.44 seconds

Posted: Mon Dec 14, 2020 9:22 am
by kalyanpabolu
Hello Team,

We are monitoring tablespaces on a database in Nagios Core. Out of 10 tablespaces that we are monitoring, we are getting proper output for 7 of them. For remaining 3 tablespaces, we are getting service timeout error:

Service check timed out after 60.44 seconds

Those tablespaces are accessible and we are able to fetch tablespace data when we run query on DB. But from nagios this error is coming.

Could you please help us out here?

Re: Service check timed out after 60.44 seconds

Posted: Tue Dec 15, 2020 2:48 pm
by dchurch
I'm not certain of how you're monitoring those tablespaces. If you PM me a system profile and let me know what the service check is called, I can diagnose further.

Download a profile by going to Admin (top menu) => System Profile (in the left menu), then clicking the blue button.

If you're unable to generate the the profile through the web interface, please try generating it from the command line by running these commands as root:

Code: Select all

rm -rf /usr/local/nagiosxi/var/components/profile*
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip file.
If the profile script fails, please include the ENTIRE output.

Re: Service check timed out after 60.44 seconds

Posted: Thu Dec 17, 2020 2:00 am
by kalyanpabolu
Hello,

We are using Nagios Core Version 4.3.4.
Could you please let me know how to fetch profile from there?

Re: Service check timed out after 60.44 seconds

Posted: Thu Dec 17, 2020 4:11 pm
by dchurch
To get a profile from Nagios Core, just tar up /usr/local/nagios/etc and PM it to me. Run the command:

Code: Select all

tar czf /tmp/profile.tar.gz /usr/local/nagios/etc
Then send the resulting /tmp/profile.tar.gz file.

Re: Service check timed out after 60.44 seconds

Posted: Tue Dec 22, 2020 11:05 am
by kalyanpabolu
Hello,

PFA.

Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.

Re: Service check timed out after 60.44 seconds

Posted: Tue Dec 22, 2020 12:39 pm
by dchurch
What specific host(s) are you having trouble with?

Can you post the complete output from the following command?

Code: Select all

/usr/local/nagios/libexec/check_oracle --tablespace ribprd nagios <the oracle password for the nagios account> TEMP 90 85
Can you connect to the oracle database from the Nagios core server command line?

Code: Select all

sqlplus -L "nagios/<the oracle password for the nagios account>@ribprd"

Re: Service check timed out after 60.44 seconds

Posted: Tue Dec 22, 2020 4:11 pm
by benjaminsmith
Hi,
We are using Nagios Core Version 4.3.4.
I looked up your account and a Nagios Core support plan has not been registered with this username. If this is an error, please let me know I’ll work with the sales department to get this resolved quickly.

If you’re interested in Nagios Core Support plan, please contact [email protected] or feel free to post your question on the Nagios Core general support forum.

Otherwise, feel free to post your question to the community forum at:
https://support.nagios.com/forum/viewforum.php?f=7

Thanks for your cooperation and please let me know if you have any questions.

Best Regards,
Benjamin

Re: Service check timed out after 60.44 seconds

Posted: Sun Dec 27, 2020 12:02 pm
by kalyanpabolu
Hello,

Below is the output:

[root@monprdmgtss03 plugins]# ./check_oracle --tablespace ribprd nagios n46105 TEMP 90 85
./check_oracle: line 287: [: : integer expression expected
./check_oracle: line 291: [: : integer expression expected
./check_oracle: line 295: [: : integer expression expected
ribprd : TEMP OK - % used [ / MB available ]|TEMP=%;85;90;0;100
[root@monprdmgtss03 plugins]#
[root@monprdmgtss03 plugins]#
[root@monprdmgtss03 plugins]# sqlplus -L "nagios/n46105@ribprd"
-bash: sqlplus: command not found
[root@monprdmgtss03 plugins]#

Re: Service check timed out after 60.44 seconds

Posted: Mon Dec 28, 2020 3:48 pm
by benjaminsmith
Hi @kalyanpabolu,

Did you see the reply regarding a Nagiso Core support plan? Let me know if you have any questions.

Benjamin

Re: Service check timed out after 60.44 seconds

Posted: Tue Dec 29, 2020 1:18 am
by kalyanpabolu
Hello,

We are not willing to take any plans for core as we are going to migrate servers in core to XI.

Could you help us with the here?