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 - MSSQL Wizards - Adaptive Server connection failed
Viewed 4981 times since Thu, Aug 3, 2017
Nagios XI - SQL Error [nagiosxi] : ERROR: syntax error
Viewed 3111 times since Sun, Sep 10, 2017
Slack Notifications Stopped Working
Viewed 1619 times since Wed, Mar 18, 2020
Nagios XI - Running Out Of Disk Space On The Nagios XI VM
Viewed 12322 times since Tue, Jan 27, 2015
Nagios XI - Problems with $ Signs in the Check Command
Viewed 3603 times since Tue, Jan 26, 2016
Nagios XI - Installing XI Fails To Install Dependency pymssql
Viewed 2796 times since Mon, Oct 17, 2016
Nagios XI - How To Test Check Commands From The Command-line
Viewed 20750 times since Tue, Jan 26, 2016
Nagios XI - Windows Memory Usage - Physical
Viewed 8597 times since Tue, Jan 26, 2016
Nagios XI - Apply Configuration Fails - Backend login to the Core Configuration failed
Viewed 9902 times since Tue, Aug 2, 2016
Nagios XI - Error while converting SVG
Viewed 1808 times since Thu, Aug 3, 2017