Error upgrade Nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eSailVite
Posts: 22
Joined: Thu Feb 14, 2019 2:18 am

Error upgrade Nagiosxi

Post by eSailVite »

Hi,

I have a problem upgrade my nagios xi..

First all the time the console "Update in progress. Please wait. Update may take a few minutes" and not do anything-.
Second.. I try upgrade manually and i have this error and not continue..

Error: Contact 'xi_default_contact' is not defined anywhere!
Error: Could not add contact 'xi_default_contact' to service (config file '/usr/local/nagios/etc/services/3Ants.cfg', starting on line 271)
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

What can i do?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error upgrade Nagiosxi

Post by scottwilkerson »

Can I have you create the following file and add the below

Code: Select all

/usr/local/nagios/etc/import/xi_default_contact.cfg

Code: Select all

define contact {
    contact_name                    xi_default_contact
    email                           root@localhost
    alias                           Default Contact
    host_notification_commands      xi_host_notification_handler
    service_notification_commands   xi_service_notification_handler
    host_notification_period        xi_timeperiod_none
    service_notification_period     xi_timeperiod_none
    host_notification_options       n
    service_notification_options    n
}
then Apply configuration

Once this is done, you should be able to proceed with the upgrade
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
eSailVite
Posts: 22
Joined: Thu Feb 14, 2019 2:18 am

Re: Error upgrade Nagiosxi

Post by eSailVite »

Hi scottwilkerson,

It`s woking... About "Update in progress. Please wait. Update may take a few minutes" i have done this KB

https://support.nagios.com/kb/article/n ... e-851.html

Everything is ok.

Thank so much
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error upgrade Nagiosxi

Post by scottwilkerson »

eSailVite wrote:Hi scottwilkerson,

It`s woking... About "Update in progress. Please wait. Update may take a few minutes" i have done this KB

https://support.nagios.com/kb/article/n ... e-851.html

Everything is ok.

Thank so much
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked