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:


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:


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 - Hosts Pending/Gray
Viewed 6606 times since Tue, Jan 6, 2015
Nagios XI - Windows Memory Usage - Physical
Viewed 10086 times since Tue, Jan 26, 2016
Nagios XI - Debugging Bandwidth Performance Graphs
Viewed 9109 times since Tue, Jan 27, 2015
Nagios XI - Core 4 Load Spikes on 1.75 and 7 Hour Intervals
Viewed 2393 times since Mon, Jan 25, 2016
Nagios XI - Scheduled Downtime Not Working
Viewed 3723 times since Mon, Oct 10, 2016
Nagios XI - Reset Upgrade Status In Web Interface
Viewed 6259 times since Tue, May 7, 2019
Nagios XI - Can’t Log Into The Web Interface
Viewed 32595 times since Tue, Jan 27, 2015
Nagios XI - Status Information Cut Off At 256 Characters
Viewed 3984 times since Thu, Feb 25, 2016
XI 5.4 monitoring engine not running
Viewed 5850 times since Mon, Feb 6, 2017
Nagios XI - Disabling Database UTF8 Connectivity
Viewed 2742 times since Thu, Mar 8, 2018