Looking to update Nagios Users' API Keys: Suggestions?
Posted: Thu Jul 29, 2021 3:13 pm
Here's our use case:
We have 25 production XIs, and 3 dev and 13 disaster recovery servers.
When we built the initial servers we just applied a backup taken from one of the first servers. This brought over lots of great settings like performance tweaks, but most importantly it brought over all of the then core users and with the same API key per user on each server
So admin user BOB had API Key EVERYWHERE.
But as time has passed, people are coming and going, and our XIs busy enough and specialized enough, that this method is no longer so great.
In addition, we're going to be spinning off part of the company, and that means spinning up their own Nagios infrastructure.
So the question is, does anyone have any suggestions via API or direct manipulation of the mariadb to allow us to create a new user everywhere and give them the same API key? (because it makes automation and administration to not need a new key per server)
We have 25 production XIs, and 3 dev and 13 disaster recovery servers.
When we built the initial servers we just applied a backup taken from one of the first servers. This brought over lots of great settings like performance tweaks, but most importantly it brought over all of the then core users and with the same API key per user on each server
So admin user BOB had API Key EVERYWHERE.
But as time has passed, people are coming and going, and our XIs busy enough and specialized enough, that this method is no longer so great.
In addition, we're going to be spinning off part of the company, and that means spinning up their own Nagios infrastructure.
So the question is, does anyone have any suggestions via API or direct manipulation of the mariadb to allow us to create a new user everywhere and give them the same API key? (because it makes automation and administration to not need a new key per server)