This is a discussion on [rrd-users] DS Gauge or Absolute issue within the RRD Users forums, part of the Networking and Network Related category; I'm trying to add GAUGE or ABSOLUTE value. But it is being displayed UNKN. Here is output of "...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm trying to add GAUGE or ABSOLUTE value. But it is being displayed UNKN.
Here is output of "rrdtool fetch"... ds[partition].type = "ABSOLUTE" ds[partition].minimal_heartbeat = 600 ds[partition].min = 1.0000000000e+00 ds[partition].max = 2.5000000000e+04 ds[partition].last_ds = "UNKN" ds[partition].value = 2.4270785287e+02 ds[partition].unknown_sec = 0 If I change DS type from GAUGE,ABSOLUTE to DERIVE or COUNTER it worked fine. But I need to store GAUGE or ABOSLUTE because the value I'm going to store is static or very rare chances to being changed. Here is my perl code which I'm using to update counters.. if (! -e "$rrd/$classname2.rrd") { print "creating rrd database for $classname2 interface...\n"; RRDs::create "$rrd/$classname2.rrd", "-s 300", "DS:in:DERIVE:600:0:1125000", "DS:out:DERIVE:600:0:1125000", "DS:partition:ABSOLUTE:600:1:25000", "RRA:AVERAGE:0.5:1:576", "RRA:AVERAGE:0.5:6:672", "RRA:AVERAGE:0.5:24:732", "RRA:AVERAGE:0.5:144:1460", } # insert values into rrd RRDs::update "$rrd/$classname2.rrd", "-t", "in:out:partition", "N:$in:$out:$partburstlimit"; } Regards, Masood Ahmad Shah _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|