Page 1 of 1

ESX server error

Posted: Tue Feb 11, 2014 1:54 pm
by ancovington
I recently changed my password and now I am noticing this issue:

UNKNOWN: Login to VirtualCentre server failed: Error: Cannot complete login due to an incorrect user name or password.

Re: ESX server error

Posted: Tue Feb 11, 2014 1:56 pm
by slansing
Did you change the password used in your service configurations?

Re: ESX server error

Posted: Tue Feb 11, 2014 1:59 pm
by ancovington
No, I changed my network password which I am not sure if that would affect the Nagios server, but now that is the error I get only for the ESX host.

Re: ESX server error

Posted: Tue Feb 11, 2014 2:01 pm
by slansing
What do you mean by your network password? Does this change directly coincide with the timestamp on your checks when they started going critical with this error?

Re: ESX server error

Posted: Tue Feb 11, 2014 2:07 pm
by ancovington
What I mean by network password is the Active Directory authenticated password that I set to log into any server and my laptop.
Yes, it does match up with the time that I changed my password.

Re: ESX server error

Posted: Tue Feb 11, 2014 4:02 pm
by lmiltchev
Most probably your vmware checks look something like this (if you used our wizard):
/usr/local/nagios/libexec/check_esx3.pl -H "<client's IP>" -f "/usr/local/nagiosxi/etc/components/vmware/<hostname>_auth.txt" -l "CPU"
If you changed the vmware log in credentials, you need to modify the "*.auth.txt" file and enter the new credentials, so that your vmware checks won't be failing.

Hope this helps.

Re: ESX server error

Posted: Wed Feb 12, 2014 10:58 am
by ancovington
That didn't work. Actually the authenticated file had the username and password to what we use to log into the Nagios server as an admin. Is it possible to remove the vcenter entry and recreate it in hopes of it grabbing the correct username and password?

Re: ESX server error

Posted: Wed Feb 12, 2014 11:01 am
by abrist
Yes, but you would have to rerun the wizard for the auth file to be repopulated.

Re: ESX server error

Posted: Wed Mar 19, 2014 11:06 am
by ancovington
This issue has also been resolved. I changed my password back to what it was.