Page 3 of 5
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 12:08 pm
by vivithemage
I can! I am taking over this, and just noticing how much a mess it is .. which is why I want to do a source install of 4.0.2 ... I am just looking to retain our historical data and keep the same configs/plugins.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 3:28 pm
by abrist
vivithemage wrote: I am just looking to retain our historical data and keep the same configs/plugins.
You should be able to do that. The hardest part will be installing the dependencies for your plugins if needed and getting nagiosgraph installed and configured to use the current rrds.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 3:32 pm
by vivithemage
any advice on that? Any way I can check with what I have and move it, or reinstall what's needed?
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 3:39 pm
by abrist
Not really. Copy the /usr/local/nagios/libexec directory to the new server and move your configs. Fix the errors in the aftermath by working from the status output for the checks in the web ui.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 3:43 pm
by vivithemage
easy enough. is the libexec stuff where the history is located? I ask because I see most of that rrd stuff is:
/u01/app/nagiosgraph/var/rrd/
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 3:48 pm
by abrist
History is found in a few different places:
Code: Select all
/usr/local/nagios/var
where-ever you saved your rrds
mysql (if you were using nconf or nagiosql)
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 4:05 pm
by vivithemage
so far, got a fresh install working running 4.02 + nagios-plugins-1.4.15 with this guide:
http://assets.nagios.com/downloads/nagi ... Source.pdf
time to try moving configs.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 5:11 pm
by slansing
Excellent! Let us know if all goes well! ..If it doesn't, let us know as well

Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 5:15 pm
by vivithemage
so far I caught most errors and fixed them, but I am stuck on this one:
[1383775776] wproc: Registry request: name=Core Worker 27734;pid=27734
[1383775776] wproc: Registry request: name=Core Worker 27736;pid=27736
[1383775776] Error: Could not load module '/usr/local/nagios/bin/ndomod-3x.o' -> /usr/local/nagios/bin/ndomod-3x.o: undefined symbol: servicedependency_list
[1383775776] Error: Failed to load module '/usr/local/nagios/bin/ndomod-3x.o'.
[1383775776] Error: Module loading failed. Aborting.
I do know ndo2db was running on the old nagios, but unsure if it was needed. I ddi copy over the /usr/local/nagios/bin/ndomod-3x.o ... not sure why it is throwin that error though, it is looking for an mysql database or something? I don't see a lot of what is required to config this. I also did nothing for rrd specifically, so related?
Should I just run through this?
http://cuongk6t.wordpress.com/2011/06/0 ... on-centos/
moving hsitorical data is not 100% required either at this point, just want to get nagios upgraded and working on the new box! We can leave the old one up for reference if needed.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 5:43 pm
by abrist
Someone correct me if I am wrong, but I though ndo did not support core 4 yet. Something about a few new parameters/directives that trip it up . . .