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
CCM says unapplied changes exist, but none listed
Viewed 1642 times since Mon, Feb 27, 2017
Nagios XI - ERROR: unable to open include file: conf.d/*.cfg
Viewed 2074 times since Sun, May 29, 2016
Nagios XI - Scheduled Downtime Not Working
Viewed 2162 times since Mon, Oct 10, 2016
Nagios XI - Display All Scheduled Reports
Viewed 1612 times since Wed, Oct 12, 2016
Nagios XI - Notifications Not Sending In XI 5.3.0
Viewed 1625 times since Tue, Oct 4, 2016
Nagios XI - Profile Build Failed
Viewed 3884 times since Tue, Aug 2, 2016
Nagios XI - SQL Error [nagiosxi] : ERROR: syntax error
Viewed 2111 times since Sun, Sep 10, 2017
Nagios XI - Installing XI Fails To Install Dependency pymssql
Viewed 2076 times since Mon, Oct 17, 2016
Nagios XI - Hosts Pending/Gray
Viewed 3768 times since Tue, Jan 6, 2015
Nagios XI - mysql_error out of range value for column
Viewed 2020 times since Tue, Aug 14, 2018