[rrd-users] Beginner question to RRD-Tool

Arne Götje ( 高盛華 ) arne at linux.org.tw
Tue Apr 13 04:35:32 MEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,

I have a problem, but maybe the solution is easy and I just don't find
it...

I want to query a network device via SNMP for user statistics. The
device can have between 3000 and 5000 active users, thus one run to
query all users' data takes between 9 and 30 minutes.

I have created the rrds with a step of 900 seconds and a heartbeat of 2
hours. The values get retrieved correctly and inserted into the rrds.
Still, when I use rrdtool fetch to see the stored values, nearly all of
them are 'nan', which means 'unknown' I suppose...

My script to query the data from the network device runs continiously i
a loop with a 30 seconds break between the runs.

Can anyone give me a suggestion what might be the mistake?

The definition for the rrds is as follws:

  RRDs::create ($rrd, "-s", "900",
"DS:in1:COUNTER:7200:U:U", "DS:out1:COUNTER:7200:U:U",
"DS:quota1:GAUGE:7200:U:U",
"DS:in2:COUNTER:7200:U:U", "DS:out2:COUNTER:7200:U:U",
"DS:quota2:GAUGE:7200:U:U",
"DS:in3:COUNTER:7200:U:U", "DS:out3:COUNTER:7200:U:U",
"DS:quota3:GAUGE:7200:U:U",
[...]
"DS:in32:COUNTER:7200:U:U", "DS:out32:COUNTER:7200:U:U",
"DS:quota32:GAUGE:7200:U:U",
                      "RRA:AVERAGE:0.5:1:600",
                      "RRA:AVERAGE:0.5:4:600",
                      "RRA:AVERAGE:0.5:96:600",
                      "RRA:MAX:0.5:1:600",
                      "RRA:MAX:0.5:4:600",
                      "RRA:MAX:0.5:96:600"
                      );

Any mistake here?

Cheers
Arne
- --
Arne Götje (高盛華) <arne at linux.org.tw>
PGP/GnuPG key: 1024D/685D1E8C
Fingerprint: 2056 F6B7 DEA8 B478 311F  1C34 6E9F D06E 685D 1E8C
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAe1H0bp/QbmhdHowRAq9WAJ4yuIgXD4ZsrRKoyC+WgwjkX2LIzQCeLosW
ZBMhqF4ntrFZgPVkZDBV9Qo=
=+IMp
-----END PGP SIGNATURE-----

--
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