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

2007-09-27 Thread Brian A. Seklecki
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/vse012070mrt/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


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

2007-06-27 Thread magic_rooter
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