ndomod.o file not found
Posted: Thu Oct 18, 2018 6:07 am
Hi
i'm trying to install ndoutils with ndo2db on a Freebsd host.
the nagios.cfg files have this option
if a list the file i see
the service ndo2db work fine but when start nagios service the log prompt this
and listing of
How can i debug the nagios's broker module to understand what happen?
Thanks Alex
i'm trying to install ndoutils with ndo2db on a Freebsd host.
the nagios.cfg files have this option
Code: Select all
temp_path=/tmp
event_broker_options=-1
broker_module=/usr/local/bin/ndomod.o config_file=/usr/local/etc/nagios/ndomod.cfg
debug_level=-1
debug_verbosity=2
Code: Select all
root@margherasv1:/usr/local/libexec # ls -l /usr/local/bin/ndo*
-r-xr-xr-x 1 root wheel 105560 Oct 12 15:18 /usr/local/bin/ndo2db
lrwxr-xr-x 1 root wheel 21 Oct 11 13:30 /usr/local/bin/ndo2db-3x -> /usr/local/bin/ndo2db
-r-xr-xr-x 1 nagios nagios 72772 Oct 12 15:18 /usr/local/bin/ndomod.o- [1539859881] Nagios 4.4.2 starting... (PID=96258)
[1539859881] Local time is Thu Oct 18 12:51:21 CEST 2018
[1539859881] LOG VERSION: 2.0
[1539859881] qh: Socket '/var/spool/nagios/rw/nagios.qh' successfully initialized
[1539859881] qh: core query handler registered
[1539859881] qh: echo service query handler registered
[1539859881] qh: help for the query handler registered
[1539859881] wproc: Successfully registered manager as @wproc with query handler
[1539859881] wproc: Registry request: name=Core Worker 96260;pid=96260
[1539859881] wproc: Registry request: name=Core Worker 96261;pid=96261
[1539859881] wproc: Registry request: name=Core Worker 96262;pid=96262
[1539859881] wproc: Registry request: name=Core Worker 96259;pid=96259
[1539859881] Error: Could not load module '/usr/local/bin/ndomod.o' -> file not found
[1539859881] Error: Failed to load module '/usr/local/bin/ndomod.o'.
[1539859881] Error: Module loading failed. Aborting.
Code: Select all
output_type=unixsocket
output=/var/run/ndo2db/ndo.sock
Code: Select all
root@margherasv1:/usr/home/martin # ls -l /var/run/ndo2db/
total 4
srwxr-xr-x 1 nagios nagios 0 Oct 18 12:15 ndo.sock
-rw-r--r-- 1 nagios nagios 0 Oct 12 11:03 ndo2db.debug
-rw-r--r-- 1 nagios nagios 6 Oct 18 12:15 ndo2db.pidThanks Alex