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 - Notification Problems
Viewed 25847 times since Tue, Jan 27, 2015
Nagios XI - ERROR: PostgresQL not running - exiting
Viewed 4392 times since Tue, Jan 26, 2016
Nagios XI - Troubleshooting Reports
Viewed 6066 times since Wed, Dec 5, 2018
Nagios XI - Resetting The nagiosadmin Password
Viewed 41190 times since Mon, Jan 25, 2016
Nagios XI - Uploaded plugin returns "/bin/bash^M: bad interpreter: No such file or directory"
Viewed 6152 times since Thu, Feb 25, 2016
Nagios XI - Display All Scheduled Reports
Viewed 4417 times since Wed, Oct 12, 2016
Nagios XI - mysql_error out of range value for column
Viewed 5590 times since Tue, Aug 14, 2018
ERROR: Please add the ’Optional’ channel to your Red Hat systems subscriptions
Viewed 24867 times since Tue, Jan 26, 2016
Nagios XI - Profile Build Failed
Viewed 11151 times since Tue, Aug 2, 2016
Web Browser Reports 330 Error Content Encoding
Viewed 4516 times since Tue, Mar 7, 2017