upgrading from 3.4.1 to 4.0.1
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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
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.vivithemage wrote: I am just looking to retain our historical data and keep the same configs/plugins.
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.
"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.
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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
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.
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.
"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.
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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/
/u01/app/nagiosgraph/var/rrd/
Re: upgrading from 3.4.1 to 4.0.1
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)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.
"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.
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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.
http://assets.nagios.com/downloads/nagi ... Source.pdf
time to try moving configs.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: upgrading from 3.4.1 to 4.0.1
Excellent! Let us know if all goes well! ..If it doesn't, let us know as well 
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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.
[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
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 . . .
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.
"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.