From Foster.Patch@accuweather.com Wed Jun 24 08:23:57 2026 From: Foster.Patch@accuweather.com To: xymon@xymon.com Subject: [Xymon] Xymon Graph propagated with -nan Date: Fri, 17 Jun 2016 14:10:52 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7643933497907809766==" --===============7643933497907809766== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I have a custom monitor that I created which will monitor connections and req= uests. (http://pastebin.com/bdLZfFAW) The monitor works properly, however the= graphing does not. This image displays what is wrong with the graph: http://= imgur.com/ZFKkPYs. I have also attached my rrd dump of this monitor. (http://= pastebin.com/CRadmAHu) Finally, attached is the graph definition for the test= , located in graphs.cfg (http://pastebin.com/zX1HNi3p). I know the issue here= is that the last_ds is picking up the values as "U", which is bad, but I don= 't know what to do about it. Any help would be appreciated, thanks, Foster Patch Web Server Technician AccuWeather --===============7643933497907809766==-- From Scot.Kreienkamp@la-z-boy.com Wed Jun 24 08:23:57 2026 From: Scot.Kreienkamp@la-z-boy.com To: xymon@xymon.com Subject: [Xymon] Xymon Graph propagated with -nan Date: Fri, 17 Jun 2016 14:36:00 +0000 Message-ID: <17082AAFC33A934082836458CB53494370E49580@MONDB03.na.lzb.hq> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4713598851849573557==" --===============4713598851849573557== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The script must report values in a specific format in either a status message= or a data message, separated by a colon like so: $LABEL:$VALUE Otherwise the NCV module will not pick it up. Here's some examples from my workstations, everything between the BEGIN/END b= ut not including the BEGIN/END lines is sent as the status message, including= the blank lines: BEGIN status corpvskreienl.na.lzb.hq.mounts green Fri Jun 17 10:29:34 EDT 2016 OK
ColorDeviceMount LocationFilesystem typeOptions
&greenrootfs/rootfsrw
END And a data message: BEGIN data corpvskreienl.na.lzb.hq.mounts C:80 D:60 END My tests all send status messages using HTML formatting, being very careful n= ot to send a colon anywhere in the status report so as not to confuse the NCV= module. You can use HTML formatting for colons, tables, etc in the status m= essages and they will be passed through to the browser and display properly. = I will then send a second data only message with the NCV format for the NCV = module to pick up. Good practice for me always has been to include a blank l= ine before and after the message body in both status and data messages. It u= sed to be required due to a bug if I remember correctly, not sure if it still= is but I always do it anyway out of habit and don't have any issues. 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 From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Foster Patch Sent: Friday, June 17, 2016 10:11 AM To: xymon at xymon.com Subject: Re: [Xymon] Xymon Graph propagated with -nan Hello, I have a custom monitor that I created which will monitor connections and req= uests. (http://pastebin.com/bdLZfFAW) The monitor works properly, however the= graphing does not. This image displays what is wrong with the graph: http://= imgur.com/ZFKkPYs. I have also attached my rrd dump of this monitor. (http://= pastebin.com/CRadmAHu) Finally, attached is the graph definition for the test= , located in graphs.cfg (http://pastebin.com/zX1HNi3p). I know the issue here= is that the last_ds is picking up the values as "U", which is bad, but I don= 't know what to do about it. Any help would be appreciated, thanks, Foster Patch Web Server Technician AccuWeather This message is intended only for the individual or entity to which it is add= ressed. 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 informa= tion (other than to the intended recipient) or copying this information. If = you have received this communication in error, please notify us immediately b= y e-mail or by telephone at the above number. Thank you. --===============4713598851849573557==-- From Foster.Patch@accuweather.com Wed Jun 24 08:23:57 2026 From: Foster.Patch@accuweather.com To: xymon@xymon.com Subject: [Xymon] Xymon Graph propagated with -nan Date: Fri, 17 Jun 2016 14:41:28 +0000 Message-ID: In-Reply-To: <17082AAFC33A934082836458CB53494370E49580@MONDB03.na.lzb.hq> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8673824246166443928==" --===============8673824246166443928== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Here is the text file that is created: green 06/17/2016 14:39:20 ASP.NET Application Information &green Everything is looking just fine! &green &green Connections Current: 9 &green Requests Current: 3 &green Request Wait Time: 0 &green Requests Queued: 0 &green Request Exec Time: 3009 You are suggesting I add an additional part to this that is for data only? Is= there any way I can change my status message so it is parsed correctly? Or s= hould I just change it to HTML and include a data section? Foster From: Scot Kreienkamp [mailto:Scot.Kreienkamp at la-z-boy.com] Sent: Friday, June 17, 2016 10:36 AM To: Foster Patch ; xymon at xymon.com Subject: RE: Xymon Graph propagated with -nan The script must report values in a specific format in either a status message= or a data message, separated by a colon like so: $LABEL:$VALUE Otherwise the NCV module will not pick it up. Here's some examples from my workstations, everything between the BEGIN/END b= ut not including the BEGIN/END lines is sent as the status message, including= the blank lines: BEGIN status corpvskreienl.na.lzb.hq.mounts green Fri Jun 17 10:29:34 EDT 2016 OK
ColorDeviceMount LocationFilesystem typeOptions
&greenrootfs/rootfsrw
END And a data message: BEGIN data corpvskreienl.na.lzb.hq.mounts C:80 D:60 END My tests all send status messages using HTML formatting, being very careful n= ot to send a colon anywhere in the status report so as not to confuse the NCV= module. You can use HTML formatting for colons, tables, etc in the status m= essages and they will be passed through to the browser and display properly. = I will then send a second data only message with the NCV format for the NCV = module to pick up. Good practice for me always has been to include a blank l= ine before and after the message body in both status and data messages. It u= sed to be required due to a bug if I remember correctly, not sure if it still= is but I always do it anyway out of habit and don't have any issues. 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 From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Foster Patch Sent: Friday, June 17, 2016 10:11 AM To: xymon at xymon.com Subject: Re: [Xymon] Xymon Graph propagated with -nan Hello, I have a custom monitor that I created which will monitor connections and req= uests. (http://pastebin.com/bdLZfFAW) The monitor works properly, however the= graphing does not. This image displays what is wrong with the graph: http://= imgur.com/ZFKkPYs. I have also attached my rrd dump of this monitor. (http://= pastebin.com/CRadmAHu) Finally, attached is the graph definition for the test= , located in graphs.cfg (http://pastebin.com/zX1HNi3p). I know the issue here= is that the last_ds is picking up the values as "U", which is bad, but I don= 't know what to do about it. Any help would be appreciated, thanks, Foster Patch Web Server Technician AccuWeather This message is intended only for the individual or entity to which it is add= ressed. 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 informa= tion (other than to the intended recipient) or copying this information. If = you have received this communication in error, please notify us immediately b= y e-mail or by telephone at the above number. Thank you. --===============8673824246166443928==-- From Scot.Kreienkamp@la-z-boy.com Wed Jun 24 08:23:57 2026 From: Scot.Kreienkamp@la-z-boy.com To: xymon@xymon.com Subject: [Xymon] Xymon Graph propagated with -nan Date: Fri, 17 Jun 2016 14:55:23 +0000 Message-ID: <17082AAFC33A934082836458CB53494370E496B0@MONDB03.na.lzb.hq> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4470688251817378758==" --===============4470688251817378758== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable It's getting confused because you aren't sending your data in the format it w= ants, where the label /colon/value are the only things on the line for the NC= V module to capture. I would break it up into two files, the status message = with HTML formatting and removing the colons, and the data message with just = the label/colon/value on a line. Not sure how you send a data message though= as it just creates files so you'll have to figure that part out as all mine = are under Linux. FYI, RRD dataset labels are limited to 19 characters. It w= ill truncate the label at 19 which could result in duplicates. FILE1 (status): green 06/17/2016 14:39:20 ASP.NET Application Information &greenEverything is looking just fine! &green Etc,etc,etc
&greenConnections Current:9
/FILE1 FILE2 (data): Connections Current:9 Requests Current:3 Etc,etc,etc /FILE2 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 From: Foster Patch [mailto:Foster.Patch at accuweather.com] Sent: Friday, June 17, 2016 10:41 AM To: Scot Kreienkamp; xymon at xymon.com Subject: RE: Xymon Graph propagated with -nan Here is the text file that is created: green 06/17/2016 14:39:20 ASP.NET Application Information &green Everything is looking just fine! &green &green Connections Current: 9 &green Requests Current: 3 &green Request Wait Time: 0 &green Requests Queued: 0 &green Request Exec Time: 3009 You are suggesting I add an additional part to this that is for data only? Is= there any way I can change my status message so it is parsed correctly? Or s= hould I just change it to HTML and include a data section? Foster From: Scot Kreienkamp [mailto:Scot.Kreienkamp at la-z-boy.com] Sent: Friday, June 17, 2016 10:36 AM To: Foster Patch >; xymon at xymon.com Subject: RE: Xymon Graph propagated with -nan The script must report values in a specific format in either a status message= or a data message, separated by a colon like so: $LABEL:$VALUE Otherwise the NCV module will not pick it up. Here's some examples from my workstations, everything between the BEGIN/END b= ut not including the BEGIN/END lines is sent as the status message, including= the blank lines: BEGIN status corpvskreienl.na.lzb.hq.mounts green Fri Jun 17 10:29:34 EDT 2016 OK
ColorDeviceMount LocationFilesystem typeOptions
&greenrootfs/rootfsrw
END And a data message: BEGIN data corpvskreienl.na.lzb.hq.mounts C:80 D:60 END My tests all send status messages using HTML formatting, being very careful n= ot to send a colon anywhere in the status report so as not to confuse the NCV= module. You can use HTML formatting for colons, tables, etc in the status m= essages and they will be passed through to the browser and display properly. = I will then send a second data only message with the NCV format for the NCV = module to pick up. Good practice for me always has been to include a blank l= ine before and after the message body in both status and data messages. It u= sed to be required due to a bug if I remember correctly, not sure if it still= is but I always do it anyway out of habit and don't have any issues. From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Foster Patch Sent: Friday, June 17, 2016 10:11 AM To:xymon at xymon.com Subject: Re: [Xymon] Xymon Graph propagated with -nan Hello, I have a custom monitor that I created which will monitor connections and req= uests. (http://pastebin.com/bdLZfFAW) The monitor works properly, however the= graphing does not. This image displays what is wrong with the graph:http://i= mgur.com/ZFKkPYs. I have also attached my rrd dump of this monitor. (http://p= astebin.com/CRadmAHu) Finally, attached is the graph definition for the test,= located in graphs.cfg (http://pastebin.com/zX1HNi3p). I know the issue here = is that the last_ds is picking up the values as "U", which is bad, but I don'= t know what to do about it. Any help would be appreciated, thanks, Foster Patch Web Server Technician AccuWeather This message is intended only for the individual or entity to which it is add= ressed. 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 informa= tion (other than to the intended recipient) or copying this information. If = you have received this communication in error, please notify us immediately b= y e-mail or by telephone at the above number. Thank you. --===============4470688251817378758==--