<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    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 <i>where</i>
    it should go.<br>
    <br>
    I have only found one instance of cnf_dir in the source and that is
    here:<br>
    <br>
                else if(strstr(input,"cfg_file=")==input ||
    strstr(input,"cfg_dir=")==input)<br>
                continue;<br>
    <br>
    in config.c line 1328. I have no problems hacking the core, but
    where do I start?<br>
    <br>
    Regards,<br>
    <br>
    Phil<br>
  </body>
</html>