[PATCH] let nagios read configuration from mys ql instead of flat files

Ian Holsman lists at holsman.net
Fri Jan 23 00:17:02 CET 2004


Williams, P. Lane wrote:
> Alright, I got the configure and compile to work.  How do I start
> nagios...ie what settings do I put in the nagios.cfg file for reading the
> object data in.
> 
> Thanks,
> Lane
> 

xoddb_host=localhost
xoddb_database=nagios
xoddb_username=nagios
xoddb_password=nagios
xoddb_port=3306

and remember cfg_dir/cfg_file are invalid so will need to be commented out

also.. this is 'beta/alpha' code.. I'm running it, but haven't been for
too long so there may be some bugs still in there.

> -----Original Message-----
> From: Ian Holsman [mailto:lists at holsman.net]
> Sent: Wednesday, January 21, 2004 9:33 PM
> To: nagios-devel at lists.sourceforge.net
> Subject: [Nagios-devel] [PATCH] let nagios read configuration from mysql
> instead of flat files
> 
> 
> This should apply cleanly to nagios-1.x-cvs
> 
> files are available at http://webperf.org/nagios
> 
> xoddb.[ch] place in xdata
> nagios.sql SQL to create tables/populate with dummy data.
> 
> configure.in.patch -- uncomments the mysql option
> 
> (there is probably 1/2 minor things I forgot to include here)
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn




More information about the Developers mailing list