[lug] RRD
Sean Reifschneider
jafo-nclug at tummy.com
Thu Apr 3 18:17:05 MST 2003
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
--
Let's just say that their monkeys aren't quite typing Shakespeare.
-- Sean Reifschneider, speaking about Quicken support, 2001
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com, ltd. - Linux Consulting since 1995. Qmail, Python, SysAdmin
More information about the LUG
mailing list