[lug] RRD

jd lug at taproot.bz
Tue Apr 8 08:09:43 MDT 2003


On Thu, 2003-04-03 at 18:17, Sean Reifschneider wrote:
> On Tue, Apr 01, 2003 at 07:49:10PM -0700, jd wrote:
> >920804700: nan
> >920805000: 4.0000000000e-02
> >920805300: 2.0000000000e-02
> >920805600: 0.0000000000e+00
> >[...]
> >
> >and heres is what the webpage says i must see, or *something* is wrong..
> >
> >20804700: NaN 
> > 920805000:      0.04
> > 920805300:      0.02
> > 920805600:      0.00
> 
> The two outputs are the same, it's just they're using a different
> representation of the same numbers (4e-02 == 0.04).  I think they
> changed the representation of the output at some point -- I noticed the
> same thing.
> 
> >What i want to do is parse /var/log/messages for iptable logs
> >Based on the logs I want to build a rrd data base for each port
> >that logged something, and how many times that port logged anything...
> 
> Yeah, that should be doable without too much problem.  I liked RRD
> because creating custom graphs were really fast and fairly easy -- but I
> always have to look at examples when I'm creating new ones...
> 
> Sean

thanks for the reply. I guess then i can just go at it, even if I 
cant convert from 4e-02 to 0.04 , as long as its right.

Thnaks for the help,
jd 




More information about the LUG mailing list