<br><br><div class="gmail_quote">On Tue, Mar 16, 2010 at 8:58 AM, Mohammed Murphy <span dir="ltr"><<a href="mailto:mohammed.murphy@tandberg.com">mohammed.murphy@tandberg.com</a>></span> wrote:<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 I need a way of accessing the underlying database<br>
without actually knowing what it is. So the question is, does Nagios<br>
have some library or functionality to cope with this scenario?<br clear="all"></blockquote><div><br>Nagios provides an Event Broker interface that allows you to hook into nagios using a generic interface but does not provide any kind of database abstraction layer. That's up to you to create or find. Depending on what your requirements are, the Event Broker API may suit your needs. You can look at NDOUtils as an example of it's use.<br>
<br>I'm not aware of any database agnostic libraries. Even on the surface, every database is different and would require some difference in the methods to access and talk to it so you going to have to have *some* awareness of the databases that you'll be taking to and be able to support them.<br>
</div></div><br>-- <br>Marc<br>formerly marc /at/ <a href="http://ena.com">ena.com</a><br>