Change password for vCenter
Change password for vCenter
After setting up a VMware vCenter host using the configuration wizard, how to you change the password (or username) that it uses to connect to vCenter?
Re: Change password for vCenter
You could re-run the wizard, otherwise you would likely need to change each service definition individually via the Core Config Manager. The password is passed as an argument to the vCenter script.
Some light reading on how the Core Configuration Manager works:
https://support.nagios.com/kb/article.php?id=539
Some light reading on how the Core Configuration Manager works:
https://support.nagios.com/kb/article.php?id=539
Last edited by mcapra on Fri Jul 14, 2017 12:22 pm, edited 1 time in total.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Change password for vCenter
I located the file "/usr/local/nagiosxi/etc/components/vmware/NAME_OF_VCENTER_auth.txt" which contains the vCenter username & password in plain text. Looks like editing that file may do it.
Disturbingly, that file is (Was) world readable.
Disturbingly, that file is (Was) world readable.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Change password for vCenter
Please go to http://YOURSERVER/nagiosxi/admin/configwizards.php and let us know what version of the VMWare wizard you are running. If it's not 1.6.10, can you upgrade and let us know if it resets the permissions to whatever they were? If it does, I can file a bug.