Xymon Mailing List Archive search

Tag to make NCV engine ignore status text

8 messages in this thread

list Scot Kreienkamp · Wed, 13 Sep 2017 21:30:21 +0000 ·
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 | | * 7349151444 | *  user-9678697f1438@xymon.invalid<mailto:%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<https://twitter.com/lazboy>; | youtube.com/<https://www.youtube.com/user/lazboy>lazboy<https://www.youtube.com/user/lazboy>;

[cid:lzbVertical_hres.jpg]


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)
list Galen Johnson · Wed, 13 Sep 2017 18:28:52 -0400 ·
If you are referring to the web page output, just wrap the ncv area in html
comment tags...

<!-- NCV Data
foo: 7
bar: 34
-->

This will still let the data be parsed by NCV but will hide it from the
browser and not clutter that screen.

=G=


On Wed, Sep 13, 2017 at 5:30 PM, Scot Kreienkamp <
quoted from 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.
user-eece5ef8b6f8@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>;
quoted from Scot Kreienkamp


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.

list Matt Vander Werf · Wed, 13 Sep 2017 18:35:16 -0400 ·
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
quoted from Galen Johnson

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.
user-eece5ef8b6f8@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.

list Galen Johnson · Wed, 13 Sep 2017 18:36:27 -0400 ·
Oh...and if you want to keep NCV from looking at general output...convert
the delimiter to the html encoding in your message stream...so for foo=7
and bar=34...

foo&#61;7
bar&#61;34

It's a hacky kludge but it works...it would be nice if NCV had a block
delimiter like devmon uses. (<!-- NCV Begin --> <!--NCV End --> or some
such).
quoted from Matt Vander Werf

=G=

On Wed, Sep 13, 2017 at 6:28 PM, Galen Johnson <user-fc632e705d24@xymon.invalid> wrote:
If you are referring to the web page output, just wrap the ncv area in
html comment tags...

<!-- NCV Data
foo: 7
bar: 34
-->

This will still let the data be parsed by NCV but will hide it from the
browser and not clutter that screen.

=G=


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/
quoted from Matt Vander Werf
<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.

list Matt Vander Werf · Wed, 13 Sep 2017 18:51:26 -0400 ·
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>
quoted from Galen Johnson
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.

list Scot Kreienkamp · Thu, 14 Sep 2017 12:49:45 +0000 ·
That’s the one I was looking for.  I’ll have to add it to my notes this time.

In my case it’s picking up a border=1 html table tag in the NCV engine.

Thanks!
quoted from Matt Vander Werf

From: Matt Vander Werf [mailto:user-dfc3cf2ca434@xymon.invalid]
Sent: Wednesday, September 13, 2017 6:35 PM
To: Scot Kreienkamp <user-9678697f1438@xymon.invalid>
Cc: xymon at xymon.com
Subject: Re: [Xymon] Tag to make NCV engine ignore status text

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<mailto: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<tel:(734)%20384-6403> | | • 7349151444<tel:(734)%20915-1444> | •  user-9678697f1438@xymon.invalid<mailto:%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<https://twitter.com/lazboy>; | youtube.com/<https://www.youtube.com/user/lazboy>lazboy<https://www.youtube.com/user/lazboy>;

[cid:image001.jpg at 01D32D36.69954330]
quoted from Matt Vander Werf


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.


Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate

One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | | Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
list Scot Kreienkamp · Thu, 14 Sep 2017 12:51:21 +0000 ·
That’s a great tip!  That’ll let me quit using a secondary data message for NCV.

Thanks!
quoted from Galen Johnson

From: Galen Johnson [mailto:user-fc632e705d24@xymon.invalid]
Sent: Wednesday, September 13, 2017 6:29 PM
To: Scot Kreienkamp <user-9678697f1438@xymon.invalid>
Cc: xymon at xymon.com
Subject: Re: [Xymon] Tag to make NCV engine ignore status text

If you are referring to the web page output, just wrap the ncv area in html comment tags...
<!-- NCV Data
foo: 7
bar: 34
-->

This will still let the data be parsed by NCV but will hide it from the browser and not clutter that screen.

=G=


On Wed, Sep 13, 2017 at 5:30 PM, Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto: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<tel:(734)%20384-6403> | | • 7349151444<tel:(734)%20915-1444> | •  user-9678697f1438@xymon.invalid<mailto:%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<https://twitter.com/lazboy>; | youtube.com/<https://www.youtube.com/user/lazboy>lazboy<https://www.youtube.com/user/lazboy>;

[cid:image001.jpg at 01D32D36.A2BA0420]
quoted from Scot Kreienkamp


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.


Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | | Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
list Schminke_Erik_D · Fri, 15 Sep 2017 09:56:06 -0500 ·
I believe the tags you're referring to are the ones listed in the
xymond_rrd module manpage (
http://xymon.sourceforge.net/xymon/help/manpages/man8/xymond_rrd.8.html#lbah
).

Available for use is:

<!-- ncv_skip -->
<!-- ncv_skipstart -->
<!-- ncv_skipend -->
<!-- ncv_ignore -->...</-->
<!-- ncv_end -->


Erik D. Schminke | Associate Systems Programmer
Hormel Foods Corporation | One Hormel Place | Austin, MN XXXXX
Phone: (XXX) XXX-XXXX
user-15513f33c451@xymon.invalid | www.hormelfoods.com