Renaming a test from UPPERCASE to NormalCase
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.
I did restart the webserver (apache2), the Xymon services, I did drop the test and the whole node MYHOST, all without success. Even if I "hover" with the mouse over the test column DATANODE, the link pointing the the test page still points to a link URL containin the keyword DATANODE and not DataNode.
Is there anything I'm missing or anythind I did the wrong way?
My Xymon is 4.3.11.
Regards Christian
Christian Becker IT-Services
Christian.Becker at rhein-zeitung.net<mailto: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<http://www.rhein-zeitung.de/>
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
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
Ralph Mitchell wrote:
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 <mailto: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 <tel:907-465-8591> John.Thurston at alaska.gov <mailto:John.Thurston at alaska.gov> Enterprise Technology Services Department of Administration State of Alaska
I believe this is still the case. I went around a few buoys because our DB people had created a test called "Cluster" and then our Unix people created a test called "cluster", but the unix test appeared on the page as "Cluster". This distinction propagated though to analysis.cfg and alerts.cfg and graphs.cfg as well.
Andy
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<mailto: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<http://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<mailto: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<tel:907-465-8591> John.Thurston at alaska.gov<mailto:John.Thurston at alaska.gov> Enterprise Technology Services Department of Administration State of Alaska
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
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
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<mailto: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<http://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<mailto: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<mailto: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<http://www.rhein-zeitung.de/>
Von: Xymon [mailto:xymon-bounces at xymon.com<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<mailto: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<mailto: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<tel:907-465-8591> John.Thurston at alaska.gov<mailto:John.Thurston at alaska.gov> Enterprise Technology Services Department of Administration State of Alaska
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
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
I went nuts trying to do this once in the past. Some parts of xymon are case-sensitive and other parts don't seem to be. I ended up totally obliterating any trace of the test and then starting fresh.
On Fri, Feb 6, 2015 at 10:37 AM, Ralph Mitchell <ralphmitchell at gmail.com> wrote:
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Can you shortly explain the „checkpoint“ file?
Regards Christian
Christian Becker IT-Services
Christian.Becker at rhein-zeitung.net<mailto: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<http://www.rhein-zeitung.de/>
Von: Ralph Mitchell [mailto: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<mailto: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<mailto: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<http://www.rhein-zeitung.de/>
Von: Ralph Mitchell [mailto:ralphmitchell at gmail.com<mailto:ralphmitchell at gmail.com>] Gesendet: Freitag, 6. Februar 2015 12:48 An: Becker Christian Cc: John Thurston; xymon at xymon.com<mailto: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<mailto: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<mailto: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<http://www.rhein-zeitung.de/>
Von: Xymon [mailto:xymon-bounces at xymon.com<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<mailto: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<mailto: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<tel:907-465-8591> John.Thurston at alaska.gov<mailto:John.Thurston at alaska.gov> Enterprise Technology Services Department of Administration State of Alaska
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
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 ? ☺
Regards
Christian Becker IT-Services
Christian.Becker at rhein-zeitung.net<mailto: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<http://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<mailto: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<http://www.rhein-zeitung.de/>
Von: Ralph Mitchell [mailto:ralphmitchell at gmail.com] Gesendet: Freitag, 6. Februar 2015 16:37 An: Becker Christian Cc: John Thurston; xymon at xymon.com<mailto: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<mailto: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<mailto: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<http://www.rhein-zeitung.de/>
Von: Ralph Mitchell [mailto:ralphmitchell at gmail.com<mailto:ralphmitchell at gmail.com>] Gesendet: Freitag, 6. Februar 2015 12:48 An: Becker Christian Cc: John Thurston; xymon at xymon.com<mailto: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<mailto: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<mailto: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<http://www.rhein-zeitung.de/>
Von: Xymon [mailto:xymon-bounces at xymon.com<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<mailto: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<mailto: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<tel:907-465-8591> John.Thurston at alaska.gov<mailto:John.Thurston at alaska.gov> Enterprise Technology Services Department of Administration State of Alaska
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
I managed to do this a couple of times, it's a real pain though as stated in this thread. But is is possible to fix.
I used something along the lines of what is mentioned here (also some explanations as to why it happens):
http://comments.gmane.org/gmane.comp.monitoring.hobbit/30529
On Mon, Feb 9, 2015 at 9: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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
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
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
I would think dropping the test would yield this result. But it seems like other people do not agree. Is that true?
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences* || \\UTGERS |---------------------*O*--------------------- ||_// Biomedical | Ryan Novosielski - Senior Technologist || \\ and Health | novosirj at rutgers.edu<mailto:novosirj at rutgers.edu>- 973/972.0922 (2x0922) || \\ Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark `'
On Feb 6, 2015, at 09:42, Becker Christian <christian.becker at rhein-zeitung.net<mailto: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<mailto: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<http://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<mailto: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<mailto: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<mailto: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<http://www.rhein-zeitung.de/>
Von: Xymon [mailto:xymon-bounces at xymon.com<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<mailto: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<mailto: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<tel:907-465-8591> John.Thurston at alaska.gov<mailto:John.Thurston at alaska.gov> Enterprise Technology Services Department of Administration State of Alaska
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
I think at minimum you need to drop that test for all hosts that have it. Even then, Xymon may still keep the original-case spelling in an internal list. Dunno about that part....
Ralph Mitchell On Feb 8, 2015 1:33 AM, "Novosielski, Ryan" <novosirj at ca.rutgers.edu> wrote:
I would think dropping the test would yield this result. But it seems like other people do not agree. Is that true?
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences* || \\UTGERS |---------------------*O*--------------------- ||_// Biomedical | Ryan Novosielski - Senior Technologist || \\ and Health | novosirj at rutgers.edu- 973/972.0922 (2x0922) || \\ Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark `'
On Feb 6, 2015, at 09:42, 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 <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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Just dropping the test didn’t do it for me….
Regards Christian
Christian Becker IT-Services
Christian.Becker at rhein-zeitung.net<mailto: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<http://www.rhein-zeitung.de/>
Von: Novosielski, Ryan [mailto:novosirj at ca.rutgers.edu] Gesendet: Sonntag, 8. Februar 2015 07:34 An: Becker Christian Cc: Ralph Mitchell; xymon at xymon.com Betreff: Re: [Xymon] Renaming a test from UPPERCASE to NormalCase
I would think dropping the test would yield this result. But it seems like other people do not agree. Is that true?
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences* || \\UTGERS<file:///\\UTGERS> |---------------------*O*--------------------- ||_// Biomedical | Ryan Novosielski - Senior Technologist || \\ and Health | novosirj at rutgers.edu<mailto:novosirj at rutgers.edu>- 973/972.0922 (2x0922) || \\ Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark `'
On Feb 6, 2015, at 09:42, Becker Christian <christian.becker at rhein-zeitung.net<mailto: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<mailto: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<http://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<mailto: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<mailto: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<mailto: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<http://www.rhein-zeitung.de/>
Von: Xymon [mailto:xymon-bounces at xymon.com<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<mailto: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<mailto: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<tel:907-465-8591> John.Thurston at alaska.gov<mailto:John.Thurston at alaska.gov> Enterprise Technology Services Department of Administration State of Alaska
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
I'd already try this step, but also without success....
My script reports in as "DataNode" - that's the most confusing part.
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
-----Ursprüngliche Nachricht----- Von: Xymon [mailto:xymon-bounces at xymon.com] Im Auftrag von John Thurston Gesendet: Donnerstag, 5. Februar 2015 17:47 An: xymon at xymon.com Betreff: Re: [Xymon] Renaming a test from UPPERCASE to NormalCase
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
participants (9)
-
abs@shadymint.com
-
betsy.schwartz@gmail.com
-
bewhite@fellowes.com
-
christian.becker@rhein-zeitung.net
-
henrik@hswn.dk
-
john.thurston@alaska.gov
-
novosirj@ca.rutgers.edu
-
ralphmitchell@gmail.com
-
rectifier@gmail.com