Tag to make NCV engine ignore status text
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 | | * 7349151444 | * Scot.Kreienkamp at la-z-boy.com<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.
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 < 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. Kreienkamp 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
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=7 bar=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).
=G=
On Wed, Sep 13, 2017 at 6:28 PM, Galen Johnson <solitaryr at gmail.com> 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 < 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
That’s a great tip! That’ll let me quit using a secondary data message for NCV.
Thanks!
From: Galen Johnson [mailto:solitaryr at gmail.com] Sent: Wednesday, September 13, 2017 6:29 PM To: Scot Kreienkamp <Scot.Kreienkamp at la-z-boy.com> 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 <Scot.Kreienkamp at la-z-boy.com<mailto: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<tel:(734)%20384-6403> | | • 7349151444<tel:(734)%20915-1444> | • Scot.Kreienkamp at la-z-boy.com<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]
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<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: 734-384-6403 | | Mobile: 7349151444 | Email: Scot.Kreienkamp at la-z-boy.com
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. Kreienkamp 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
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
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!
From: Matt Vander Werf [mailto:matt1299 at gmail.com] Sent: Wednesday, September 13, 2017 6:35 PM To: Scot Kreienkamp <Scot.Kreienkamp at la-z-boy.com> 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 <Scot.Kreienkamp at la-z-boy.com<mailto: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<tel:(734)%20384-6403> | | • 7349151444<tel:(734)%20915-1444> | • Scot.Kreienkamp at la-z-boy.com<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]
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<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: 734-384-6403 | | Mobile: 7349151444 | Email: Scot.Kreienkamp at la-z-boy.com
participants (3)
-
matt1299@gmail.com
-
Scot.Kreienkamp@la-z-boy.com
-
solitaryr@gmail.com