I've written a script which queries a few bandwidth and CPU stats (all
numeric) from a cisco switch and writes them back to an rrdtool
database. The right command completes with no errors (and returns
zero), but when I query the database rrdtool complains that the values
are non-numeric.
This is the command I use to store bandwidth to the rrdtool database.
/usr/bin/rrdtool update /home/steve/public_html/rrdtool/CNE-12-DS1.rrd
  N:0:62000:9428000:1047000:168188:146930:3227000

rrd database create command
/usr/bin/rrdtool create /home/steve/public_html/rrdtool/CNE-12-DS1.rrd
\
    DS:gbic1in:COUNTER:600:U:U  \
    DS:gbic1out:COUNTER:600:U:U \
    DS:gbic2in:COUNTER:600:U:U  \
    DS:gbic2out:COUNTER:600:U:U \
    DS:vtpin:COUNTER:600:U:U    \
    DS:vtpout:COUNTER:600:U:U   \
    DS:fasteth:COUNTER:600:U:U  \
    RRA:AVERAGE:0.5:1:600       \
    RRA:AVERAGE:0.5:6:700       \
    RRA:AVERAGE:0.5:24:775      \
    RRA:AVERAGE:0.5:288:797     \
    RRA:MAX:0.5:1:600           \
    RRA:MAX:0.5:6:700           \
    RRA:MAX:0.5:24:775          \
    RRA:MAX:0.5:288:797         \

rrdtool query results (minus header row)
1079555100: nan nan nan nan nan nan nan

any suggestions?

-- 
Stephen Patterson http://patter.mine.nu/
[EMAIL PROTECTED]  remove SPAM to reply        
Linux Counter No: 142831 GPG Public key: 252B8B37        
Caution: breathing may be hazardous to your health.

-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to