[Xymon] Feature Request
Norbert Kriegenburg
norbert.kriegenburg at de.ibm.com
Wed Aug 27 09:25:09 CEST 2014
I also like the ease of use of the NCV feature.
Most of the times I hand over the values as hidden html comment in my test
page:
<!-- Begin Xymon NCV section
name1:value1
name2:value2
end Xymon NCV section -->
Then I'm able to separate the more verbose human readable test output from
the NCV name value pairs.
This works like a charm, but sometimes Xymon gets confused if there are ":"
or "=" in the text output (like in date strings...).
What I would suggest is to extend the NCV feature to only grab such lines
with a special keyword like this:
name1:value1 NCVDATA
or
name1:value1 <!-- NCVDATA -->
Then Xymon need only to look for lines with the keyword NCVDATA.
(or maybe it is easier to create a second NCV type to keep backwards
compatability).
Norbert
From: Richard Hamilton <rlhamil2 at gmail.com>
To: Vernon Everett <everett.vernon at gmail.com>
Cc: Xymon mailinglist <xymon at xymon.com>
Date: 26/08/2014 22:28
Subject: Re: [Xymon] Feature Request
Sent by: "Xymon" <xymon-bounces at xymon.com>
One of my scripts had something like
OUTPUT="$(echo "${OUTPUT}"|sed -e 's/:/\:/g')"
to convert all the colons I wanted to hide to the corresponding entity
name, which wouldn't cause that problem. (OUTPUT would be concatenated
with the graphing data later in the script)
Replacing = too would just mean adding to the sed command:
-e 's/=/\=/g'
On Mon, Aug 25, 2014 at 8:43 PM, Vernon Everett <everett.vernon at gmail.com>
wrote:
Hi Henrik
The NCV feature in Xymon is fantastic, and I love it.
It's a quick and easy way to populate a graph with data.
My problem with it, is it sometimes works too well.
Sometimes, we have output that contains : or = that's not part of the
graphing data, and if you are using SPLIT_NCV, it dutifully tries to
graph this information, often with woeful results.
I am looking for a feature that we can use to tag a line as "NCV leave
this alone!"
Perhaps a string of hidden characters at the end of a line, or even a
string of visible characters, which the display process can strip out.
Regards
Vernon
--
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
_______________________________________________
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
More information about the Xymon
mailing list