Page 1 of 1
change the ip address stored in xi
Posted: Tue Sep 05, 2017 2:36 pm
by benhank
Hey guys!
I want to modify the backup script to change the ipaddress that is stored in :
Capture.PNG
to that of the secondary server's ip.
Where does Nagios store this ip?
Re: change the ip address stored in xi
Posted: Tue Sep 05, 2017 2:57 pm
by scottwilkerson
It is in the nagiosxi database in the xi_options table with a name = 'url'
this will be a bit tricky to do inside the backup tarball
Re: change the ip address stored in xi
Posted: Tue Sep 05, 2017 3:12 pm
by benhank
oh ok I thought a simple sed command would do it. Thanks scott you can lock it
Re: change the ip address stored in xi
Posted: Tue Sep 05, 2017 3:51 pm
by bolson
Closing this topic as resolved.
Thank you for visiting the Nagios Support Forum!