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
Alternatively, a method to mark a section as NCV data, so that other extraneous data are not misinterpreted. Could be escaped in markup to avoid being rendered, like so:
last update at 10:43:16 <!-- ---NCV-BEGIN--- --> apples: 3 oranges: 7 <!-- ---NCV-END--- --> date of update: 2014/4/1
On 26 August 2014 10:43, 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
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
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
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 --> Perhaps it is good to mention an alternative for NCV, which is the DEVMON format. For example, if a status message contains the following snippet:
<!--DEVMON RRD: NameA 0 0 DS:DsA:GAUGE:600:0:U DS:DsB:GAUGE:600:0:U NameB ValueA:ValueB -->
xymon will create an RRD named NameA.NameB.rrd containing two DS's. I use it often in stead of NCV.
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, Wim Nelis.
The NLR disclaimer is valid for NLR e-mail messages.
This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of the sender. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
participants (5)
-
everett.vernon@gmail.com
-
jlaidman@rebel-it.com.au
-
norbert.kriegenburg@de.ibm.com
-
rlhamil2@gmail.com
-
Wim.Nelis@nlr.nl