Nagios and DB support.

Ben bench at silentmedia.com
Thu Nov 18 18:23:26 CET 2004


On Thu, 18 Nov 2004, Andreas Ericsson wrote:

> > Well, FWIW, one complaint I've heard about using NEB to hook up nagios 
> > and databases is that NEB can't read nagios config data out of the 
> > database, just store it.
> 
> What would be the point of reading it when the modules aren't 
> initialized until after configuration has been parsed?

Right, that's why it doesn't work without hacking nagios proper. :)

> > but it's an issue other people have raised, and I 
> > don't see a solution short of hacking on nagios proper.
> > 
> 
> But why would anyone want nagios to read its configuration from a 
> database? That would take a lot of effort and would cause a major loss 
> of its present functionality, not to mention independence. If I heard 
> voices about storing the runtime cache in database I could understand 
> it, since it would then serve a purpose. I've written routines for that 
> in PHP in case anybody's interested. It only works with nagios 2 though.

I believe the best reasoning I heard was so that people could easily 
modify that configuration via a website. Obviously flatfiles can also be 
modified from the web, but it tends to be easier when it's in a database.



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list