[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Configuration database backend.
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Configuration database backend.
- From: "Johann Eggers" <Johann.Eggers (at) teleatlas.com>
- Date: Fri, 8 Dec 2006 10:12:31 +0100
- Thread-index: AccaTyCcF+9/m7rQQxmaYrMZpEDyuAAWSkFQ
- Thread-topic: [hobbit] Configuration database backend.
> -----Original Message-----
> From: Stef Coene [mailto:stef.coene (at) docum.org]
> Sent: Donnerstag, 7. Dezember 2006 23:27
> To: hobbit (at) hswn.dk
> Subject: Re: [hobbit] Configuration database backend.
>
> On Thursday 07 December 2006 23:01, Trent Melcher wrote:
> > Has anyone thought about or implemented a configuration database
backend
> > for hobbit, primarily a database replacement for the
hobbit-clients.cfg
> > and hobbit-alerts.cfg to start....these are a couple that I would
like
> > to buils a webfront to and be able to give limited access to users
so
> > they could modify thresholds and alerting capabilities when needed.
> >
> > I did this about 4 years back for Big Brother using Informix, I was
> > able to setup thresholds and a replacement for the bb-host file
inside a
> > couple tables in a database. However back then Big Brother was
mostly
> > shell scripts and flat files for all its configuration. So adding
hooks
> > into it for talking to a databse was easy. With hobbit its all
compiled
> > code and Im not sure where to start, plus I don't have access to an
> > Informix database or the API's for it anymore so Im looking at mysql
and
> > its api's for writing code in C.
> We are thinking about using mysql for storing trends and status
messages.
>
> For the configuration, I think mysql is overkill and makes it too
complex.
> I
> love the simplicity of the config files. I'm more thinking about
making a
> web-based frontend for the config files. The config files can be
parsed
> as
> ini-files. And for parsing ini-files, perl is perfect. So writing a
> web-based frontend for the config files in perl, is not that hard.
>
>
> Stef
>
I totally agree,
Using a database just for configurations makes things more complex.
It would be marvellous if somebody is willing to develop a web-based
frontend for editing the config files.
Johann