Hello, we store all of our hosts configurations in Salt, so that if we need to provision a new server, it's all done automatically with a Salt-call.
Running the new v2024 installation script does almost everything with the exception of the steps in "Finalize Installation" in which the person installing is directed to the web GUI to manually enter some final information, namely:
General System Settings
• Program URL (xi-sys.cfg)
• Timezone ?
• Language (xi-sys.cfg)
• UI Theme (xi-sys.cfg)
License Settings
• Licensed radio button
• License Key ?
• Client ID ?
• Enterprise Key ?
Admin Account Settings
• Username ?
• Password ?
• Full Name ?
• Email address ?
I have found the settings for only three items in /usr/local/nagiosxi/etc/xi-sys.cfg as noted above. I need to find out where the remaining (?) items are stored, so that these can be automated with the Salt-call as well. I've searched documentation for where these other fields are stored, don't find. Can anyone illuminate me?
To complete the install, with all monitors in tact, we'd then probably restore from the last xi daily backup. Alternately we'd store all .cfgs in GIT and have salt pull them down, too.
Thanks
Provision xi server with Salt - Finalize Installation
-
- Posts: 172
- Joined: Fri Sep 11, 2020 2:13 pm
-
- Posts: 318
- Joined: Thu Jan 12, 2023 5:42 pm
Re: Provision xi server with Salt - Finalize Installation
Hello Gregbeyer,
I am not familiar with Salt, but several of these are stored encrypted in one of your Nagios databases, which may make what you are attempting more difficult. If you would like to get extensive support from a Nagios support agent, you can file a ticket here: Nagios Answer Hub
I am not familiar with Salt, but several of these are stored encrypted in one of your Nagios databases, which may make what you are attempting more difficult. If you would like to get extensive support from a Nagios support agent, you can file a ticket here: Nagios Answer Hub
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.