Nagios storing data into PostgreSQL?

Michael Friedrich michael.friedrich at univie.ac.at
Wed Feb 9 00:13:01 CET 2011


On 07.02.2011 22:49, larry johnson wrote:
> Hello, i am newbie to linux/Nagios and need help to clear some doubts.
> I wander whether is possible to make Nagios writing notification (host 
> up/host down, for example) into PostgreSQL database?

if you write your own NEB broker module, and put that onto libpq or 
similar, the core will be able to, sure. Or you'll have a look at Icinga 
IDOUtils which support Postgresql quite a while now.

> I found NDOUtils, but this addon does not suit me because i don't use 
> MySQL.

Well there aren't that much alternatives to that. Merlin supports MySQL 
and Oracle (in development on git). I'm not sure if the Centreon Broker 
is already released which *should* support more RDBMS.

But for notifications only, why not using event handlers? then you could 
call scripts putting data into your rdbms the preferred way.
http://nagios.sourceforge.net/docs/3_0/eventhandlers.html

kind regards,
Michael

> Also found that this kind of storage is suported under Nagios 1.x, but 
> what about 3.x?
> I run Nagios 3.2.3 (with 1.4.15 plugins) on openSUSE 11.3.
>
> Regards.//
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
>
>
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110209/0dc9f35c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
-------------- next part --------------
_______________________________________________
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