<div><div class="gmail_quote">2008/4/21 Allan Clark <<a href="mailto:allanc@chickenandporn.com">allanc@chickenandporn.com</a>>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="Ih2E3d">On Mon, Apr 21, 2008 at 10:25 AM, Andreas Ericsson <<a href="mailto:ae@op5.se" target="_blank">ae@op5.se</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Allan Clark wrote:<br>
> [...]<br>
><br>
> I've done some initial work to configure Nagios using LDAP based on<br>
> current-CVS Nagios-3.0.1.<br>
><br>
> [...]<br>
<br>
</div>I advise against this in the strongest possible terms. You can (and<br>
should) use a NEB-module for this instead of modifying the core<br>
directly. NEB-modules can do very nearly everything that the core<br>
code can do (including registering objects) but do not add any<br>
external dependencies to the nagios core.</blockquote><div><br></div></div><div>I didn't see where I could satisfy additional items that would normally be maintained in the main config file.</div></div></blockquote><div>
<br></div>Hi Andreas;<div><br></div><div>I've updated the patch, and would really appreciate your help.  Can you see it in the comment on the original wiki permalink:<br></div><div><br></div><div><a href="http://tech.b.chickenandporn.com/2008/04/13/use-ldap-to-configure-nagios/#comment-110">http://tech.b.chickenandporn.com/2008/04/13/use-ldap-to-configure-nagios/#comment-110</a></div>
<div>( replaced <span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Lucida Grande'; font-size: 11px; line-height: 16px; "><a href="http://www.chickenandporn.com/r/nagios-3.0.1-ldap.patch" rel="nofollow" style="color: rgb(17, 68, 119); text-decoration: underline; ">http://www.chickenandporn.com/r/nagios-3.0.1-ldap.patch</a><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; font-size: 13px; line-height: normal; "> )</span></span></div>
<div><br></div><div>I'm build-testing it on a few architectures to confirm a clean-build with/without "--enable-ldap"</div><div><br></div><div>If you can grab this and take a look at some of the things I had to do in the base/config.c to pick up the main config variables, I'm looking for some insight to converting this to a NEB.  I get the impression that a NEB would get better acceptance hence wider re-use, so your feedback and insight would help me in my goal</div>
<div><br></div><div>If something I did looks too strange, feel free to grab me online, my MSN and Jabber are my email address above and below.</div><div><br></div><div>Allan</div></div>-- <br><a href="mailto:allanc@chickenandporn.com">allanc@chickenandporn.com</a> "½ًسم" <a href="http://linkedin.com/in/goldfish">http://linkedin.com/in/goldfish</a></div>