[rrd-users] Very Confused

Anthony Mendoza anthony at embracenetworks.com
Fri Jul 26 22:57:56 MEST 2002


Can anyone help me out?  I have 1 RRD database working fine and another 
configured identically and it doesn't work..  here's how I created the DBs

rrdtool create temp_data.rrd -s 300 \
         DS:morphine:GAUGE:797:30:60 \
         DS:cocaine:GAUGE:797:30:60 \
         RRA:AVERAGE:0.5:1:600 \
         RRA:AVERAGE:0.5:6:700 \
         RRA:AVERAGE:0.5:24:775 \
         RRA:AVERAGE:0.5:288:797
#
# APC UPS Database
#
rrdtool create ups_temp_data.rrd -s 300 \
         DS:steroids:GAUGE:797:30:60 \
         RRA:AVERAGE:0.5:1:600 \
         RRA:AVERAGE:0.5:6:700 \
         RRA:AVERAGE:0.5:24:775 \
         RRA:AVERAGE:0.5:288:797

Here's my rrdtool update statements

# Extreme Switch Update
rrdtool update $RRDHOME/temp_data.rrd -t morphine:cocaine 
N:${MTEMP}:${CTEMP}
# APC UPS Update
rrdtool update $RRDHOME/ups_temp_data.rrd -t steroids N:25

Here's my rrdtool fetch statements (btw: MTEMP and CTEMP are set via 
snmpget)

[root at thc rrdtool]# rrdtool fetch ./temp_data.rrd AVERAGE -s -1000
                  morphine       cocaine

1027715700: nan 3.3000000000e+01
1027716000: 3.8000000000e+01 3.3000000000e+01
1027716300: 3.8000000000e+01 3.3000000000e+01
1027716600: 3.8000000000e+01 3.3000000000e+01
1027716900: 3.8000000000e+01 3.3000000000e+01
1027717200: nan nan
[root at thc rrdtool]# rrdtool fetch ./ups_temp_data.rrd AVERAGE -s -1000
                  steroids

1027715700: nan
1027716000: nan
1027716300: nan
1027716600: nan
1027716900: nan
1027717200: nan
[root at thc rrdtool]#

any idea why my 2nd database isn't being updated with values, even when 
using it statically?

any help GREATLY appreciated as I have no idea why this isn't working... 
  I actually just recently broke this database out of temp_data.rrd 
because I couldn't get the 3 DS to work in the single database and now I 
have no idea why the single DS doesn't work in a standalone RRD..=(
-- 
Anthony Mendoza
IT & Customer Support
anthony at embracenetworks.com
t: 408-585-5612 / c: 408-314-5038
p: 888-886-7205 / f: 208-247-5501


-- Attached file removed by Listar and put at URL below --
-- Type: application/x-pkcs7-signature
-- Desc: S/MIME Cryptographic Signature
-- Size: 2k (2873 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/44-smime.p7s


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list