Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [Nagios-users] Can Nagios update configs by SQL from another server?

From: Brian A. Seklecki <lavalamp(at)spiritual-machines.org>
Date: Wed Sep 26 2007 - 08:29:44 EDT


When you say "SQL Server", we'll assume that you mean MS-SQL.

You should be able to periodically dynamically generate your config using a small PHP script that uses the MDB(sp?) module. Check out the include_dir and include_file statement documentation for the nagios.cfg.

~BAS On Wed, 2007-06-27 at 12:44 +0400, magic_rooter wrote:
> Hello everybody!
>
> We have server with sql base where there is data for Nagios. I will explain.
> There is dynamically updated database with servers and routers. The
> structure is simple:name and ip.
> And I have server with Nagios (v.2.5)
> I saw some addons and plugins for Nagios that store nagios configs in
> mysql database: NDOutils, loadconfig.pl and so on...
> Can these or maybe other programms go to SQL server, pull data with
> the names and ip of servers and routers and insert it to nagios
> configs (which are in sql or in .cfg files)?
>
> Thank you in advance for assistance!
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users@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
>
>
>
>
>
>



This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Nagios-users mailing list
Nagios-users@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 Received on Thu Sep 27 18:22:34 2007

This archive was generated by hypermail 2.1.8 : Mon Oct 08 2007 - 18:02:17 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library