Xymon Mailing List Archive search

Renaming a test from UPPERCASE to NormalCase

list Ralph Mitchell
Sun, 8 Feb 2015 02:03:10 -0500
Message-Id: <CAAEjoCU06i3a-1yfUxZxM0TyrpaZ_0ApwqPFW7=user-9005deab6955@xymon.invalid>

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" <user-6e4f7a3bb37f@xymon.invalid> 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 | user-46c89e614701@xymon.invalid- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'

On Feb 6, 2015, at 09:42, Becker Christian <
user-e4a19bfb94c0@xymon.invalid> 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


user-e4a19bfb94c0@xymon.invalid


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:user-00a5e44c48c0@xymon.invalid
<user-00a5e44c48c0@xymon.invalid>]
*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" <
user-e4a19bfb94c0@xymon.invalid> 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


user-e4a19bfb94c0@xymon.invalid


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" <user-ce4d79d99bab@xymon.invalid> 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    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska