Hello,
My current Nagios Core 3.5.1 installation is installed in /etc/nagios. How can I upgrade to 4.4.5 when it installs to /usr/local/nagios. I have tried to just move the Nagios 3.5.1 files after the 4.4.5 install and I get this when I try and verify the nagios.cfg:
Website: https://www.nagios.org
Reading configuration data...
Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
Read main config file okay...
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
Error: Template 'ORG-Urbancom' specified in host definition could not be not found (config file '/usr/local/nagios/etc/Default_collector/hosts.cfg', starting on line 7875)
Error: Invalid max_check_attempts value for host '5320 building elevator camera'
Error: Could not register host (config file '/usr/local/nagios/etc/Default_collector/hosts.cfg', starting on line 5217)
Error processing object config files!
Does anyone have a step by step for an upgrade with this environment? BTW I have nconf installed on the same server
Upgrade Nagios Core 3.5.1 to 4.4.5
Re: Upgrade Nagios Core 3.5.1 to 4.4.5
Here's a guide on upgrading Nagios Core:
https://assets.nagios.com/downloads/nag ... ading.html
Having said that, you need to fix your configuration errors first, before even attempting an upgrade...
https://assets.nagios.com/downloads/nag ... ading.html
Having said that, you need to fix your configuration errors first, before even attempting an upgrade...
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade Nagios Core 3.5.1 to 4.4.5
I have gone through the link. My question is if nagios is installed in /etc instead of /usr/local how do I upgrade? I moved the config files and changed the paths and nagios upgrades but will not see the hosts or host groups
Re: Upgrade Nagios Core 3.5.1 to 4.4.5
Most likely, you installed nagios from a repo (not from source). Review the two links below in order to decide which one would work in your case:My question is if nagios is installed in /etc instead of /usr/local how do I upgrade?
https://assets.nagios.com/downloads/nag ... l#pack2src
https://assets.nagios.com/downloads/nag ... l#packaged
Make sure that you have the correct paths to your config files in the nagios.cfg file. Test the configuration, and restart nagios (provided you don't have config errors).I moved the config files and changed the paths and nagios upgrades but will not see the hosts or host groups
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade Nagios Core 3.5.1 to 4.4.5
Thank you. I will try it
Re: Upgrade Nagios Core 3.5.1 to 4.4.5
You are welcome! I will be closing this topic now. If you have any further questions/issues, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!