check_esx3.pl fails to authenticate at ESXi host

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
elin
Posts: 4
Joined: Tue Jul 23, 2013 10:39 am

check_esx3.pl fails to authenticate at ESXi host

Post by elin »

Recently I upgraded to ESXi5.1 and all of a sudden, my check_esx3.pl fails to authenticate to my ESX hosts on the disaster-recovery site but authenticates well at the production datacenter. I thought I might be using outdated script and tried using check_esx3-0.5.pl at no avail.

From the command-line I use something like: ./check_esx3.pl -H <hostname> -u <user> -p ,password> -l vmfs

An actual error I get is: " "CHECK_ESX3.PL CRITICAL - Error: Cannot complete login due to an incorrect user name or password"

When I ssh using same authentications, it works. And as I said, same commands on a different ESX cluster works.

What could be the issue?

Many thanks in advance.

elin
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_esx3.pl fails to authenticate at ESXi host

Post by slansing »

Did the permissions on the account you are using to query with change by any chance? Moving this to Nagios Core forums as it is tracked in our system there.
Locked