> rrdtool create host1users.rrd --step 300 DS:host1users:GAUGE:600:0:1 > RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:1:600 RRA:MAX:0.5:1:600 RRA:MAX:0.5:1:600
> and I also tried this: > rrdtool update host1users.rrd N:25 > when I do this: > rrdtool dump host1users.rrd > host1.xml > I see all "NaN" for all the above attempts > Why ?? Because you sepcified your DS with min=0 and max=1. 25 is way beyond 1 :) man rrdtune will help you on how to change the max value for your DS (hint: -a) Or recreate your rrd, but this time with DS:host1users:GAUGE:600:0:100 or so. Serge Maandag -----Original Message----- From: Dan Gahlinger [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 17, 2002 10:29 PM To: Sethi, Pradeep; [email protected] Subject: [rrd-users] Re: newbie needs help Ok, this isn't working, and I don't know why. finger @host1 | grep -c tty > host1.users creates a text file with "20" in the file (at the moment) so I did this manually: then I did this: rrdtool update host1users.rrd N: < host1.users and I also tried this: rrdtool update host1users.rrd N:25 when I do this: rrdtool dump host1users.rrd > host1.xml I see all "NaN" for all the above attempts Why ?? Dan. At 11:07 AM 12/17/2002 -0800, Sethi, Pradeep wrote: >Hi Dan, > >I don;t know, wheather I am understanding your problem correctly, but will >try to help :) > >can you give the sample of your "host1.users" file ? > >I would assume, that you need to run a script, which takes that file >as input and issue a command like > >rrdtool update host1.rrd ........., (the values) -- 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 -- 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
