Page 1 of 1

Duplicate definition found for contact 'xi_default_contact'

Posted: Tue Jan 24, 2017 2:55 am
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 ?

Re: Duplicate definition found for contact 'xi_default_conta

Posted: Tue Jan 24, 2017 11:47 am
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