Page 1 of 2

Gateway Problem After Move the Nagios Core VM

Posted: Tue Apr 26, 2016 9:53 am
by Bone8Head
Hello,

today I moved my VM (Vmware ESXI) of Nagios Core (Centos 6.7) from one Host to another.
Everything it seems to work ok but I've got this new Problem, when I try via WEB-GUI to Send Custom Notification:

After like some minutes of Loading, I receveid this Error:

Gateway Time-out
The gateway did not receive a timely response from the upstream server or application.
Apache/2.2.15 (CentOS) Server at 192.168.50.171 Port 80


It Seems strange because all the connettivity is working fine (I can connect always on the Server).

Any advice?

Thank you.

Re: Gateway Problem After Move the Nagios Core VM

Posted: Tue Apr 26, 2016 10:03 am
by hsmith
Is that the correct IP in the error message?

Re: Gateway Problem After Move the Nagios Core VM

Posted: Wed Apr 27, 2016 2:46 am
by Bone8Head
hsmith wrote:Is that the correct IP in the error message?
Yes it is correct.

Re: Gateway Problem After Move the Nagios Core VM

Posted: Wed Apr 27, 2016 3:02 am
by nozlaf
so you didn't change the installation at all? its just move from one ESXi host to another? if so its something wrong with your network config on the ESXi host

Re: Gateway Problem After Move the Nagios Core VM

Posted: Wed Apr 27, 2016 3:29 am
by Bone8Head
nozlaf wrote:so you didn't change the installation at all? its just move from one ESXi host to another? if so its something wrong with your network config on the ESXi host
Yeah I didn't change anything.
How it is possible? Maybe some apache or httpd configuration?

Re: Gateway Problem After Move the Nagios Core VM

Posted: Wed Apr 27, 2016 5:14 am
by nozlaf
Bone8Head wrote:
nozlaf wrote: How it is possible? Maybe some apache or httpd configuration?
more likely an issue with your ESXi networking coniguration, move it back to the other host, if the issue goes away its your ESXi network config

Re: Gateway Problem After Move the Nagios Core VM

Posted: Wed Apr 27, 2016 9:19 am
by rkennedy
Does the ESXI host have all the same NIC's lined up? The virtual NIC's are still dependent on the physical ones.

Re: Gateway Problem After Move the Nagios Core VM

Posted: Wed Apr 27, 2016 9:56 am
by Bone8Head
rkennedy wrote:Does the ESXI host have all the same NIC's lined up? The virtual NIC's are still dependent on the physical ones.
I think..
Actually I think that I'm gonna reinstall Nagios Core to the "new" ESXI Server Vmware.
I don't have a lot of time to recognize this problem.

Do you have any advice? Or i just have to save all the "Objects" files for the Hosts - Services?

Re: Gateway Problem After Move the Nagios Core VM

Posted: Wed Apr 27, 2016 1:36 pm
by tmcdonald
If you are talking about migrating from the old server to the new, it should suffice to just copy everything from your /usr/local/nagios/etc directory over, assuming that's where your configs are on your system. Your path might differ, but essentially the ../etc/ directory is what should be holding your configs. If you are looking to get your historical data as well, that's under /usr/local/nagios/share and various sub-folders, particularly .../perfdata.

Re: Gateway Problem After Move the Nagios Core VM

Posted: Thu Apr 28, 2016 2:04 am
by Bone8Head
tmcdonald wrote:If you are talking about migrating from the old server to the new, it should suffice to just copy everything from your /usr/local/nagios/etc directory over, assuming that's where your configs are on your system. Your path might differ, but essentially the ../etc/ directory is what should be holding your configs. If you are looking to get your historical data as well, that's under /usr/local/nagios/share and various sub-folders, particularly .../perfdata.
Thank you, I will.