quick upgrade questions

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.
sheetzdw
Posts: 44
Joined: Tue Feb 11, 2014 10:34 am

quick upgrade questions

Post by sheetzdw »

I am planning to upgrade Nagios from Nagios Core Version 3.3.1 to the latest version and migrate to a physical box at the same time

Where can I see a list of ALL Nagios plugins currently installed on my server?
How can I move JUST the alerts / hosts configuration to the new version, is this possible?

I was hoping to install new versions of Nagios and Nconf ( and any other plug ins) on a new clean install of Ubuntu server then hoping I just needed to copy some config files


IS there a good document or forum thread on this issue?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: quick upgrade questions

Post by slansing »

This should cover backing up and restoring:

http://assets.nagios.com/downloads/nagi ... ing_XI.pdf

Plugins are located in:

Code: Select all

 /usr/local/nagios/libexec/
Keep in mind if you change IP addresses to make sure to also change it in the web interface at Admin > System Settings.
sheetzdw
Posts: 44
Joined: Tue Feb 11, 2014 10:34 am

Re: quick upgrade questions

Post by sheetzdw »

thanks thats a good start I will keep searching

I need to be fully aware of what I am getting into ;)

dont want to blow up anything
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: quick upgrade questions

Post by slansing »

Haha, as long as your backup does not fail, and you don't go removing the entire XI server before the other one is up and processing fine then you should be good! We're here for you to make sure everything goes as smooth as possible.
sheetzdw
Posts: 44
Joined: Tue Feb 11, 2014 10:34 am

Re: quick upgrade questions

Post by sheetzdw »

cool, I am trying to convince them to buy support and all useful options so we can get this moving quick as possible
I have no real view into network traffic and alerts are a full time job because not all are configured correct and I am new to Nagios
the sooner I can get this working right and mastered the better... hopefully before you get tired of my posts ;)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: quick upgrade questions

Post by slansing »

Ahh, I just realized I posted my above responses thinking this was regarding Nagios XI not core, Core should be simpler to move in most cases.
sheetzdw
Posts: 44
Joined: Tue Feb 11, 2014 10:34 am

Re: quick upgrade questions

Post by sheetzdw »

I was wondering about that

glad to hear it is easier

do I have to move any Apache components or MYSQL db's also? I would assume so
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: quick upgrade questions

Post by sreinhardt »

Yep, Apache would likely come with a new nagios installation, unless you have unique additions. Mysql will definitely need to be duplicated.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sheetzdw
Posts: 44
Joined: Tue Feb 11, 2014 10:34 am

Re: quick upgrade questions

Post by sheetzdw »

so is it safe to assume MYSQL holds all settings like hosts , services ,etc?

Can I edit that directly?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: quick upgrade questions

Post by slansing »

It will generally hold configuration information if you are using it, if you have just set up a standard nagios core installation and not added anything like NagiosQL you are probably not using Mysql. You are still manually adding and changing configurations from their flat files correct?
Locked