[rrd-users] DS Gauge or Absolute issue

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 "...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-26-2007
Masood Ahmad Shah
 
Posts: n/a
Default [rrd-users] DS Gauge or Absolute issue

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:34 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0