Nagios and DB support.

Andreas Ericsson ae at op5.se
Thu Nov 18 18:09:07 CET 2004


Ben wrote:
> 
> On Nov 18, 2004, at 1:07 AM, Andreas Ericsson wrote:
> 
>>
>> I don't know how you came to the conclusion that the file system 
>> support is in Nagios. It is in fact in the kernel. As for databases, 
>> that will be resolved, as stated above, by socket IPC from a 
>> NEB-module to any separate socket-handling program/script/host that is 
>> willing, which will enable a lot more users to write their own code 
>> for storage. I expect it won't be long until mysql and postgresql 
>> storage options are back by then, but it will also need an upgrade of 
>> the presentation layer, as I've already told you.
>>
> 
> 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?

> That's certainly not a problem in my 
> environment, and it hasn't stopped me from using NEB to store status 
> data in postgres.....

Naturally not. Log entries shouldn't, per common database practice, be 
normalised.

> 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.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
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