On 08/09/2014 17:14, Jeff Smelser wrote:
> Thanks, I saw that one. 
> 
> If I am reading it right, he was missing the broker_command= which I have:
> 
> broker_module=/usr/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg
> 
> Then when he add's it, its loading he just doesnt have it config'd
> correctly:
> 
> [18-12-2012 17:39:07] Finished daemonizing... (New PID=10105)
> [18-12-2012 17:39:07] Event broker module
> '/usr/local/nagios/bin/ndomod.o' initialized successfully.
> [18-12-2012 17:39:07] ndomod: Could not open data sink! I'll keep
> trying, but some output may get lost...
> [18-12-2012 17:39:07] ndomod: NDOMOD 1.5.2 (06-08-2012) Copyright (c)
> 2009 Nagios Core Development Team and Community Contributors
> [18-12-2012 17:39:07] LOG VERSION: 2.0
> [
> 
> Let me know if I missed something.

Looks like your problem is not the same. I'm just starting  myself to
come to grips with this part of nagios, so I don't know how much further
hhelp I can be.

One thing that does stick out though is the taken literally, your error
output cannot be correct. The file cannot possibly be "not found" when
it quite obviously is right there on the disk :-)

So one must now think further out the box. Either the error is
completely wrong and the error handling code is buggy, or the message is
incomplete somehow (eg maybe it's not the module that is not found but
rather a file it references - or something like that).

I recommend your next stop is the nagios user lists.
Sorry I couldn;t assist more.




> 
> On Mon, Sep 8, 2014 at 10:02 AM, Alan McKinnon <alan.mckin...@gmail.com
> <mailto:alan.mckin...@gmail.com>> wrote:
> 
>     On 08/09/2014 02:32, Jeff Smelser wrote:
>     > I have been racking my head trying to figure out why this module wont
>     > load. All the privs are correct as far as I can see.
>     >
>     > Sep  7 19:22:32 kyle nagios: Nagios 3.5.1 starting... (PID=32513)
>     > Sep  7 19:22:32 kyle nagios: Local time is Sun Sep 07 19:22:32 CDT
>     2014
>     > Sep  7 19:22:32 kyle nagios: LOG VERSION: 2.0
>     > Sep  7 19:22:32 kyle nagios: Error: Could not load module
>     > '/usr/bin/ndomod.o' -> file not found
>     >
>     > I cant even figure out how to get more debugging from the startup. :(
>     >
>     > Thanks,
>     > Jeff
> 
> 
>     This post seems relevant:
> 
>     http://support.nagios.com/forum/viewtopic.php?t=8678&p=41799
> 
> 
> 
>     Also, selinux and such things might be interfering. Are you running
>     selinux?
> 
>     --
>     Alan McKinnon
>     alan.mckin...@gmail.com <mailto:alan.mckin...@gmail.com>
> 
> 
> 


-- 
Alan McKinnon
alan.mckin...@gmail.com


Reply via email to