Where in the CFG files or mysql are the auth servers stored?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
GKWilly
Posts: 3
Joined: Mon May 18, 2020 11:50 am

Where in the CFG files or mysql are the auth servers stored?

Post by GKWilly »

My scenario:
We're standing up a 20 server XI environment, using LDAP to authenticate the users.
Sometime later this year our central operations team will be rolling out new authentication servers.

So I am looking for the location in the cfgs, mysql database or someplace else where Nagios stores the LDAP server information
1) So that I can change the server when the operations team gives us a new name, without visiting every XI server in my fleet
2) So that when I stand up new XI servers I can import the users and metadata tables from a master source without needing to find the alias assigned when one manually adds a server to the interface.
While I can do a quick SQL job to find the new alias and repair the xi_usermeta table for all the users... there has to be a more efficient way :D

-GKWilly
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Where in the CFG files or mysql are the auth servers sto

Post by cdienger »

The auth servers are stored in the xi_options table of the nagiosxi database. You can get the information(which is base 64 encoded) with:

Code: Select all

select value from xi_options where name='ldap_ad_integration_component_servers';
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked