Gateway Time-out

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Gateway Time-out

Post by Box293 »

Thanks for that, it makes a lot more sense now.

Are the client servers on the same subnet as the nagios server.

When you changed the IP addresses on the nagios servers, did you restart the nagios service, or reboot the nagios servers?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Gateway Time-out

Post by Box293 »

You could try deleting the retention file and restarting Nagios to see if that fixes the problem.

/usr/local/nagios/var/retention.dat
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: Gateway Time-out

Post by imran_khan »

Hello,

Client servers are in same or different subnet.

We did not restarted nagios service or not even reboot the server.
When we changed the IP address after that have restarted network service on both servers.

Deleted /usr/local/nagios/var/retention.dat and restarted nagios service but still getting same error.

Thanks,
Imran Khan.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Gateway Time-out

Post by Box293 »

I don't think it's a networking issue as your manual example shows server and client communicating fine.

I think the best thing you can do now is to turn on debug logging in Nagios and see what is happening in the logs.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: Gateway Time-out

Post by imran_khan »

Hello,

Enabled the deug log and restarted nagios service but nagios.debug is not showing on /usr/local/nagios/var/ path.

This debug log file path mentioned in nagios configuration.

debug_file=/usr/local/nagios/var/nagios.debug

Thanks,
Imran Khan.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Gateway Time-out

Post by Box293 »

It's strange that nothing is happening in the debug file, because when debug_level=-1 it logs everything that happens.

I would reboot the entire server.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: Gateway Time-out

Post by imran_khan »

Hello,

Rebooted nagios server 2-3 times today but not showing debug log file.

Thanks,
Imran Khan.
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: Gateway Time-out

Post by imran_khan »

Hello,

Any solution/suggestion?

Thanks,
Imran Khan.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Gateway Time-out

Post by abrist »

Are you running/accessing the core UI through a proxy?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: Gateway Time-out

Post by imran_khan »

Hello,

I want re install nagios core-4.0.7 on centos-6.5 server.
Please let me know the procedure to install this latest version from yum.

Also I observed that check_nrpe plugin is not available in nagios plugin tarball (nagios-plugins-2.0.3.tar.gz).

Can we install nagios latest version-4.0.7 from tarball (nagios-4.0.7.tar.gz) and nagios plugins using yum?

Thanks,
Imran Khan.
Locked