Service check timed out after 60.44 seconds

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
kalyanpabolu
Posts: 246
Joined: Fri Jul 03, 2020 4:18 am

Service check timed out after 60.44 seconds

Post 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?
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Service check timed out after 60.44 seconds

Post 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.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
kalyanpabolu
Posts: 246
Joined: Fri Jul 03, 2020 4:18 am

Re: Service check timed out after 60.44 seconds

Post by kalyanpabolu »

Hello,

We are using Nagios Core Version 4.3.4.
Could you please let me know how to fetch profile from there?
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Service check timed out after 60.44 seconds

Post 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.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
kalyanpabolu
Posts: 246
Joined: Fri Jul 03, 2020 4:18 am

Re: Service check timed out after 60.44 seconds

Post by kalyanpabolu »

Hello,

PFA.

Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Service check timed out after 60.44 seconds

Post 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"
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Service check timed out after 60.44 seconds

Post 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
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!
kalyanpabolu
Posts: 246
Joined: Fri Jul 03, 2020 4:18 am

Re: Service check timed out after 60.44 seconds

Post 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]#
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Service check timed out after 60.44 seconds

Post by benjaminsmith »

Hi @kalyanpabolu,

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

Benjamin
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!
kalyanpabolu
Posts: 246
Joined: Fri Jul 03, 2020 4:18 am

Re: Service check timed out after 60.44 seconds

Post 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?
Locked