Upgrade trouble Nagios 3.5.1 to 4.0.0

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
altidude
Posts: 3
Joined: Mon Sep 23, 2013 1:40 pm

Upgrade trouble Nagios 3.5.1 to 4.0.0

Post by altidude »

I tried upgrading my Nagios 3.5.1 installation to 4.0.0 today and Nagios will not start. This is on a CentOS 6.4 32 bit system.

I upgraded to 4.0.0 using the instructions at http://nagios.sourceforge.net/docs/3_0/upgrading.html .

When I try to start Nagios it fails with the following lines in the nagios.log file:

Code: Select all

[1379959345] Error: Could not load module '/usr/local/lib/mk-livestatus/livestatus.o' -> /usr/local/lib/mk-livestatus/livestatus.o: undefined symbol: last_command_check
[1379959345] Error: Failed to load module '/usr/local/lib/mk-livestatus/livestatus.o'.
[1379959345] Error: Module loading failed. Aborting.
All my .cfg files check out as OK prior to my attempt to start Nagios.

I've rolled back to 3.5.1. Any ideas on how I can resolve this?

Thanks!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Upgrade trouble Nagios 3.5.1 to 4.0.0

Post by abrist »

Are you using livestatus? If so, you may need to disable it until the mk devs update it to support core 4.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
altidude
Posts: 3
Joined: Mon Sep 23, 2013 1:40 pm

Re: Upgrade trouble Nagios 3.5.1 to 4.0.0

Post by altidude »

abrist wrote:Are you using livestatus? If so, you may need to disable it until the mk devs update it to support core 4.
Thanks. I've disabled livestatus for now. Nagios 4.0.0 is working for me now.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade trouble Nagios 3.5.1 to 4.0.0

Post by lmiltchev »

Sounds good.
Be sure to check out our Knowledgebase for helpful articles and solutions!
PeterC
Posts: 1
Joined: Tue Sep 24, 2013 4:32 am

Re: Upgrade trouble Nagios 3.5.1 to 4.0.0

Post by PeterC »

Thanks for that. Very helpful

I could not remember where Check_mk was and now to disable it. I found it after half hour.

So to help and save time, # out the following lines in nagio.cfg (On my system it's here - /usr/local/nagios/etc).

# Load Livestatus Module
#broker_module=/usr/lib/check_mk/livestatus.o /usr/local/nagios/var/rw/live
#event_broker_options=-1
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Upgrade trouble Nagios 3.5.1 to 4.0.0

Post by slansing »

Excellent, I'm not sure when they will patch livestatus up to function with core 4 but I guess you'd need to watch their site.
Locked