Home » Categories » Products » Nagios XI » Troubleshooting » Common Problems

Nagios XI - Warning: Duplicate definition found for contact ’xi_default_contact’

Problem Description

When you try to apply configuration, you see an error, similar to this one:

Warning: Duplicate definition found for contact 'xi_default_contact'
(config file '/usr/local/nagios/etc/contacts.cfg', starting on line 79)
Error: Could not add object property in file '/usr/local/nagios/etc/contacts.cfg' on line 80.
Error processing object config files!

 

This usually happens if you import the "static" directory config files in Nagios XI.

 

Resolving The Problem

You can resolve this by running the following command and then applying configuration:

Type:

curl -s http://assets.nagios.com/downloads/nagiosxi/scripts/fix_static_import| mysql -pnagiosxi nagiosql

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Problems Using Nagios XI With Proxies
Viewed 2060 times since Mon, Jan 25, 2016
Nagios XI - Migrate Performance Data
Viewed 1272 times since Tue, Jan 26, 2016
Installation errors on customized corporate builds of CentOS or RHEL
Viewed 1338 times since Tue, Jan 26, 2016
Nagios XI - Ajaxterm Installation Aborted
Viewed 455 times since Tue, Jan 26, 2016
Nagios XI - Status Information Cut Off At 256 Characters
Viewed 786 times since Thu, Feb 25, 2016
Nagios XI - Core Configuration Mananger Display Issues
Viewed 453 times since Tue, Jan 26, 2016
Nagios XI - Error while converting SVG
Viewed 398 times since Thu, Aug 3, 2017
Nagios XI - SQL Error [nagiosxi] : ERROR: syntax error
Viewed 730 times since Sun, Sep 10, 2017
Nagios XI - Resolving "Cannot connect to database" Error - Core Config Manager
Viewed 761 times since Mon, Jan 25, 2016
Nagios XI - MySQL/MariaDB - Max Connections
Viewed 2249 times since Thu, Jun 2, 2016