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: 95
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: 95
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!
User avatar
bugmenot
Posts: 6
Joined: Wed Sep 18, 2013 9:50 am

Re: Bulk fix usernames

Post by bugmenot »

Hi everyone,
8-)
This is an interesting discussion. I think adding an 'update' option in the API would be really useful for bulk updates. Changing things directly in the database works, but having it in the API would make it so much easier. Hope to see this feature added soon.
User avatar
ajcoil
Posts: 95
Joined: Wed Aug 09, 2023 10:30 am

Re: Bulk fix usernames

Post by ajcoil »

Hello @bugmenot,

Thank you for reaching out!

This is a great suggestion and I will make sure to include it in the feature request.


If you have any other questions, comments, or concerns, feel free to reach out anytime!
User avatar
bugmenot
Posts: 6
Joined: Wed Sep 18, 2013 9:50 am

Re: Bulk fix usernames

Post by bugmenot »

Thanks for considering it.
Can’t wait to see this feature added. I’ll share more ideas or questions if I have any. 😊
User avatar
ajcoil
Posts: 95
Joined: Wed Aug 09, 2023 10:30 am

Re: Bulk fix usernames

Post by ajcoil »

Hello @bugmenot,

Glad to hear!

Feedback from users can be very helpful when it comes to improving any product!
Post Reply