[rrd-users] computing NaN

Michael P. Soulier msoulier at digitaltorque.ca
Wed Aug 12 15:42:23 CEST 2009


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>

                <!-- PDP Status -->
                <last_ds> 4998 </last_ds>
                <value> NaN </value>
                <unknown_sec> 119 </unknown_sec>
        </ds>

Why does the value show NaN when the last data source was 4998? I'm
confused.

Thanks,
Mike
-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein



More information about the rrd-users mailing list