« Return to Thread: Additional "Unknown"-Value

Re: Additional "Unknown"-Value

by Alex van den Bogaerdt-2 :: Rate this Message:

Reply to Author | View in Thread

Using some version of rrdtool, found on my system:

---cut here---
rrdtool create example1.rrd --step 300 --start 1245016800 DS:x:GAUGE:300:U:U
RRA:AVERAGE:0:1:100
rrdtool create example2.rrd --step 300 --start 1245016800 DS:x:GAUGE:300:U:U
RRA:AVERAGE:0.99:1:100
rrdtool create example3.rrd --step   1 --start 1245016800 DS:x:GAUGE:300:U:U
RRA:AVERAGE:0:300:100
rrdtool create example4.rrd --step   1 --start 1245016800 DS:x:GAUGE:300:U:U
RRA:AVERAGE:0.99:300:100

for i in 1 2 3 4
do
        rrdtool update example$i.rrd 1245017100:100
        rrdtool update example$i.rrd 1245017400:200
        rrdtool update example$i.rrd 1245017410:300
        rrdtool update example$i.rrd 1245017420:U
        rrdtool update example$i.rrd 1245017430:400
        rrdtool update example$i.rrd 1245017700:500
        rrdtool update example$i.rrd 1245018000:600
done

for i in 1 2 3 4
do
        rrdtool fetch example$i.rrd AVERAGE --start 1245017100 --end
1245018000
done
---cut here---

examples 1,2 and 4 have a known rate between 1245017400 and 1245017700. Only
example 3 has an unknown rate.

I think this is to be expected. Two important details:

1: the "U" update should not get superseeded by another update (here at
1245017430)
2: the unknown rate should not be ignored due to the X-Files Factor
(examples 2 and 4)

HTH
Alex


----- Original Message -----
From: "Tobias Oetiker" <tobi@...>
To: "n1LL3" <Christian.Michel@...>
Cc: <rrd-users@...>
Sent: Monday, June 15, 2009 2:08 PM
Subject: Re: [rrd-users] Additional "Unknown"-Value


> Today n1LL3 wrote:
>> What we want is a value, what we can give to the RRD with an
>> update-command,
>> so the RRD knows that here was a real breakdown and it should not
>> backfill
>> here.
>
> ah ... in that case you log
>
> rrdtool update $now-1:U
> rrdtool update $now:new_value
>
> then there will be no back-filling.
>
> cheers
> tobi
>
>
> --
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> http://it.oetiker.ch tobi@... ++41 62 775 9902 / sb: -9900
>
> _______________________________________________
> rrd-users mailing list
> rrd-users@...
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>


_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

 « Return to Thread: Additional "Unknown"-Value