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 - Scheduled Reports Not Running
Viewed 929 times since Thu, Aug 10, 2017
Active Directory / LDAP - Troubleshooting Authentication Integration
Viewed 3152 times since Mon, Jun 26, 2017
CCM says unapplied changes exist, but none listed
Viewed 873 times since Mon, Feb 27, 2017
Nagios XI - Defining Global Environment Variables
Viewed 1944 times since Thu, Mar 17, 2016
Nagios XI - Scheduled Downtime Not Working
Viewed 1153 times since Mon, Oct 10, 2016
Nagios XI - MySQL/MariaDB - Max Connections
Viewed 3321 times since Thu, Jun 2, 2016
Nagios XI - MRTG Reports SNMP_Session Errors
Viewed 878 times since Wed, Jul 27, 2016
Nagios XI - Empty Screen for Wizard, Component, Dashlet
Viewed 1036 times since Wed, Jan 27, 2016
Nagios XI - HTTP 500 Error / White Screen After Login
Viewed 922 times since Mon, Feb 29, 2016
Nagios XI - Host Still Visible After Deletion (Ghost Hosts)
Viewed 2984 times since Tue, Jan 27, 2015