[Nagios-devel] Config from PostgreSQL

Phil Sturgeon email at philsturgeon.co.uk
Mon Dec 6 22:41:39 UTC 2010

I've been charged with a mission a little outside of my usual skillset, 
and that is to get Nagios 3.2.3 running from config based on a 
PostgreSQL table instead of the normal cnf_dir setting. I can work out 
the actual code for this but im struggling to find /where/ it should go.

I have only found one instance of cnf_dir in the source and that is here:

             else if(strstr(input,"cfg_file=")==input || 

in config.c line 1328. I have no problems hacking the core, but where do 
I start?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nagios.com/pipermail/nagios-devel/attachments/20101206/0ada18d2/attachment.html>

More information about the Nagios-devel mailing list