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 - Unable To Login Using Two Factor Authentication
Viewed 305 times since Tue, Apr 10, 2018
Nagios XI - How To Test Check Commands From The Command-line
Viewed 2889 times since Tue, Jan 26, 2016
Pages Not Displaying Correctly
Viewed 485 times since Mon, Jan 25, 2016
Nagios XI - Empty Screen for Wizard, Component, Dashlet
Viewed 435 times since Wed, Jan 27, 2016
Nagios XI - Installing XI Fails To Install Dependency pymssql
Viewed 527 times since Mon, Oct 17, 2016
Nagios XI - NSP: Sorry Dave, I can’t let you do that
Viewed 2255 times since Tue, Jan 27, 2015
NDOUtils - Message Queue Exceeded
Viewed 1469 times since Thu, Jan 21, 2016
Nagios XI - HTTP 500 Error / PHP Parse error - Unexpected $end
Viewed 357 times since Mon, Jan 25, 2016
Nagios XI - Error while converting SVG
Viewed 277 times since Thu, Aug 3, 2017
Nagios XI - Schedulded Backups No Longer Working
Viewed 540 times since Fri, Jun 3, 2016