[Xymon] Renaming a test from UPPERCASE to NormalCase

Ralph Mitchell ralphmitchell at gmail.com
Mon Feb 9 12:51:14 CET 2015


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.  That's why you need to shut down Xymon before editing the
checkpoint file.

I have never tried it...

Ralph Mitchell
On Feb 9, 2015 3:16 AM, "Becker Christian" <
christian.becker at rhein-zeitung.net> wrote:

>  I found the checkpointfile.
>
>
>
> 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.
>
>
>
> Hm, Xymon – the beast ? J
>
>
>
> Regards
>
>
>
> *Christian Becker*
> IT-Services
>
>
>
> Christian.Becker at rhein-zeitung.net
>
> _________________________________
>
> Mittelrhein-Verlag GmbH
> August-Horch-Straße 28
> D-56070 Koblenz
>
> Verleger und Geschäftsführer: Walterpeter Twer
> Reg.-Gericht Koblenz HRB 121
> Finanzamt Koblenz Str.Nr. 22 65 10 285 2
>
> www.rhein-zeitung.de
>
>
>
> *Von:* Xymon [mailto:xymon-bounces at xymon.com] *Im Auftrag von *Becker
> Christian
> *Gesendet:* Montag, 9. Februar 2015 08:43
> *An:* 'Ralph Mitchell'
> *Cc:* xymon at xymon.com
> *Betreff:* Re: [Xymon] Renaming a test from UPPERCASE to NormalCase
>
>
>
> Can you shortly explain the „checkpoint“ file?
>
>
>
> Regards
>
> Christian
>
>
>
> *Christian Becker*
> IT-Services
>
>
>
> Christian.Becker at rhein-zeitung.net
>
> _________________________________
>
> Mittelrhein-Verlag GmbH
> August-Horch-Straße 28
> D-56070 Koblenz
>
> Verleger und Geschäftsführer: Walterpeter Twer
> Reg.-Gericht Koblenz HRB 121
> Finanzamt Koblenz Str.Nr. 22 65 10 285 2
>
> www.rhein-zeitung.de
>
>
>
> *Von:* Ralph Mitchell [mailto:ralphmitchell at gmail.com
> <ralphmitchell at gmail.com>]
> *Gesendet:* Freitag, 6. Februar 2015 16:37
> *An:* Becker Christian
> *Cc:* John Thurston; xymon at xymon.com
> *Betreff:* Re: AW: AW: [Xymon] Renaming a test from UPPERCASE to
> NormalCase
>
>
>
> If you stop Xymon, save a copy of the checkpoint file, then edit the file
> to change all the misspellings , that might do it.  I don't know where else
> it might be "remembered".  You might also need to rename and/or edit some
> history files.
>
> Ralph Mitchell
>
> On Feb 6, 2015 9:42 AM, "Becker Christian" <
> christian.becker at rhein-zeitung.net> wrote:
>
>  Ralph,
>
>
>
> that’s what i’ve learned from that behaviour.
>
>
>
> But I’m wondering if it wouldn’t be possible to ->completely wipe out the
> word<- in UPPERCASE out of my Xymon data?
>
> So that my script afterwards creates a Normalcase word?
>
>
>
> Regards
>
> Christian
>
>
>
> *Christian Becker*
> IT-Services
>
>
>
> Christian.Becker at rhein-zeitung.net
>
> _________________________________
>
> Mittelrhein-Verlag GmbH
> August-Horch-Straße 28
> D-56070 Koblenz
>
> Verleger und Geschäftsführer: Walterpeter Twer
> Reg.-Gericht Koblenz HRB 121
> Finanzamt Koblenz Str.Nr. 22 65 10 285 2
>
> www.rhein-zeitung.de
>
>
>
> *Von:* Ralph Mitchell [mailto:ralphmitchell at gmail.com]
> *Gesendet:* Freitag, 6. Februar 2015 12:48
> *An:* Becker Christian
> *Cc:* John Thurston; xymon at xymon.com
> *Betreff:* Re: AW: [Xymon] Renaming a test from UPPERCASE to NormalCase
>
>
>
> Well, yes, you can change the test name to a completely different word.
> However, the first report with the new name defines the uppercase/lowercase
> characteristics for that word.
>
> So, you can change the test name from DATANODE to dN, which is a different
> word, but you won't subsequently be able to change dN to DN or dN or Dn.
>
> Ralph Mitchell
>
> On Feb 6, 2015 2:40 AM, "Becker Christian" <
> christian.becker at rhein-zeitung.net> wrote:
>
>  I think that’s not 100% right, since i was able to rename this test from
> “DATANODE” to “DN”; so this was successful.
>
> But after that, when my script was reporting again to the Xymon server,
> there was an additional column “DATANODE” again. So, that part matches your
> answer, that the next upcoming messages will result in the “old” column
> name.
>
>
>
>
>
> Regards
>
> Christian
>
>
>
> *Christian Becker*
> IT-Services
>
>
>
> Christian.Becker at rhein-zeitung.net
>
> _________________________________
>
> Mittelrhein-Verlag GmbH
> August-Horch-Straße 28
> D-56070 Koblenz
>
> Verleger und Geschäftsführer: Walterpeter Twer
> Reg.-Gericht Koblenz HRB 121
> Finanzamt Koblenz Str.Nr. 22 65 10 285 2
>
> www.rhein-zeitung.de
>
>
>
> *Von:* Xymon [mailto:xymon-bounces at xymon.com] *Im Auftrag von *Ralph
> Mitchell
> *Gesendet:* Donnerstag, 5. Februar 2015 18:24
> *An:* John Thurston
> *Cc:* xymon at xymon.com
> *Betreff:* Re: [Xymon] Renaming a test from UPPERCASE to NormalCase
>
>
>
> In my experience, it is next to impossible to rename a test column.
> Whatever it first shows up as, that's what is remembered. I guess
> subsequent reports are matched case-insensitively, so any other upper/lower
> case combination is mapped to that first record.
>
> Or maybe things have changed since I last tried, but that's how I remember
> it. Rename was for hostnames only.
>
> Ralph Mitchell
>
> On Feb 5, 2015 11:48 AM, "John Thurston" <john.thurston at alaska.gov> wrote:
>
> On 2/5/2015 6:52 AM, Becker Christian wrote:
>
> All,
>
> i want to rename a test column from UPPERCASE to NormalCase.
>
> I tried this using the command:
>
> xymon localhost “rename MYHOST DATANODE DataNode”
>
> Unfortunately this doesn’t seem to work.
>
>
> Did you try the ol' two-step?
> “rename MYHOST DATANODE foo”
> “rename MYHOST foo DataNode”
>
> Is your test script reporting in as "DATANODE" or as "DataNode"?
>
>
> --
>    Do things because you should, not just because you can.
>
> John Thurston    907-465-8591
> John.Thurston at alaska.gov
> Enterprise Technology Services
> Department of Administration
> State of Alaska
> _______________________________________________
> 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/20150209/e5897ce4/attachment.html>


More information about the Xymon mailing list