-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I searched the web a bit and found the Xymon docs and there was mention of two ways of doing custom graphs: NCV and trends messages. NCV doesn't really suit me as my scripts have too much formatting in them and would require a rewrite to have the separate lines for values as is needed by NCV. I happened to check the docs on my 4.2.3 server however and I see that the part about sending trends messages is missing. So, I've got two questions:
Was sending trends messages added in Xymon 4.3.x and not available in 4.2.3?
At the end of this: http://www.xymon.com/xymon/help/howtograph.html ...there's a description of what to put in a trends message. There is not, however, any description of what one does with it. My expectation is that you do the following:
xymon <display> cat trends.file
...where the trends file is like the one described in the manual (eg. starts with "data hostname.test"). Essentially, similar to sending a status message (but sending a data message instead). If this is the case, it might be helpful to have a note there in the manual, or at least a reference to the part of the manual I'm about to go hunt for that I assume mentions data messages.
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBgyKgACgkQmb+gadEcsb7KRwCgnSF/ZHyyLuRFcgHPrn7WotPz Ik0An1gl+WN6UpaeNJ21GWb1rNRqbYTd =B2zv -----END PGP SIGNATURE-----
Hello,
I searched the web a bit and found the Xymon docs and there was mention of two ways of doing custom graphs: NCV and trends messages. NCV doesn't really suit me as my scripts have too much formatting in them and would require a rewrite to have the separate lines for values as is needed by NCV. Perhaps a rewrite is not needed. If the values to be entered in the graph are still available once the status message is build, you could add an HTML comment section to the message containing the NCVs, formatted as Xymon expects them. Additionally, you could replace the ':' and the '=' in the original status message by the corresponding HTML escape character. This will prevent the NCV module from extracting values from the original message.
HTH, Wim Nelis.
The NLR disclaimer is valid for NLR e-mail messages.
This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of the sender. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/25/2012 12:41 AM, Nelis, Wim wrote:
Hello,
I searched the web a bit and found the Xymon docs and there was mention of two ways of doing custom graphs: NCV and trends messages. NCV doesn't really suit me as my scripts have too much formatting in them and would require a rewrite to have the separate lines for values as is needed by NCV. Perhaps a rewrite is not needed. If the values to be entered in the graph are still available once the status message is build, you could add an HTML comment section to the message containing the NCVs, formatted as Xymon expects them. Additionally, you could replace the ':' and the '=' in the original status message by the corresponding HTML escape character. This will prevent the NCV module from extracting values from the original message.
That is actually a pretty interesting idea, though it ends up being about the same amount of work as using a trends message when it comes down to it (except I guess it cuts down on the number of message). I guess the NCV will use either = or : as a delimiter?
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBhSvkACgkQmb+gadEcsb5DGwCgtw7f45WuBMYU6tHp7UTmPQRY n1sAn1GVbqEWaScIomgAZLuUiw3SkQgC =IO/S -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/24/2012 04:55 PM, Ryan Novosielski wrote:
Hi,
I searched the web a bit and found the Xymon docs and there was mention of two ways of doing custom graphs: NCV and trends messages. NCV doesn't really suit me as my scripts have too much formatting in them and would require a rewrite to have the separate lines for values as is needed by NCV. I happened to check the docs on my 4.2.3 server however and I see that the part about sending trends messages is missing. So, I've got two questions:
- Was sending trends messages added in Xymon 4.3.x and not available in 4.2.3?
The answer to this question I found is "no, the feature was indeed available in 4.2.3 but just missing from that section of the docs."
- At the end of this: http://www.xymon.com/xymon/help/howtograph.html ...there's a description of what to put in a trends message. There is not, however, any description of what one does with it. My expectation is that you do the following:
xymon <display>
cat trends.file...where the trends file is like the one described in the manual (eg. starts with "data hostname.test"). Essentially, similar to sending a status message (but sending a data message instead). If this is the case, it might be helpful to have a note there in the manual, or at least a reference to the part of the manual I'm about to go hunt for that I assume mentions data messages.
And this was correct as well.
A followup question relates to the apparent requirement that you add the RRD/test name to both the GRAPH and the TEST2RRD variables in the hobbitserver.cfg. Is there any way to add the graph to just the test page and not the trends page? Why do both of these variables exist if it seems like you need both of them for it to work?
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBhS+YACgkQmb+gadEcsb45xwCeJ0w6ptFrjtdDa92ZkJ1hisHO PjUAnAo0QrYtJT674R2l0yTKnGJj7gZv =BJey -----END PGP SIGNATURE-----
The comments in the "xymonserver.cfg" file are quite clear :-
TEST2RRD
This is also used by the svcstatus.cgi script to determine if the
detailed
status view of a test should include a graph.
GRAPH
This defines which RRD files to include on the "trends" column
webpage,
and the order in which they appear.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Ryan Novosielski Sent: 25 September 2012 07:15 To: xymon at xymon.com Subject: Re: [Xymon] Custom Graphs
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/24/2012 04:55 PM, Ryan Novosielski wrote:
Hi,
I searched the web a bit and found the Xymon docs and there was mention of two ways of doing custom graphs: NCV and trends messages. NCV doesn't really suit me as my scripts have too much formatting in them and would require a rewrite to have the separate lines for values
as is needed by NCV. I happened to check the docs on my 4.2.3 server however and I see that the part about sending trends messages is missing. So, I've got two questions:
- Was sending trends messages added in Xymon 4.3.x and not available in 4.2.3?
The answer to this question I found is "no, the feature was indeed available in 4.2.3 but just missing from that section of the docs."
- At the end of this: http://www.xymon.com/xymon/help/howtograph.html ...there's a description of what to put in a trends message. There is not, however,
any description of what one does with it. My expectation is that you do the following:
xymon <display>
cat trends.file...where the trends file is like the one described in the manual (eg. starts with "data hostname.test"). Essentially, similar to sending a status message (but sending a data message instead). If this is the case, it might be helpful to have a note there in the manual, or at least a reference to the part of the manual I'm about to go hunt for that I assume mentions data messages.
And this was correct as well.
A followup question relates to the apparent requirement that you add the RRD/test name to both the GRAPH and the TEST2RRD variables in the hobbitserver.cfg. Is there any way to add the graph to just the test page and not the trends page? Why do both of these variables exist if it seems like you need both of them for it to work?
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBhS+YACgkQmb+gadEcsb45xwCeJ0w6ptFrjtdDa92ZkJ1hisHO PjUAnAo0QrYtJT674R2l0yTKnGJj7gZv =BJey -----END PGP SIGNATURE-----
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Adding it to the GRAPH variable didn't seem to do anything if it wasn't also present on the TEST2RRD variable, and vice-versa. I will double-check that, but it didn't seem to be possible to do one or the other.
On 09/25/2012 04:16 AM, Chris.Morris at rwe.com wrote:
The comments in the "xymonserver.cfg" file are quite clear :-
TEST2RRD # This is also used by the svcstatus.cgi script to determine if the detailed # status view of a test should include a graph.
GRAPH # This defines which RRD files to include on the "trends" column webpage, # and the order in which they appear.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Ryan Novosielski Sent: 25 September 2012 07:15 To: xymon at xymon.com Subject: Re: [Xymon] Custom Graphs
On 09/24/2012 04:55 PM, Ryan Novosielski wrote:
Hi,
I searched the web a bit and found the Xymon docs and there was mention of two ways of doing custom graphs: NCV and trends messages. NCV doesn't really suit me as my scripts have too much formatting in them and would require a rewrite to have the separate lines for values
as is needed by NCV. I happened to check the docs on my 4.2.3 server however and I see that the part about sending trends messages is missing. So, I've got two questions:
- Was sending trends messages added in Xymon 4.3.x and not available in 4.2.3?
The answer to this question I found is "no, the feature was indeed available in 4.2.3 but just missing from that section of the docs."
- At the end of this: http://www.xymon.com/xymon/help/howtograph.html ...there's a description of what to put in a trends message. There is not, however,
any description of what one does with it. My expectation is that you do the following:
xymon <display>
cat trends.file...where the trends file is like the one described in the manual (eg. starts with "data hostname.test"). Essentially, similar to sending a status message (but sending a data message instead). If this is the case, it might be helpful to have a note there in the manual, or at least a reference to the part of the manual I'm about to go hunt for that I assume mentions data messages.
And this was correct as well.
A followup question relates to the apparent requirement that you add the RRD/test name to both the GRAPH and the TEST2RRD variables in the hobbitserver.cfg. Is there any way to add the graph to just the test page and not the trends page? Why do both of these variables exist if it seems like you need both of them for it to work?
_______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBhbF0ACgkQmb+gadEcsb7kegCeL2sBvcKaKgzmeTHTPbqpqM2P afsAn0HRG7e/eg9ky4DQWNkDgpVhU7+Q =+CIn -----END PGP SIGNATURE-----
participants (3)
-
Chris.Morris@rwe.com
-
novosirj@umdnj.edu
-
Wim.Nelis@nlr.nl