Change password for vCenter

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
khdetw
Posts: 3
Joined: Thu Apr 06, 2017 9:59 am

Change password for vCenter

Post 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?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Change password for vCenter

Post 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
Last edited by mcapra on Fri Jul 14, 2017 12:22 pm, edited 1 time in total.
Former Nagios employee
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

Post by dwhitfield »

@khdetw, did you have any other questions or did @mcapra resolve this issue for you?
khdetw
Posts: 3
Joined: Thu Apr 06, 2017 9:59 am

Re: Change password for vCenter

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Change password for vCenter

Post 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.
Locked