Bulk fix usernames

This support forum board is for questions relating to Nagios Fusion.
Post Reply
NeoMatrixJR
Posts: 28
Joined: Fri Dec 21, 2018 11:18 am

Bulk fix usernames

Post by NeoMatrixJR »

We're in the process of updating all of our nagios core servers and part of that process changed the usernames for nagios core to match our current standards. This of course broke all of our basic auth fused servers. Is there any way to bulk update the username for all of these? is there a config file?
The only thing I was able to find on my own is to use the API but that seems to require that I fully delete and rebuild all the servers via the API....
NeoMatrixJR
Posts: 28
Joined: Fri Dec 21, 2018 11:18 am

Re: Bulk fix usernames

Post by NeoMatrixJR »

nevermind...I was able to accomplish this with a database change
User avatar
ajcoil
Posts: 88
Joined: Wed Aug 09, 2023 10:30 am

Re: Bulk fix usernames

Post by ajcoil »

Hello @NeoMatrixJR,

Thank you for reaching out!


I am glad to hear you got it all sorted out!

You are correct in coming to the conclusion that there is currently no way to do it outside of leveraging the API. This is something that is on my radar and would like to implement in the future.

Feel free to reach out if you have any other questions, comments, or concerns!
NeoMatrixJR
Posts: 28
Joined: Fri Dec 21, 2018 11:18 am

Re: Bulk fix usernames

Post by NeoMatrixJR »

If you're taking any suggestions, the API should have a verb to update items not just add/delete
User avatar
ajcoil
Posts: 88
Joined: Wed Aug 09, 2023 10:30 am

Re: Bulk fix usernames

Post by ajcoil »

Hey @NeoMatrixJR,

I appreciate the feedback and will note this, thank you!
Post Reply