After updating Nagios Core from 4.1.1 to 4.2.4 lost hosts
Posted: Thu Dec 22, 2016 9:09 am
Hi
We have licensed Nagios XI, version 5.2.5. After updating Nagios Core from version 4.1.1 to version 4.2.4 lost all hosts and services in menu Services and Host Groups. Instead all hosts and services in remains one lokalhost and services.
I looked at the logs, error in module ndomod.o
-
[12-22-2016 09:39:35] Nagios 4.2.4 starting... (PID=7778)
[12-22-2016 09:38:21] Error: Module loading failed. Aborting.
[12-22-2016 09:38:21] Error: Failed to load module '/usr/local/nagios/bin/ndomod.o'.
[12-22-2016 09:38:21] Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully.
[12-22-2016 09:38:21] Error: Function nebmodule_init() in module '/usr/local/nagios/bin/ndomod.o' returned an error. Module will be unloaded.
[12-22-2016 09:38:21] ndomod: I've been compiled with support for revision 402 of the internal Nagios object structures, but the Nagios daemon is currently using revision 403. I'm going to unload so I don't cause any problems...
[12-22-2016 09:38:21] ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
-
I download ndoutils-2.1.2 from source. looked README and did what it says:
COMPILING INSTRUCTIONS
INITIALIZING THE SQL DATABASE
data base nagios is already there, so once did
then
INSTALLING THE NDOMOD BROKER MODULE
Add a line in nagios.cfg
INSTALLING THE NDO2DB DAEMON
then i checked NagiosCore dashboard, monitoring still only lokalhost and services.
Tell me pls, where and what I missed in their actions?
Thanks
We have licensed Nagios XI, version 5.2.5. After updating Nagios Core from version 4.1.1 to version 4.2.4 lost all hosts and services in menu Services and Host Groups. Instead all hosts and services in remains one lokalhost and services.
I looked at the logs, error in module ndomod.o
-
[12-22-2016 09:39:35] Nagios 4.2.4 starting... (PID=7778)
[12-22-2016 09:38:21] Error: Module loading failed. Aborting.
[12-22-2016 09:38:21] Error: Failed to load module '/usr/local/nagios/bin/ndomod.o'.
[12-22-2016 09:38:21] Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully.
[12-22-2016 09:38:21] Error: Function nebmodule_init() in module '/usr/local/nagios/bin/ndomod.o' returned an error. Module will be unloaded.
[12-22-2016 09:38:21] ndomod: I've been compiled with support for revision 402 of the internal Nagios object structures, but the Nagios daemon is currently using revision 403. I'm going to unload so I don't cause any problems...
[12-22-2016 09:38:21] ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
-
I download ndoutils-2.1.2 from source. looked README and did what it says:
COMPILING INSTRUCTIONS
Code: Select all
tar xzf ndoutils-2.1.2.tar.gz
cd ndoutils-2.1.2
./configure
make alldata base nagios is already there, so once did
Code: Select all
cd db
./installdb -u root -p **** database nagios
INSTALLING THE NDOMOD BROKER MODULE
Code: Select all
cp src/ndomod-4x.o /usr/local/nagios/bin/ndomod.o
cp config/ndomod.cfg /usr/local/nagios/etc
Code: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
event_broker_options=-1
Code: Select all
cp src/ndo2db-4x /usr/local/nagios/bin/ndo2db
cp config/ndo2db.cfg /usr/local/nagios/etc
/etc/init.d/ndo2db restart
/etc/init.d/nagios restart
Tell me pls, where and what I missed in their actions?
Thanks