1 |
On 08/09/2014 17:14, Jeff Smelser wrote: |
2 |
> Thanks, I saw that one. |
3 |
> |
4 |
> If I am reading it right, he was missing the broker_command= which I have: |
5 |
> |
6 |
> broker_module=/usr/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg |
7 |
> |
8 |
> Then when he add's it, its loading he just doesnt have it config'd |
9 |
> correctly: |
10 |
> |
11 |
> [18-12-2012 17:39:07] Finished daemonizing... (New PID=10105) |
12 |
> [18-12-2012 17:39:07] Event broker module |
13 |
> '/usr/local/nagios/bin/ndomod.o' initialized successfully. |
14 |
> [18-12-2012 17:39:07] ndomod: Could not open data sink! I'll keep |
15 |
> trying, but some output may get lost... |
16 |
> [18-12-2012 17:39:07] ndomod: NDOMOD 1.5.2 (06-08-2012) Copyright (c) |
17 |
> 2009 Nagios Core Development Team and Community Contributors |
18 |
> [18-12-2012 17:39:07] LOG VERSION: 2.0 |
19 |
> [ |
20 |
> |
21 |
> Let me know if I missed something. |
22 |
|
23 |
Looks like your problem is not the same. I'm just starting myself to |
24 |
come to grips with this part of nagios, so I don't know how much further |
25 |
hhelp I can be. |
26 |
|
27 |
One thing that does stick out though is the taken literally, your error |
28 |
output cannot be correct. The file cannot possibly be "not found" when |
29 |
it quite obviously is right there on the disk :-) |
30 |
|
31 |
So one must now think further out the box. Either the error is |
32 |
completely wrong and the error handling code is buggy, or the message is |
33 |
incomplete somehow (eg maybe it's not the module that is not found but |
34 |
rather a file it references - or something like that). |
35 |
|
36 |
I recommend your next stop is the nagios user lists. |
37 |
Sorry I couldn;t assist more. |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
> |
43 |
> On Mon, Sep 8, 2014 at 10:02 AM, Alan McKinnon <alan.mckinnon@×××××.com |
44 |
> <mailto:alan.mckinnon@×××××.com>> wrote: |
45 |
> |
46 |
> On 08/09/2014 02:32, Jeff Smelser wrote: |
47 |
> > I have been racking my head trying to figure out why this module wont |
48 |
> > load. All the privs are correct as far as I can see. |
49 |
> > |
50 |
> > Sep 7 19:22:32 kyle nagios: Nagios 3.5.1 starting... (PID=32513) |
51 |
> > Sep 7 19:22:32 kyle nagios: Local time is Sun Sep 07 19:22:32 CDT |
52 |
> 2014 |
53 |
> > Sep 7 19:22:32 kyle nagios: LOG VERSION: 2.0 |
54 |
> > Sep 7 19:22:32 kyle nagios: Error: Could not load module |
55 |
> > '/usr/bin/ndomod.o' -> file not found |
56 |
> > |
57 |
> > I cant even figure out how to get more debugging from the startup. :( |
58 |
> > |
59 |
> > Thanks, |
60 |
> > Jeff |
61 |
> |
62 |
> |
63 |
> This post seems relevant: |
64 |
> |
65 |
> http://support.nagios.com/forum/viewtopic.php?t=8678&p=41799 |
66 |
> |
67 |
> |
68 |
> |
69 |
> Also, selinux and such things might be interfering. Are you running |
70 |
> selinux? |
71 |
> |
72 |
> -- |
73 |
> Alan McKinnon |
74 |
> alan.mckinnon@×××××.com <mailto:alan.mckinnon@×××××.com> |
75 |
> |
76 |
> |
77 |
> |
78 |
|
79 |
|
80 |
-- |
81 |
Alan McKinnon |
82 |
alan.mckinnon@×××××.com |