[Xymon] Tag to make NCV engine ignore status text
Matt Vander Werf
matt1299 at gmail.com
Thu Sep 14 00:51:26 CEST 2017
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 <matt1299 at gmail.com>
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 <
> Scot.Kreienkamp at la-z-boy.com> 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 | ( 734-384-6403
>> <(734)%20384-6403> | | ) 7349151444 <(734)%20915-1444> | * Scot.Kreienk
>> amp at la-z-boy.com <%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.
>>
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170913/52a08eb6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lzbVertical_hres.jpg
Type: image/jpeg
Size: 21288 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170913/52a08eb6/attachment.jpg>
More information about the Xymon
mailing list