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 - Upgrade errors - root.crontab.orig: cannot overwrite existing file
Viewed 1670 times since Tue, Jan 26, 2016
Nagios XI - Debugging Bandwidth Performance Graphs
Viewed 6534 times since Tue, Jan 27, 2015
Nagios Core - Failed to register iobroker
Viewed 2240 times since Wed, Sep 20, 2017
Nagios XI - Notifications Not Sending In XI 5.3.0
Viewed 1912 times since Tue, Oct 4, 2016
Nagios XI - Windows Memory Usage - Physical
Viewed 7507 times since Tue, Jan 26, 2016
Disabling Outdated Versions of SSL/TLS
Viewed 702 times since Thu, Aug 6, 2020
Nagios XI - SNMP MIB Upload Problems
Viewed 3737 times since Mon, Apr 10, 2017
Nagios XI - Schedulded Backups No Longer Working
Viewed 2940 times since Fri, Jun 3, 2016
Nagios XI - Running Out Of Disk Space On The Nagios XI VM
Viewed 7455 times since Tue, Jan 27, 2015
XI 5.4 monitoring engine not running
Viewed 4151 times since Mon, Feb 6, 2017