[Xymon] Renaming a test from UPPERCASE to NormalCase

White, Bruce bewhite at fellowes.com
Fri Feb 20 20:44:15 CET 2015


The history is not going anywhere unless you issue the "drop" command.   I have successfully renamed tests, by changing the script which sends the status and after the new test is establish, simply moving the contents of the history directory or file to the new name.

..........Bruce


-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Monday, February 09, 2015 5:57 AM
To: xymon at xymon.com
Subject: Re: [Xymon] Renaming a test from UPPERCASE to NormalCase

Den 2015-02-09 12:51, Ralph Mitchell skrev:
> The checkpoint file saves the state of everything. Xymon writes to it
> occasionally and loads it on startup. I think it also saves state
> when
> it shuts down.  Thats why you need to shut down Xymon before editing
> the checkpoint file.
>
>> But what can i say? I’ve made a copy of the xymond.chk, after that
>> I’ve deleted out all the UPPERCASE entries of these tests. After
>> restarting Xymon, the tests are still present in UPPERCASE.

Xymon is case insensitive in test- and hostnames, but it will preserve
the case that it learns about first. So if you *delete* the tests that
are uppercase, then it will pick up the spelling that is used by the
first test that is reported by a client. On the other hand, if you
*modify* the entries in the checkpoint file, then it will preserve the
case that you have in the checkpoint file.

And yes, you must shutdown xymon when editing the checkpoint file. It
really isn't meant to be edited :-)

I am not entirely sure if you will lose the history for those tests
that get renamed. History is saved in directories and files, and the
filenames are case-sensitive - so you may need to rename those
directories by hand if you want to keep the history.


Regards,
Henrik

_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon


Bruce White
Senior Enterprise Systems Engineer  | Phone: 1-630-671-5169    | bewhite at fellowes.com  |  www.fellowes.com


Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc



More information about the Xymon mailing list