My nagios xi install is reporting that there is an update available but when I go to the "check for updates" page it just shows the spinner and "Update in progress. Please wait. Update may take a few minutes." No data shows up in the update progress box. When I run the upgrade manually I get some errors
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Contact 'xi_default_contact' is not defined anywhere!
Error: Could not add contact 'xi_default_contact' to host (config file '/usr/local/nagios/etc/hosts/entsalesprinter.office.sonic.net.cfg', starting on line 16)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
> Return Code: 1
But when I check the system profile it looks like I'm on the latest version 5.6.7 attached.
Is this expected behavior? Should I do anything or just ignore the update available notification?
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
Upgrade available but not really
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Upgrade available but not really
Hello @kavan,
Thanks for sharing the system profile right away, that's very helpful. I noticed some crashed db tables, please log in as root to the terminal and run the following script.
It looks like you have an error in your configuration files. Go to the Configure > CCM > Hosts and search for entsalesprinter.office.sonic.net from the text box in the upper right. Click on the Alert Settings tab and change the contact to nagiosadmin or another contact from your list.
Next go to Tools > Config File Management, and go through the following steps.
1. Delete Files
3. Write Files
3. Verify Files .... if it doesn't pass, then correct the errors in the CCM and repeat steps 1-2
4. Restart Nagios Core
Once you have cleared the configuration error, run the following commands as root to upgrade.
Thanks for sharing the system profile right away, that's very helpful. I noticed some crashed db tables, please log in as root to the terminal and run the following script.
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.sh
Next go to Tools > Config File Management, and go through the following steps.
1. Delete Files
3. Write Files
3. Verify Files .... if it doesn't pass, then correct the errors in the CCM and repeat steps 1-2
4. Restart Nagios Core
Once you have cleared the configuration error, run the following commands as root to upgrade.
Code: Select all
cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgrade
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!