| Home »
Categories
» Products » Nagios XI » Troubleshooting » Common Problems |
Nagios XI - Warning: Duplicate definition found for contact ’xi_default_contact’ |
|
Article Number: 162 | Rating: 1/5 from 6 votes | Last Updated by tlea on Mon, Feb 22, 2016 at 7:32 PM
|
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/
Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.
Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!
|
Posted by: tlea on Tue, Jan 26, 2016 at 1:08 AM. This article has been viewed 9536 times. Filed Under: Common Problems |
|
Have a question? Try our Forums! | Give Feedback |
1 (6)
Article Rating (6 Votes)
Rate this article
|
| |
|
Attachments
There are no attachments for this article.
| Related Articles 
Nagios XI - WMI Authentication Problems
Viewed 7614 times since Thu, Feb 25, 2016
Nagios XI - Profile Build Failed
Viewed 16085 times since Tue, Aug 2, 2016
API changes in Nagios XI 5.7
Viewed 5722 times since Tue, Feb 23, 2021
Nagios XI - Error while converting SVG
Viewed 6278 times since Thu, Aug 3, 2017
|
|