[Xymon] hostname change on Xymon server

Galen Johnson solitaryr at gmail.com
Tue Feb 19 02:50:37 CET 2019


Only a couple of things come to mind.  How did you change your hostname?
What does 'hostname -f' return?  What is in /etc/hosts?

=G=

On Mon, Feb 18, 2019 at 9:04 AM <hobbit at weiser.dk> wrote:

> Hi,
>
> I have changed the name on my server hosting Xymon server, a Ubuntu 16.04.
> But Xymon server do seem to still use the old hostname:
>
> The old name was "mail1":
> - I get ghost report: "127.0.0.1 mail1 mail 0:38", I have shutdown Xymon
> client, to isolate that it is coming from the Xymon server.
> - the link in alert mails is "http://mail1/xymon-cgi...."
> - A "ps" is showing: "sh -c vmstat 300 2
> 1>/home/xymon/client/tmp/xymon_vmstat.mail1.7997 2>&1; mv
> /home/xymon/client/tmp/xymon_vmstat.mail1.7997
> /home/xymon/client/tmp/xymon_vmstat.mail1"
>
>
> Here is what I have done:
> - Used hostnamectl to change hostname, but have also being over
> /etc/hostname and hosts.
> - Changed the host in hosts.cfg in Xymon server.
> - Used the 'xymon 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME"'
> - I have deleted the old make file and run make clean, and configured,
> build, and installed all over again.
> - I have search for mail1 string in Xymon folder, and found nothing.
>
> My gold is to have the right URL in the alert mails. But it is also
> annoying me what I have done wrong...
>
> Regards,
> Kim Johansen
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20190218/2267d257/attachment.html>


More information about the Xymon mailing list