Home »
Categories
» Products » Nagios XI » Troubleshooting » Common Problems |
Nagios XI - Warning: Duplicate definition found for contact ’xi_default_contact’ |
Article Number: 162 | Rating: Unrated | 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/
|
Posted by: tlea on Tue, Jan 26, 2016 at 1:08 AM. This article has been viewed 4968 times. Filed Under: Common Problems |
Have a question? Try our Forums! | Give Feedback |
0 (0)
Article Rating (No Votes)
Rate this article
|
| |
|
Attachments
There are no attachments for this article.
| Related Articles
Nagios XI - Missing localhost Alerts
Viewed 5924 times since Sun, Nov 5, 2017
Nagios XI - STRICT_TRANS_TABLES
Viewed 6386 times since Thu, Nov 16, 2017
Nagios XI - Performance Graph Problems
Viewed 23700 times since Fri, Dec 19, 2014
NDOUtils - Message Queue Exceeded
Viewed 14340 times since Thu, Jan 21, 2016
Enabling Oracle Linux Optional Repository
Viewed 16270 times since Mon, May 14, 2018
VMWare checks timing out or slow
Viewed 2681 times since Fri, Feb 11, 2022
Nagios XI - Notification Problems
Viewed 25897 times since Tue, Jan 27, 2015
|
|