Xymon Mailing List Archive search

Feature Request

list Norbert Kriegenburg
Wed, 27 Aug 2014 09:25:09 +0200
Message-Id: <user-e344de5ad9ff@xymon.invalid>

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 <user-af55987f6d56@xymon.invalid>
To:	Vernon Everett <user-b3f8dacb72c8@xymon.invalid>
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/:/\&colon;/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/=/\&#61;/g'


On Mon, Aug 25, 2014 at 8:43 PM, Vernon Everett <user-b3f8dacb72c8@xymon.invalid>
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