Duplicate definition found for contact 'xi_default_contact'

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cyient
Posts: 116
Joined: Thu May 08, 2014 4:45 am

Duplicate definition found for contact 'xi_default_contact'

Post by cyient »

Hi Team,

When i tried the below fix for Duplicate definition found for contact 'xi_default_contact' error

Code: Select all

curl -s http://assets.nagios.com/downloads/nagiosxi/scripts/fix_static_import| mysql -pnagiosxi nagiosql
I get the error as

Code: Select all

curl http://assets.nagios.com/downloads/nagiosxi/scripts/fix_static_import
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://assets.nagios.com/downloads/nagiosxi/scripts/fix_static_import">here</a>.</p>
</body></html>
Can you help me out ?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Duplicate definition found for contact 'xi_default_conta

Post by rkennedy »

Can you show me where you pulled the command from, so I can have the documentation uploaded?

Try running this -

Code: Select all

curl -s https://assets.nagios.com/downloads/nagiosxi/scripts/fix_static_import | mysql -pnagiosxi nagiosql
Former Nagios Employee
Locked