Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Le 13/06/2019 à 10:06, Leon Swanepoel a écrit :
Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Hello Leon,
Do you mean changing the IP the xymon daemon is listening on ? Or changing the IP on the OS the xymon daemon is running on ? Or changing the destination IP your xymon client are sending reports to ?
HI,
Thank you for the quick response.
- I have changed the ip of the os to a new ip address.
- I was wandering if I need to change the ip somewhere in xymon.
- I need to change the ip address of the client machine to point to the new serve rip.
Thank You, Leon
On Thu, 2019-06-13 at 10:21 +0200, Damien Martins wrote:
Le 13/06/2019 à 10:06, Leon Swanepoel a écrit :
Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Hello Leon,
Do you mean changing the IP the xymon daemon is listening on ? Or changing the IP on the OS the xymon daemon is running on ? Or changing the destination IP your xymon client are sending reports to ?
Le 13/06/2019 à 10:31, Leon Swanepoel a écrit :
HI,
Thank you for the quick response.
- I have changed the ip of the os to a new ip address.
- I was wandering if I need to change the ip somewhere in xymon.
- I need to change the ip address of the client machine to point to the new serve rip.
Thank You, Leon
On Thu, 2019-06-13 at 10:21 +0200, Damien Martins wrote:
Le 13/06/2019 à 10:06, Leon Swanepoel a écrit :
Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon Hello Leon,
Do you mean changing the IP the xymon daemon is listening on ? Or changing the IP on the OS the xymon daemon is running on ? Or changing the destination IP your xymon client are sending reports to ?
Leon:
1 & 2 I guess a simple xymon daemon restart should be enough to have the daemon listening on the new IP address (depends if it is listening on 0.0.0.0:1984 or specific IP address. You can check this by using netstat (or "ss" if netstat is not available anymore)
3 On your clients, you have to set the new IP address indeed. The place to perform the change depends on your OS. On Debian/Ubuntu, if you use the official package, you may check /etc/default/xymon-client file. For other OS or installation mode, I don't know. Anyway, you can look for this variable : XYMONSERVERS
if this is pointing to your old IP address, change it to the new one ;)
HI,
I did a restart but it is still referencing the old ip. See the netstat below.
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 127.0.0.53:53 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN
tcp 0 0 0.0.0.0:1984 0.0.0.0:*
LISTEN
tcp 0 40 10.120.1.21:22 172.29.89.26:40412
ESTABLISHED
tcp 0 1 10.120.1.21:48182 10.121.0.134:1984
SYN_SENT
tcp6 0 0 :::80 :::*
LISTEN
tcp6 0 0 :::22 :::*
LISTEN
tcp6 0 0 10.120.1.21:80 172.29.89.26:51732
TIME_WAIT
tcp6 0 0 10.120.1.21:80 172.29.89.26:51735
TIME_WAIT
tcp6 0 0 10.120.1.21:80 172.29.89.26:51731
TIME_WAIT
tcp6 0 0 10.120.1.21:80 172.29.89.26:51733
TIME_WAIT
tcp6 0 0 10.120.1.21:80 172.29.89.26:51745
TIME_WAIT
udp 0 0 127.0.0.53:53
0.0.0.0:*
udp 0 0 10.120.1.21:68
0.0.0.0:*
raw6 0 0 :::58 :::*
7
10.121.0.134 is the old ip address.
Thank You, Leon
On Thu, 2019-06-13 at 10:38 +0200, Damien Martins wrote:
Le 13/06/2019 à 10:31, Leon Swanepoel a écrit :
HI,
Thank you for the quick response.
- I have changed the ip of the os to a new ip address.
- I was wandering if I need to change the ip somewhere in xymon.
- I need to change the ip address of the client machine to point to the new serve rip.
Thank You, Leon
On Thu, 2019-06-13 at 10:21 +0200, Damien Martins wrote:
Le 13/06/2019 à 10:06, Leon Swanepoel a écrit :
Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon Hello Leon,
Do you mean changing the IP the xymon daemon is listening on ? Or changing the IP on the OS the xymon daemon is running on ? Or changing the destination IP your xymon client are sending reports to ?
Leon:
1 & 2 I guess a simple xymon daemon restart should be enough to have the daemon listening on the new IP address (depends if it is listening on 0.0.0.0:1984 or specific IP address. You can check this by using netstat (or "ss" if netstat is not available anymore)
3 On your clients, you have to set the new IP address indeed. The place to perform the change depends on your OS. On Debian/Ubuntu, if you use the official package, you may check /etc/default/xymon-client file. For other OS or installation mode, I don't know. Anyway, you can look for this variable : XYMONSERVERS
if this is pointing to your old IP address, change it to the new one ;)
On 6/13/2019 2:52 AM, Leon Swanepoel wrote:
I did a restart but it is still referencing the old ip. See the netstat below.
<snip>
tcp 0 0 0.0.0.0:1984 0.0.0.0:* LISTEN
This line shows that something is listening on all interfaces. I think the server part is probably OK.
tcp 0 1 10.120.1.21:48182 10.121.0.134:1984 SYN_SENT
This line is an attempted connection from this machine to 10.121.0.134. The TCP connection is stuck at the first phase (SYN_SENT), probably because that address doesn't actually exist anywhere.
Something on the xymon server system (most likely the xymon client) is still configured to talk to the old IP address.
On my xymon server running on Ubuntu 18, version 4.3.28-3build1, the first uncommented line in /etc/default/xymon-client is this:
XYMONSERVERS="127.0.0.1"
The only other uncommented line is the setting for CLIENTHOSTNAME.
Thanks, Shawn
Thank you Shawn
On Sat, 2019-06-15 at 12:46 -0600, Shawn Heisey wrote:
On 6/13/2019 2:52 AM, Leon Swanepoel wrote:
I did a restart but it is still referencing the old ip. See the netstat below.
<snip>
tcp 0 0 0.0.0.0:1984 0.0.0.0:* LISTEN
This line shows that something is listening on all interfaces. I think the server part is probably OK.
tcp 0 1 10.120.1.21:48182 10.121.0.134:1984 SYN_SENT
This line is an attempted connection from this machine to 10.121.0.134. The TCP connection is stuck at the first phase (SYN_SENT), probably because that address doesn't actually exist anywhere.
Something on the xymon server system (most likely the xymon client) is still configured to talk to the old IP address.
On my xymon server running on Ubuntu 18, version 4.3.28-3build1, the first uncommented line in /etc/default/xymon-client is this:
XYMONSERVERS="127.0.0.1"
The only other uncommented line is the setting for CLIENTHOSTNAME.
Thanks, Shawn
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
HI All,
I found where is gets set but I do not see where this file gets it info from.
/var/run/xymon/bbdisp-runtime.cfg
Thank You, Leon
On Thu, 2019-06-13 at 10:21 +0200, Damien Martins wrote:
Le 13/06/2019 à 10:06, Leon Swanepoel a écrit :
Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Hello Leon,
Do you mean changing the IP the xymon daemon is listening on ? Or changing the IP on the OS the xymon daemon is running on ? Or changing the destination IP your xymon client are sending reports to ?
On my system (Red Hat based), /var/run/xymonclient-runtime.cfg is set by the init script /etc/init.d/xymon-client using the contents of /etc/sysconfig/xymon-client. Assuming yours is similar, you would first need to edit /etc/sysconfig/xymon-client (or equivalent on Ubuntu, perhaps /etc/default/xymon-client), and then stop/start Xymon using the init script, such as: /etc/init.d/xymon-client stop && /etc/init.d/xymon-client start.
On Thu, 13 Jun 2019 at 20:47, Leon Swanepoel <ljswan at mweb.co.za> wrote:
HI All,
I found where is gets set but I do not see where this file gets it info from.
/var/run/xymon/bbdisp-runtime.cfg
Thank You, Leon
On Thu, 2019-06-13 at 10:21 +0200, Damien Martins wrote:
Le 13/06/2019 à 10:06, Leon Swanepoel a écrit :
Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Hello Leon,
Do you mean changing the IP the xymon daemon is listening on ? Or changing the IP on the OS the xymon daemon is running on ? Or changing the destination IP your xymon client are sending reports to ?
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Thank you Jeremy
On Thu, 2019-06-13 at 20:52 +1000, Jeremy Laidman wrote:
On my system (Red Hat based), /var/run/xymonclient-runtime.cfg is set by the init script /etc/init.d/xymon-client using the contents of /etc/sysconfig/xymon-client. Assuming yours is similar, you would first need to edit /etc/sysconfig/xymon-client (or equivalent on Ubuntu, perhaps /etc/default/xymon-client), and then stop/start Xymon using the init script, such as: /etc/init.d/xymon-client stop && /etc/init.d/xymon-client start.
On Thu, 13 Jun 2019 at 20:47, Leon Swanepoel <ljswan at mweb.co.za> wrote:
HI All, I found where is gets set but I do not see where this file gets it info from. /var/run/xymon/bbdisp-runtime.cfg Thank You, Leon On Thu, 2019-06-13 at 10:21 +0200, Damien Martins wrote: > Le 13/06/2019 à 10:06, Leon Swanepoel a écrit : > > Good day, > > > > Is there a way to change the ip address of the xymon server? I changed > > the ip address and now xymon server is not working any more. Any ideas > > anyone? Thank you in advance. > > > > Thank You, > > Leon > > > > _______________________________________________ > > Xymon mailing list > > Xymon at xymon.com > > http://lists.xymon.com/mailman/listinfo/xymon > > Hello Leon, > > > Do you mean changing the IP the xymon daemon is listening on ? Or > changing the IP on the OS the xymon daemon is running on ? Or changing > the destination IP your xymon client are sending reports to ? > _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Leon,
i did this in the past and from my experience I can say it is not enough to simply restart the xymon services.
In my case, I had to reflect these additional steps:
a) Make your basic server config work correctly - reflect your changes to /etc/hosts and whatever files are needed for your linux distro to have the server get the right IP address after a reboot.
b) I had to change the settings in "xymonserver.cfg". In my installation, there was an entry "XYMONSERVERIP" that did not point to 127.0.0.1 - so I had to change this.
c) I needed to recompile xymon on the server. Probably this was because I was coming from an elder version of xymon. So I went into my directory from where I installed xymon. There I changed the file "Makefile". In this "Makefile" there is an entry "XYMONHOSTIP" that also did not point to 127.0.0.1 - so I had to change this. Afterwards, I did a "make" and "make install". After that xymon did start.
d) As soon as you configured your xymon clients to report to an IP-address instead to a xymon-server-name: you need to change all of your xymon clients as well in the file xymonclient.cfg. There is an entry XYMSRV. After doing that restart the xymon services on your clients. If you have Windows clients you need to change the settings either in bbwin or psclient - whatever you are using.
This was what was necessary for MY installation - I cannot say if this will do the trick for YOUR installation.
Hope this works for you!
Regards Christian
-----Ursprüngliche Nachricht----- Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von Leon Swanepoel Gesendet: Donnerstag, 13. Juni 2019 10:07 An: xymon at xymon.com Betreff: [Xymon] IP address
Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Xymon mailing list Xymon at xymon.com https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.xymon.com%2Fmailman%2Flistinfo%2Fxymon&data=02%7C01%7Cchristian.becker%40rhein-zeitung.net%7C7dbd6c3ec3264c0233e508d6efd621fb%7C4fed923898bc4f3b96450b99f4d1b669%7C0%7C1%7C636960100301794265&sdata=feskOy5rrnk6Q7Fqv3iy8FXfpQKbebAcNaX%2B6NNzqCQ%3D&reserved=0
Good day,
I followed the steps and it is still not working. Somewhere its referencing the old ip. Even a reinstall did not work. I could not change the makefile though as I am on Ubuntu and am using apt-get.
Thank You, Leon
On Thu, 2019-06-13 at 08:59 +0000, Becker Christian wrote:
Leon,
i did this in the past and from my experience I can say it is not enough to simply restart the xymon services.
In my case, I had to reflect these additional steps:
a) Make your basic server config work correctly - reflect your changes to /etc/hosts and whatever files are needed for your linux distro to have the server get the right IP address after a reboot.
b) I had to change the settings in "xymonserver.cfg". In my installation, there was an entry "XYMONSERVERIP" that did not point to 127.0.0.1 - so I had to change this.
c) I needed to recompile xymon on the server. Probably this was because I was coming from an elder version of xymon. So I went into my directory from where I installed xymon. There I changed the file "Makefile". In this "Makefile" there is an entry "XYMONHOSTIP" that also did not point to 127.0.0.1 - so I had to change this. Afterwards, I did a "make" and "make install". After that xymon did start.
d) As soon as you configured your xymon clients to report to an IP-address instead to a xymon-server-name: you need to change all of your xymon clients as well in the file xymonclient.cfg. There is an entry XYMSRV. After doing that restart the xymon services on your clients. If you have Windows clients you need to change the settings either in bbwin or psclient - whatever you are using.
This was what was necessary for MY installation - I cannot say if this will do the trick for YOUR installation.
Hope this works for you!
Regards Christian
-----Ursprüngliche Nachricht----- Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von Leon Swanepoel Gesendet: Donnerstag, 13. Juni 2019 10:07 An: xymon at xymon.com Betreff: [Xymon] IP address
Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Xymon mailing list Xymon at xymon.com https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.xymon.com%2Fmailman%2Flistinfo%2Fxymon&data=02%7C01%7Cchristian.becker%40rhein-zeitung.net%7C7dbd6c3ec3264c0233e508d6efd621fb%7C4fed923898bc4f3b96450b99f4d1b669%7C0%7C1%7C636960100301794265&sdata=feskOy5rrnk6Q7Fqv3iy8FXfpQKbebAcNaX%2B6NNzqCQ%3D&reserved=0
Le 13/06/2019 à 12:12, Leon Swanepoel a écrit :
Good day,
I followed the steps and it is still not working. Somewhere its referencing the old ip. Even a reinstall did not work. I could not change the makefile though as I am on Ubuntu and am using apt-get.
Thank You, Leon
On Thu, 2019-06-13 at 08:59 +0000, Becker Christian wrote:
Leon,
i did this in the past and from my experience I can say it is not enough to simply restart the xymon services.
In my case, I had to reflect these additional steps:
a) Make your basic server config work correctly - reflect your changes to /etc/hosts and whatever files are needed for your linux distro to have the server get the right IP address after a reboot.
b) I had to change the settings in "xymonserver.cfg". In my installation, there was an entry "XYMONSERVERIP" that did not point to 127.0.0.1 - so I had to change this.
c) I needed to recompile xymon on the server. Probably this was because I was coming from an elder version of xymon. So I went into my directory from where I installed xymon. There I changed the file "Makefile". In this "Makefile" there is an entry "XYMONHOSTIP" that also did not point to 127.0.0.1 - so I had to change this. Afterwards, I did a "make" and "make install". After that xymon did start.
d) As soon as you configured your xymon clients to report to an IP-address instead to a xymon-server-name: you need to change all of your xymon clients as well in the file xymonclient.cfg. There is an entry XYMSRV. After doing that restart the xymon services on your clients. If you have Windows clients you need to change the settings either in bbwin or psclient - whatever you are using.
This was what was necessary for MY installation - I cannot say if this will do the trick for YOUR installation.
Hope this works for you!
Regards Christian
-----Ursprüngliche Nachricht----- Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von Leon Swanepoel Gesendet: Donnerstag, 13. Juni 2019 10:07 An: xymon at xymon.com Betreff: [Xymon] IP address
Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Xymon mailing list Xymon at xymon.com https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.xymon.com%2Fmailman%2Flistinfo%2Fxymon&data=02%7C01%7Cchristian.becker%40rhein-zeitung.net%7C7dbd6c3ec3264c0233e508d6efd621fb%7C4fed923898bc4f3b96450b99f4d1b669%7C0%7C1%7C636960100301794265&sdata=feskOy5rrnk6Q7Fqv3iy8FXfpQKbebAcNaX%2B6NNzqCQ%3D&reserved=0
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Leon,
How did you install xymon ? what OS are you using ?
Hi
Yes I reinstalled xymon. I am using Ubuntu 18.
Thank You, Leon
On Thu, 2019-06-13 at 12:16 +0200, Damien Martins wrote:
Le 13/06/2019 à 12:12, Leon Swanepoel a écrit :
Good day,
I followed the steps and it is still not working. Somewhere its referencing the old ip. Even a reinstall did not work. I could not change the makefile though as I am on Ubuntu and am using apt-get.
Thank You, Leon
On Thu, 2019-06-13 at 08:59 +0000, Becker Christian wrote:
Leon,
i did this in the past and from my experience I can say it is not enough to simply restart the xymon services.
In my case, I had to reflect these additional steps:
a) Make your basic server config work correctly - reflect your changes to /etc/hosts and whatever files are needed for your linux distro to have the server get the right IP address after a reboot.
b) I had to change the settings in "xymonserver.cfg". In my installation, there was an entry "XYMONSERVERIP" that did not point to 127.0.0.1 - so I had to change this.
c) I needed to recompile xymon on the server. Probably this was because I was coming from an elder version of xymon. So I went into my directory from where I installed xymon. There I changed the file "Makefile". In this "Makefile" there is an entry "XYMONHOSTIP" that also did not point to 127.0.0.1 - so I had to change this. Afterwards, I did a "make" and "make install". After that xymon did start.
d) As soon as you configured your xymon clients to report to an IP-address instead to a xymon-server-name: you need to change all of your xymon clients as well in the file xymonclient.cfg. There is an entry XYMSRV. After doing that restart the xymon services on your clients. If you have Windows clients you need to change the settings either in bbwin or psclient - whatever you are using.
This was what was necessary for MY installation - I cannot say if this will do the trick for YOUR installation.
Hope this works for you!
Regards Christian
-----Ursprüngliche Nachricht----- Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von Leon Swanepoel Gesendet: Donnerstag, 13. Juni 2019 10:07 An: xymon at xymon.com Betreff: [Xymon] IP address
Good day,
Is there a way to change the ip address of the xymon server? I changed the ip address and now xymon server is not working any more. Any ideas anyone? Thank you in advance.
Thank You, Leon
Xymon mailing list Xymon at xymon.com https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.xymon.com%2Fmailman%2Flistinfo%2Fxymon&data=02%7C01%7Cchristian.becker%40rhein-zeitung.net%7C7dbd6c3ec3264c0233e508d6efd621fb%7C4fed923898bc4f3b96450b99f4d1b669%7C0%7C1%7C636960100301794265&sdata=feskOy5rrnk6Q7Fqv3iy8FXfpQKbebAcNaX%2B6NNzqCQ%3D&reserved=0
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Leon,
How did you install xymon ? what OS are you using ?
participants (5)
-
christian.becker@rhein-zeitung.net
-
damien@makelofine.org
-
hobbit@elyograg.org
-
jeremy@laidman.org
-
ljswan@mweb.co.za