[rrd-users] blank data
Nate Johnson
natejohn at indiana.edu
Tue Jan 14 23:31:20 MET 2003
I am having a little trouble learning how to use rrdtool, and was hoping
for a little assistance. I want to track three numbers on a server: open
ftp sessions, open sftp sessions, and open ssh login sessions.
Here is how I created my database:
rrdtool create \
connections.rrd --step 60 \
DS:ftpsessions:GAUGE:120:0:U \
DS:sftpsessions:GAUGE:120:0:U \
DS:logins:GAUGE:120:0:U \
RRA:AVERAGE:0.5:1:50400 \
RRA:AVERAGE:0.5:60:43800
Here is how I am updating my database every 60 seconds
rrdtool update connections.rrd N:${ftpsessions}:${sftpsessions}:${logins}
And here is a sample of the last 10 minutes:
#rrdtool fetch connections.rrd AVERAGE -s -600
ftpsessions sftpsessions logins
1042582260: 1.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1042582320: 1.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1042582380: 1.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1042582440: 1.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1042582500: 1.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1042582560: 1.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1042582620: 1.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1042582680: 1.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1042582740: 1.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1042582800: 1.0000000000e+00 0.0000000000e+00 0.0000000000e+00
1042582860: NaNQ NaNQ NaNQ
1042582920: NaNQ NaNQ NaNQ
The numbers that I am expecting to see in the rrd are more like:
TIME: 13 8 13
TIME: 26 24 46
TIME: etc...
I am generating the integers with a shell script, and then pluging them in
- you saw the variables above. Why do I seem to get the same entries
every 60 seconds? I am *very* new to this. Please forgive me if the
answer is obvious. Any advice would be great.
Thanks,
Nate
--
* Nate Johnson, UITS SysAdmin
* natejohn at indiana.edu
--
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