Page 1 of 1

Changing IP Address

Posted: Fri Aug 21, 2015 5:26 am
by thundaheed
Apologies if this is a stupid quesiton but I'm not exactly a linux or nagios admin but...

I have a Nagios Core server in a network (Network A) and want to move it to another network with a new IP Address (Network B)

I've added Network B ethernet card and configured it, my question is, how do I get nagios core website currently http://10.20.30.40/nagios to be the new website address http://20.30.40.50/nagios

or would it just be easier to build a new server and copy my config across.

I'd have thought it would be an address in apache or nagios somewhere but after googling for a few hours with no luck I thought I see if some uber Nagios dude can point me in the correct direction

cheers in advance

Re: Changing IP Address

Posted: Fri Aug 21, 2015 11:18 am
by jdalrymple
By default apache listens on all ports. You shouldn't have to change anything except maybe a firewall rule.

Code: Select all

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80

Re: Changing IP Address

Posted: Thu Sep 17, 2015 7:04 am
by Thunderhead
apologies for the delay, thanks for the response that's what I was looking for

Re: Changing IP Address

Posted: Thu Sep 17, 2015 9:14 am
by hsmith
Is there anything else we can do to assist you with this one?