<html><body><div style="font-family: arial,helvetica,sans-serif; font-size: 11pt; color: #000000"><div>Hi there,<br></div><div><br data-mce-bogus="1"></div><div>can you please remove me from the mailing list?<br data-mce-bogus="1"></div><div>Thanks and best regards,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Chris<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br></div><div data-marker="__SIG_PRE__"><div>anaxima GmbH - IT | Consulting</div><div><br></div><div><a href="mailto:christoph.knaf@anaxima.com" target="_blank">christoph.knaf@anaxima.com</a><br></div><div>+49 (0) 6421 88907 11</div><div><a href="https://www.anaxima.com/" target="_blank">www.anaxima.com</a><br></div><div>Hangstraße 20, 35043 Marburg</div><div><br></div><div>Registergericht: Amtsgericht Marburg, HRB 2295</div><div>Geschäftsführer: Lothar Nottekämper, Matthias Dähling</div></div><div><br><span id="zwchr" data-marker="__DIVIDER__">----- Am 19. Feb 2019 um 9:55 schrieb Kim Johansen <hobbit@weiser.dk>:<br></span><br></div><div data-marker="__QUOTED_TEXT__">Thanks Christian that was the problem, I didn't think about that, because<br>doing the configure I entered the hostname.<br><br>Regards,<br>Kim Johansen<br><br>> Hello,<br>> just to make sure - did you also reflect your changes in<br>xymonserver.cfg??<br>> I remember that if one recompiles an existing Xymon server config<br>without<br>> deleting the target directory, I think it could keep old config files -<br>but I'm not sure by hundred percent.<br>> Regards<br>> Christian Becker<br>> -----Ursprüngliche Nachricht-----<br>> Von: Xymon <xymon-bounces@xymon.com> Im Auftrag von hobbit@weiser.dk<br>Gesendet: Montag, 18. Februar 2019 14:59<br>> An: xymon@xymon.com<br>> Betreff: [Xymon] hostname change on Xymon server<br>> Hi,<br>> I have changed the name on my server hosting Xymon server, a Ubuntu 16.04.<br>> But Xymon server do seem to still use the old hostname:<br>> The old name was "mail1":<br>> - I get ghost report: "127.0.0.1 mail1 mail 0:38", I have shutdown Xymon<br>client, to isolate that it is coming from the Xymon server.<br>> - the link in alert mails is "http://mail1/xymon-cgi...."<br>> - A "ps" is showing: "sh -c vmstat 300 2<br>> 1>/home/xymon/client/tmp/xymon_vmstat.mail1.7997 2>&1; mv<br>> /home/xymon/client/tmp/xymon_vmstat.mail1.7997<br>> /home/xymon/client/tmp/xymon_vmstat.mail1"<br>> Here is what I have done:<br>> - Used hostnamectl to change hostname, but have also being over<br>> /etc/hostname and hosts.<br>> - Changed the host in hosts.cfg in Xymon server.<br>> - Used the 'xymon 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME"'<br>> - I have deleted the old make file and run make clean, and configured,<br>build, and installed all over again.<br>> - I have search for mail1 string in Xymon folder, and found nothing. My<br>gold is to have the right URL in the alert mails. But it is also<br>annoying me what I have done wrong...<br>> Regards,<br>> Kim Johansen<br>> _______________________________________________<br>> Xymon mailing list<br>> Xymon@xymon.com<br>> http://lists.xymon.com/mailman/listinfo/xymon<br><br><br><br><br>_______________________________________________<br>Xymon mailing list<br>Xymon@xymon.com<br>http://lists.xymon.com/mailman/listinfo/xymon<br></div></div></body></html>