[rrd-users] RRDs Coding Question - Dynamic Multiple RRD Data Sources

Tobias Oetiker tobi at oetiker.ch
Thu Nov 8 09:01:27 CET 2012


Hi Wesley,

Yesterday Wesley Wyche wrote:

> In this scenario with data going to 1 of N locations (rrd's), the data for
> timeslot A / rrd1 would be Unk (for example), timeslot A / rrd2 would be
> Unk, timeslot A/ rrdN would be 5 (random num i picked for example.
>
> Unk + Unk + 5 = 5
>
> Because we throw out the values from the other timeslots in all rrds where
> there is no value.
>
> But, this doesn't code well using rrd as the calculator since any Unk means
> it all becomes Unk.

you can use a CDEF to turn UNKNOWN into 0 (or any other number)
prior to do you addition

cheers
tobi


>
>
> --
> View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/RRDs-Coding-Question-Dynamic-Multiple-RRD-Data-Sources-tp7580480p7580589.html
> Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list