Xymon Mailing List Archive search

Renaming Host

2 messages in this thread

list Neil Simmonds · Wed, 8 Jul 2015 14:06:58 +0100 ·
Hi all, I've had to rename a host in Xymon today and realised the
shortcomings of Xymon for this. Has anyone got a script (linux Xymon
server) that will move the histlogs data and hostdata to the new name
rather than just the hist data like the built in rename command does? I'm
not sure if I can just move the files to the new folders or if the data in
the files needs tweaking as well.

Any suggestions would be very welcome.

Regards,
Neil Simmonds
list Phil Crooker · Thu, 9 Jul 2015 00:56:44 +0000 ·
So the 'xymon 127.0.0.1 "rename oldhostname newhostname" ' doesn't work?
quoted from Neil Simmonds


From: Xymon <xymon-bounces at xymon.com> on behalf of Neil Simmonds <user-feff97fabd3d@xymon.invalid>
Sent: Wednesday, 8 July 2015 10:36 PM
To: xymon at xymon.com
Subject: [Xymon] Renaming Host

Hi all, I've had to rename a host in Xymon today and realised the shortcomings of Xymon for this. Has anyone got a script (linux Xymon server) that will move the histlogs data and hostdata to the new name rather than just the hist data like the built in rename command does? I'm not sure if I can just move the files to the new folders or if the data in the files needs tweaking as well.

Any suggestions would be very welcome.

Regards,
Neil Simmonds