[rrd-users] y-axis and x-axis

Yaw Owusu-Ansah Yaw.Owusu-Ansah at vodafone.com
Thu Aug 13 16:59:50 CEST 2009

Hi all,
Am still learning ow to use rrd and how can I get my y-axis appear as
percentages and my x-axis in time, day, week?

-----Original Message-----
From: rrd-users-bounces at lists.oetiker.ch
[mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Tobias Oetiker
Sent: Wednesday, August 12, 2009 2:51 PM
To: Michael P. Soulier
Cc: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] computing NaN


Today Michael P. Soulier wrote:

> Hi,
> I'm not sure why I'm getting this, but I have an average value being
> computed for a graph that is resulting in NaN being displayed.
> I traced my update command, and it's entering an integer value of
> 4998. Dumping my rrd db, I see
>         <ds>
>                 <name> user_licenses_c </name>
>                 <type> GAUGE </type>
>                 <minimal_heartbeat> 600 </minimal_heartbeat>
>                 <min> 0.0000000000e+00 </min>
>                 <max> 2.5000000000e+03 </max>

you set the maximum allowed value to 2500

>                 <!-- PDP Status -->
>                 <last_ds> 4998 </last_ds>

you try to input 4998

>                 <value> NaN </value>

rrdtool records NaN since your input is out of bounds

>                 <unknown_sec> 119 </unknown_sec>
>         </ds>
> Why does the value show NaN when the last data source was 4998? I'm
> confused.



> Mike

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

rrd-users mailing list
rrd-users at lists.oetiker.ch

More information about the rrd-users mailing list