Hello,
We have serveral Nagios servers running and we are using fusion to have an overview.
Since we are not installing a new server from scratch when we need a new one, and take a copy of an existing server the Fusion key on the new server is the same as then one we made the copy from.
For the Fusion server this does not appear to be a problem but I would like to have a uniek Fusion key for every server.
How do I generate a new Fusion key on an existing server?
Generate new Fusion key
Re: Generate new Fusion key
I've reached out to development to get clarification on this, I will let you know what they say.
Re: Generate new Fusion key
You can regenerate the fusekey like this:
For an offloaded DB (database stored on a separate server):
Code: Select all
mysql -unagiosxi -p'n@gweb' nagiosxi -e "UPDATE xi_options SET value = '$(php -r 'echo strtoupper(md5(uniqid()));')' WHERE name = 'fusekey';"Code: Select all
mysql -h X.X.X.X -unagiosxi -p'n@gweb' nagiosxi -e "UPDATE xi_options SET value = '$(php -r 'echo strtoupper(md5(uniqid()));')' WHERE name = 'fusekey';"-
nagios-retail
- Posts: 36
- Joined: Mon Feb 09, 2015 3:32 am
Re: Generate new Fusion key
That worked out great ..thx
This can be closed
This can be closed