Hi All
I’ve been looking into setting up distributed monitoring using dnx (dnx.sourceforge.net/index.html) and have hit a problem with configuring the nagios server to send out data
My set up is
Centos 5.2 server
Nagios version nagios-3.0.6
Plugins 1.4.13
Nagios is installed in /usr/local/nagios
Dnx is version 0.18
I configured the software using a basic
./configure
make install-server
This all work well and creates the file /usr/local/nagios/lib/dnxServer.so
So in Nagios.cfg I set up
broker_module=/usr/local/nagios/lib/dnxServer.so
And event_broker_options=-1
Then when I restart nagios I see an error in the log
[1248360341] Error: Could not load module ‘/usr/local/nagios/lib/dnxServer.so’ -> /usr/local/nagios/var/spool/checkresults/nebmodJUrUcF: undefined symbol: service_result_buffer
I’ve hunted all over the web for a fix for this and in desperation I tried to re configure dnx using
./configure --with-nagios3x
This works ok but when I do a make install-servercfg it fails
In file included from …/nagios/nagios-3.x/include/nagios.h:28,
from dnxNebMain.c:63:
…/nagios/nagios-3.x/include/config.h:323:18: error: ltdl.h: No such file or directory
In file included from dnxNebMain.c:65:
…/nagios/nagios-3.x/include/nebmodules.h:79: error: expected specifier-qualifier-list before 'lt_dlhandle’
make[1]: *** [dnxServer_la-dnxNebMain.lo] Error 1
make[1]: Leaving directory `/root/dnx-0.18/server’
make: *** [install-server] Error 2
If anyone has any idea what I’m doing wrong I will be really grateful
Cheers
Mike