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 - Host Still Visible After Deletion (Ghost Hosts)
Viewed 6132 times since Tue, Jan 27, 2015
SSL Certificate does not validate properly
Viewed 626 times since Wed, Jan 20, 2021
Upgrading to NDO 3 after having been downgraded in newer versions of Nagios XI
Viewed 514 times since Fri, Jan 15, 2021
Nagios XI - Resetting The nagiosadmin Password
Viewed 26511 times since Mon, Jan 25, 2016
Nagios Core - Failed to register iobroker
Viewed 2985 times since Wed, Sep 20, 2017
Nagios XI - WMI Troubleshooting
Viewed 12925 times since Mon, Apr 24, 2017
Nagios XI - Notifications Not Sending In XI 5.3.0
Viewed 2441 times since Tue, Oct 4, 2016
Nagios XI - Notification Problems
Viewed 16918 times since Tue, Jan 27, 2015
NRPE - Agent and Plugin Explained
Viewed 34791 times since Fri, Jul 14, 2017
Nagios XI - STRICT_TRANS_TABLES
Viewed 3242 times since Thu, Nov 16, 2017