[rrd-users] Doubts about consultations rrd

Jesús Arriola Villarreal piracarter at hotmail.com
Tue May 10 23:51:09 CEST 2016


Hello everyone.
I am developing a process for a report of CPU performance, which makes queries to a time-lapse rrd 30 minutes, starting from 00:00:00 to 23:59:59 of any particular day file.
The commands that would be used to determine AVERAGE and MAXIMUM are:
rrdtool graph x DEF: v = Cpu.rrd: 1: AVERAGE: start = 1462856400: end = start + 1799s VDEF: vm = v, AVERAGE PRINT: vm:% lfrrdtool graph x DEF: v = Cpu.rrd: 1: AVERAGE: start = 1462856400: end = start + 1799s VDEF: vm = v, MAXIMUM PRINT: vm:% lf
1462856400 = May 10, 2016, 00:00:00start + 1799 = May 10, 2016, 00:29:59
The following query would be done as follows
1462858200 = May 10, 2016, 00:30:00start + 1799 = May 10, 2016, 00:59:59
rrdtool graph x DEF: v = Cpu.rrd: 1: AVERAGE: start = 1462858200: end = start + 1799s VDEF: vm = v, AVERAGE PRINT: vm:% lfrrdtool graph x DEF: v = Cpu.rrd: 1: AVERAGE: start = 1462858200: end = start + 1799s VDEF: vm = v, MAXIMUM PRINT: vm:% lf
and so on...

Are consultations with rrd and how to use the time intervals (start and end) are correct, any suggestions?


Jesús Arriola Villarreal

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/rrd-users/attachments/20160510/4a42328f/attachment.html>


More information about the rrd-users mailing list