[rrd-users] Missing "wrong data" error bar in rrdgraph

Aleksey Tsalolikhin atsaloli.tech at gmail.com
Tue Jun 22 21:39:22 CEST 2010


Hi.

Using rrdtool 1.4.3.

I am measuring Web server response speed and saving it as a GAUGE.
I have two intervals where the check failed and the GAUGE reads NaN

I tried to follow "Example: You suspect to have problems and want to
see unknown data."
from RRDtool CDEF Tutorial at
http://oss.oetiker.ch/rrdtool/tut/cdeftutorial.en.html#___top

I only get one error bar!  I am expecting two.  Only the 2nd interval
(1:55 AM) gets
marked with a vertical red bar.  Why not the first?

Here is my data - notice the two NaN gaps, please:


                        <!-- 2010-06-22 01:17:00 PDT / 1277194620 -->
<row><v>1.4133759156e-02</v></row>
                        <!-- 2010-06-22 01:18:00 PDT / 1277194680 -->
<row><v>1.5458880601e-02</v></row>
                        <!-- 2010-06-22 01:19:00 PDT / 1277194740 -->
<row><v>1.3736403345e-02</v></row>
                        <!-- 2010-06-22 01:20:00 PDT / 1277194800 -->
<row><v>1.4158108473e-02</v></row>
                        <!-- 2010-06-22 01:21:00 PDT / 1277194860 -->
<row><v>2.1369018618e-02</v></row>
                        <!-- 2010-06-22 01:22:00 PDT / 1277194920 -->
<row><v>1.4186477897e-02</v></row>
                        <!-- 2010-06-22 01:23:00 PDT / 1277194980 -->
<row><v>2.4404373157e-02</v></row>
                        <!-- 2010-06-22 01:24:00 PDT / 1277195040 -->
<row><v>1.6795937260e-02</v></row>
                        <!-- 2010-06-22 01:25:00 PDT / 1277195100 -->
<row><v>1.7826794263e-02</v></row>
                        <!-- 2010-06-22 01:26:00 PDT / 1277195160 -->
<row><v>3.0377608930e-02</v></row>
                        <!-- 2010-06-22 01:27:00 PDT / 1277195220 -->
<row><v>1.3966722613e-02</v></row>
                        <!-- 2010-06-22 01:28:00 PDT / 1277195280 -->
<row><v>1.3471476363e-02</v></row>
                        <!-- 2010-06-22 01:29:00 PDT / 1277195340 -->
<row><v>1.5893229426e-02</v></row>
                        <!-- 2010-06-22 01:30:00 PDT / 1277195400 -->
<row><v>1.3557266078e-02</v></row>
                        <!-- 2010-06-22 01:31:00 PDT / 1277195460 -->
<row><v>NaN</v></row>
                        <!-- 2010-06-22 01:32:00 PDT / 1277195520 -->
<row><v>NaN</v></row>
                        <!-- 2010-06-22 01:33:00 PDT / 1277195580 -->
<row><v>1.4030011051e-02</v></row>
                        <!-- 2010-06-22 01:34:00 PDT / 1277195640 -->
<row><v>1.3431582876e-02</v></row>
                        <!-- 2010-06-22 01:35:00 PDT / 1277195700 -->
<row><v>1.7614067761e-02</v></row>
                        <!-- 2010-06-22 01:36:00 PDT / 1277195760 -->
<row><v>1.8090661244e-02</v></row>
                        <!-- 2010-06-22 01:37:00 PDT / 1277195820 -->
<row><v>1.3814591415e-02</v></row>
                        <!-- 2010-06-22 01:38:00 PDT / 1277195880 -->
<row><v>3.2532617541e-02</v></row>
                        <!-- 2010-06-22 01:39:00 PDT / 1277195940 -->
<row><v>1.4515580258e-02</v></row>
                        <!-- 2010-06-22 01:40:00 PDT / 1277196000 -->
<row><v>1.3481606574e-02</v></row>
                        <!-- 2010-06-22 01:41:00 PDT / 1277196060 -->
<row><v>1.3730339038e-02</v></row>
                        <!-- 2010-06-22 01:42:00 PDT / 1277196120 -->
<row><v>2.2169347531e-02</v></row>
                        <!-- 2010-06-22 01:43:00 PDT / 1277196180 -->
<row><v>1.4419843140e-02</v></row>
                        <!-- 2010-06-22 01:44:00 PDT / 1277196240 -->
<row><v>1.3465981451e-02</v></row>
                        <!-- 2010-06-22 01:45:00 PDT / 1277196300 -->
<row><v>1.3458777489e-02</v></row>
                        <!-- 2010-06-22 01:46:00 PDT / 1277196360 -->
<row><v>1.3639626973e-02</v></row>
                        <!-- 2010-06-22 01:47:00 PDT / 1277196420 -->
<row><v>1.3671319593e-02</v></row>
                        <!-- 2010-06-22 01:48:00 PDT / 1277196480 -->
<row><v>1.5652775347e-02</v></row>
                        <!-- 2010-06-22 01:49:00 PDT / 1277196540 -->
<row><v>2.0723159829e-02</v></row>
                        <!-- 2010-06-22 01:50:00 PDT / 1277196600 -->
<row><v>1.3671757880e-02</v></row>
                        <!-- 2010-06-22 01:51:00 PDT / 1277196660 -->
<row><v>1.6782311308e-02</v></row>
                        <!-- 2010-06-22 01:52:00 PDT / 1277196720 -->
<row><v>1.3780379840e-02</v></row>
                        <!-- 2010-06-22 01:53:00 PDT / 1277196780 -->
<row><v>1.7105404126e-02</v></row>
                        <!-- 2010-06-22 01:54:00 PDT / 1277196840 -->
<row><v>1.7286560709e-02</v></row>
                        <!-- 2010-06-22 01:55:00 PDT / 1277196900 -->
<row><v>1.4139986921e-02</v></row>
                        <!-- 2010-06-22 01:56:00 PDT / 1277196960 -->
<row><v>NaN</v></row>
                        <!-- 2010-06-22 01:57:00 PDT / 1277197020 -->
<row><v>NaN</v></row>
                        <!-- 2010-06-22 01:58:00 PDT / 1277197080 -->
<row><v>1.3923970668e-02</v></row>
                        <!-- 2010-06-22 01:59:00 PDT / 1277197140 -->
<row><v>1.3721703615e-02</v></row>
                        <!-- 2010-06-22 02:00:00 PDT / 1277197200 -->
<row><v>2.4803751320e-02</v></row>
                        <!-- 2010-06-22 02:01:00 PDT / 1277197260 -->
<row><v>1.9813597418e-02</v></row>
                        <!-- 2010-06-22 02:02:00 PDT / 1277197320 -->
<row><v>1.8130588602e-02</v></row>
                        <!-- 2010-06-22 02:03:00 PDT / 1277197380 -->
<row><v>1.9686012446e-02</v></row>
                        <!-- 2010-06-22 02:04:00 PDT / 1277197440 -->
<row><v>1.4583352260e-02</v></row>
                        <!-- 2010-06-22 02:05:00 PDT / 1277197500 -->
<row><v>1.4435677233e-02</v></row>

My rrdtool program:

DEF:https_latency=/var/ddcapps/sysadmin/rrd/https_latency.rrd:https_latency:LAST
CDEF:nodata=https_latency,UN,INF,UNKN,IF
AREA:https_latency#0000ff:Latency
AREA:nodata#FF0000:nodata

I only get the "nodata" error bar at 1:55 AM but not at 1:30 AM.  Why?

Thanks,
Aleksey



More information about the rrd-users mailing list