I applied you patch today, and I had to make some changes to get it
built.
After your patch is applied, you will need to apply some {} near line
484 in common/downtime.c.
strlcpy isn't in glibc. From I remember, its a bsd thing..
netbsd,openbsd,freebsd maybe? I've went through and changed th strlcpy
to strncpy, and everything appears to be happy.
I didn't see logconv.py anywhere
On Thu, 2002-10-24 at 03:23, Dougal Scott wrote:
> This is a large patch to get nagios to use a mysql database (if someone
> wants to volunteer to add postgres support I'm sure it would be
> appreciated) for storing and retrieving history information.
>
> This makes it significantly faster for larger sites as instead of
> having to do lots of expensive string operations for every line of
> every log file, you can just do one SELECT() and pull out exactly what
> information is required, so you are not wasting cycles processing
> information that you aren't interested in.
>
> I haven't had a chance to test it extensively yet, but a few people
> mailed expressing interest in it, so I thought I had better ship it.
> Hopefully there aren't too many segfaults left in it If you find any
> gotchas please mail them to me and I'll fix them up.
>
> There is a simple python script (logconv.py) included in the contrib
> directory which will read in your old logs and output the sql commands
> necessary to put them into your database.
>
> --
> Dougal Scott Connect Internet Solutions
> dwagon@connect.com.au 9/114 Albert Rd
> Senior Systems Administrator South Melbourne, Australia, 3205
--
Bryan Liles
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: lilesb@ijet.com