Page 1 of 1
Change password for vCenter
Posted: Thu Jul 13, 2017 9:07 pm
by khdetw
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
Posted: Fri Jul 14, 2017 12:07 pm
by mcapra
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
Re: Change password for vCenter
Posted: Fri Jul 14, 2017 12:19 pm
by dwhitfield
@khdetw, did you have any other questions or did
@mcapra resolve this issue for you?
Re: Change password for vCenter
Posted: Wed Jul 19, 2017 11:41 am
by khdetw
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.
Re: Change password for vCenter
Posted: Wed Jul 19, 2017 3:41 pm
by dwhitfield
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.