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 - How To Use CA Certificates With check_ldaps Plugin
Viewed 2598 times since Tue, Jul 26, 2016
Nagios XI - Optimizing The PHP Settings File
Viewed 3872 times since Thu, Jul 13, 2017
Installation errors on customized corporate builds of CentOS or RHEL
Viewed 3128 times since Tue, Jan 26, 2016
Nagios XI - Schedulded Backups No Longer Working
Viewed 2114 times since Fri, Jun 3, 2016
Nagios XI - Oracle Services Critical After Nagios XI Upgrade
Viewed 1480 times since Wed, Jan 27, 2016
Nagios XI - Notification Problems
Viewed 6536 times since Tue, Jan 27, 2015
Nagios XI - Problems Using Nagios XI With Proxies
Viewed 4232 times since Mon, Jan 25, 2016
NDOUtils - Message Queue Exceeded
Viewed 5342 times since Thu, Jan 21, 2016
Nagios XI - MySQL/MariaDB - Max Connections
Viewed 5103 times since Thu, Jun 2, 2016
Nagios XI - Notifications Not Sending In XI 5.3.0
Viewed 1385 times since Tue, Oct 4, 2016