Xymon Mailing List Archive search

Tag to make NCV engine ignore status text

list Matt Vander Werf
Wed, 13 Sep 2017 18:51:26 -0400
Message-Id: <CAE6TTt4hVidKeB439o-0Ln7EbxOpcPLkLk7=user-1f5402b48fd2@xymon.invalid>

Looks like this is formally documented in xymond_rrd(8) man page (and
there's more options to use too):


       Any  lines  in the status message prepended with a "<!-- ncv_skip
-->" will be skipped by the module. This can be used to prevent unneeded
RRD files
       from an existing dataset from being created.

       A line prepended with a "<!-- ncv_skipstart -->" will be ignored,
along with all subsequent lines until a line starting with "<!--
ncv_skipend  -->"
       is found, at which point processing will resume. This can be used to
ignore explanatory or other text with a mostly-ncv message.

       "<!-- ncv_ignore -->" can be used to ignore certain text at the
beginning of a line, up until a closing '</-->' tag on the same line, at
which point
       the line will continue to be processed as usual. Wrapping is not
supported; but skipstart/skipend can be used to handle multiple lines.

       A bare "<!-- ncv_end -->" on its own line will stop further NCV
processing of that message.

       All of these ncv_ terms are case-sensitive. Note that if you have
full control over your NCV output, it is most efficient to have NCV data
near  the
       top of your message and use "<!-- ncv_end -->" once your data is
complete.


--
Matt Vander Werf

On Wed, Sep 13, 2017 at 6:35 PM, Matt Vander Werf <user-dfc3cf2ca434@xymon.invalid>
wrote:
If you want to have RRD graphing ignore the data, but still display it on
the web page:

Use

<!-- ncv_skip -->

at the start of the line to skip the whole line.

Or use

<!-- ncv_ignore --> </-->

to ignore only certain parts of the line. I'm not sure if this works for
multiple lines or not (I've only used it to ignore parts of a line).

Hope this helps!

--
Matt Vander Werf

On Wed, Sep 13, 2017 at 5:30 PM, Scot Kreienkamp <
user-9678697f1438@xymon.invalid> wrote:
Hey everyone,


I know there’s a tag that I can include in status messages so xymon
ignores all the text between the tag and /tag, so that the values don’t get
picked up by the NCV engine.  But I can’t find that tag anywhere.  Can
anyone remember what it is?


Thanks!

*Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate*
One La-Z-Boy Drive | Monroe, Michigan 48162  | ( XXX-XXX-XXXX
<(734)%20384-6403> | | ) 7349151444 <(734)%20915-1444> | *  Scot.Kreienk
user-95721f367003@xymon.invalid <%7BE-mail%7D>
www <http://www.la-z-boy.com/>.la-z-boy.com <http://www.la-z-boy.com/>; |
facebook. <https://www.facebook.com/lazboy>com
<https://www.facebook.com/lazboy>/ <https://www.facebook.com/lazboy>;
lazboy <http://facebook.com/lazboy>; | twitter.com/lazboy | youtube.com/
<https://www.youtube.com/user/lazboy>lazboy
<https://www.youtube.com/user/lazboy>;


This message is intended only for the individual or entity to which it
is addressed.  It may contain privileged, confidential information which is
exempt from disclosure under applicable laws.  If you are not the intended
recipient, you are strictly prohibited from disseminating or distributing
this information (other than to the intended recipient) or copying this
information.  If you have received this communication in error, please
notify us immediately by e-mail or by telephone at the above number. Thank
you.

Attachments (1)