Re: [Nagios-devel] Database Support in Nagios 2.0

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Database Support in Nagios 2.0

Post by Guest »

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I made a plugin to support object data from Mysql instead of text files, it
made a noticable speed increase in the system that we are running, ie 3000+
hosts and about 7000+ services.

The CGI:s went a lot quicker reading object data ( hosts,
services,contacts,commands) from DB instead of text files.

I really think it's nice to have DB support as, IMHO it scales better and
allows you to have the db on a separate machine for perfomance.

Also, it's really nice when you do provisioning against nagios to insert new
hosts and services from an external system, ie and hardware inventory syste=
m.

What is the reason to nuke the DB support. When I wrote the object data plu=
gin
it seemed that the base source was in such away to allow these kind of
plugins, is there significant changes in the base source that would make it
hard to support the DB plugins ?

Regards
Anders Karlsson
torsdagen den 17 oktober 2002 05.53 skrev Ethan Galstad:
> As I've mentioned before, I would like to kill off the DB support (as
> it current stands) in Nagios 2.0. This includes MySQL/PostgresQL
> support for the following data types:
>
> - status data
> - retention data
> - comments
> - downtime
> - extended info
>
> Is there any really good reason why people want/need this data to be
> stored in a database?
>
> Extended info is not dynamic like the other items on the list - its
> more static like object definitions. If people want to store this
> info in a db, it would be fairly simple to just generate a template-
> based config file from the db rather than having the CGIs read
> directly from the database.
>
> I don't see any really good reasons for keeping DB support around for
> the rest of the data, but I'd like to hear some comments before I
> start nuking code.
>
>
>
> Ethan Galstad,
> Nagios Developer
> ---
> Email: nagios@nagios.org
> Website: http://www.nagios.org
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: viaVerio will pay you up to
> $1,000 for every account that you consolidate with us.
> http://ad.doubleclick.net/clk;4749864;7604308;v?
> http://www.viaverio.com/consolidator/osdn.cfm
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel

=2D --=20
Arrowhead AB
anders.karlsson@arrowhead.se
Have you hugged your firewall today? No spam, thanks.=20
=2D --------------------------------------------------------=20
Are you the police? . . . . No ma'am, we're sysadmins
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9r/FNtC1yigtSyRkRAodZAJ9V+q9QGv2Hf5hD80ODCGm6+e+mYgCdHQaL
pidhP6GEpen7RtSJ4suqMEo=3D
=3D7pDK
=2D----END PGP SIGNATURE-----






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: anders.karlsson@arrowhead.se
Locked