Page 1 of 1

Error upgrade Nagiosxi

Posted: Thu Oct 10, 2019 10:19 am
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?

Re: Error upgrade Nagiosxi

Posted: Thu Oct 10, 2019 10:32 am
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

Re: Error upgrade Nagiosxi

Posted: Thu Oct 10, 2019 10:43 am
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

Re: Error upgrade Nagiosxi

Posted: Thu Oct 10, 2019 11:27 am
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