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.
ESX server error
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: ESX server error
Did you change the password used in your service configurations?
-
ancovington
- Posts: 175
- Joined: Fri Sep 13, 2013 1:32 pm
Re: ESX server error
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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: ESX server error
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?
-
ancovington
- Posts: 175
- Joined: Fri Sep 13, 2013 1:32 pm
Re: ESX server error
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.
Yes, it does match up with the time that I changed my password.
Re: ESX server error
Most probably your vmware checks look something like this (if you used our wizard):
Hope this helps.
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./usr/local/nagios/libexec/check_esx3.pl -H "<client's IP>" -f "/usr/local/nagiosxi/etc/components/vmware/<hostname>_auth.txt" -l "CPU"
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ancovington
- Posts: 175
- Joined: Fri Sep 13, 2013 1:32 pm
Re: ESX server error
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
Yes, but you would have to rerun the wizard for the auth file to be repopulated.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
ancovington
- Posts: 175
- Joined: Fri Sep 13, 2013 1:32 pm
Re: ESX server error
This issue has also been resolved. I changed my password back to what it was.