<div dir="ltr">Only a couple of things come to mind.  How did you change your hostname?  What does 'hostname -f' return?  What is in /etc/hosts?<div><br></div><div>=G=</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 18, 2019 at 9:04 AM <<a href="mailto:hobbit@weiser.dk">hobbit@weiser.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<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>
<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 "<a href="http://mail1/xymon-cgi..." rel="noreferrer" target="_blank">http://mail1/xymon-cgi...</a>."<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>
<br>
<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.<br>
<br>
My gold is to have the right URL in the alert mails. But it is also<br>
annoying me what I have done wrong...<br>
<br>
Regards,<br>
Kim Johansen<br>
<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>