Gateway Problem After Move the Nagios Core VM

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.
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Gateway Problem After Move the Nagios Core VM

Post 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.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Gateway Problem After Move the Nagios Core VM

Post by hsmith »

Is that the correct IP in the error message?
Former Nagios Employee.
me.
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Gateway Problem After Move the Nagios Core VM

Post by Bone8Head »

hsmith wrote:Is that the correct IP in the error message?
Yes it is correct.
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Gateway Problem After Move the Nagios Core VM

Post 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
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Gateway Problem After Move the Nagios Core VM

Post 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?
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Gateway Problem After Move the Nagios Core VM

Post 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
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Gateway Problem After Move the Nagios Core VM

Post 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.
Former Nagios Employee
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Gateway Problem After Move the Nagios Core VM

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Gateway Problem After Move the Nagios Core VM

Post 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.
Former Nagios employee
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Gateway Problem After Move the Nagios Core VM

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