Custom RRD definition help
list Scot Kreienkamp
Hi everyone,
I have a test that only executes once per hour, so I am trying to setup a custom RRD definition with a 60 minute step to capture the data. The test is working and is sending its data back as a data message and the RRD file is being created, so all that is setup properly. If I dump the RRD file I can find the most recent value within the last_ds field in the RRD file, but none of the values are ever stored. I'm stumped as to why, hopefully someone can help clue me in.
Thanks!
[dwrite]
-s3600
#1 hour for 48 hours +1
RRA:AVERAGE:0.5:1:49
#2 hour average for 12 days +1
RRA:AVERAGE:0.5:2:156
#4 hour average for 48 days +1
RRA:AVERAGE:0.5:4:294
#8 hour average for 576 days +1
RRA:AVERAGE:0.5:8:1731
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 Jonathan Trott
I had to change my custom test to keep sending the same value through every time to get the data to graph. Write the result to a temp file, submit the contents of the temp file every check time, update the contents of the temp file every hour. Thanks, JT
▸
On 20 Oct 2017, at 02:03, Scot Kreienkamp <user-9678697f1438@xymon.invalid> wrote:
Hi everyone,
I have a test that only executes once per hour, so I am trying to setup a custom RRD definition with a 60 minute step to capture the data. The test is working and is sending its data back as a data message and the RRD file is being created, so all that is setup properly. If I dump the RRD file I can find the most recent value within the last_ds field in the RRD file, but none of the values are ever stored. I’m stumped as to why, hopefully someone can help clue me in.
Thanks!
[dwrite]
-s3600
#1 hour for 48 hours +1
RRA:AVERAGE:0.5:1:49
#2 hour average for 12 days +1
RRA:AVERAGE:0.5:2:156
#4 hour average for 48 days +1
RRA:AVERAGE:0.5:4:294
#8 hour average for 576 days +1
RRA:AVERAGE:0.5:8:1731
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
www.la-z-boy.com | facebook.com/lazboy | twitter.com/lazboy | youtube.com/lazboy
<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.list Scot Kreienkamp
It does get the job done at least, even if it is a bit hackish. If I can’t figure out anything else that’s probably what I’ll have to do. 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
▸
From: Jonathan Trott [mailto:user-18b223f08ecd@xymon.invalid] Sent: Thursday, October 19, 2017 5:07 PM To: Scot Kreienkamp <user-9678697f1438@xymon.invalid> Cc: xymon at xymon.com Subject: Re: [Xymon] Custom RRD definition help I had to change my custom test to keep sending the same value through every time to get the data to graph. Write the result to a temp file, submit the contents of the temp file every check time, update the contents of the temp file every hour. Thanks, JT On 20 Oct 2017, at 02:03, Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid>> wrote: Hi everyone, I have a test that only executes once per hour, so I am trying to setup a custom RRD definition with a 60 minute step to capture the data. The test is working and is sending its data back as a data message and the RRD file is being created, so all that is setup properly. If I dump the RRD file I can find the most recent value within the last_ds field in the RRD file, but none of the values are ever stored. I’m stumped as to why, hopefully someone can help clue me in. Thanks! [dwrite] -s3600 #1 hour for 48 hours +1 RRA:AVERAGE:0.5:1:49 #2 hour average for 12 days +1 RRA:AVERAGE:0.5:2:156 #4 hour average for 48 days +1 RRA:AVERAGE:0.5:4:294 #8 hour average for 576 days +1 RRA:AVERAGE:0.5:8:1731 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>; <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.
attachment.jpg