Check_esx error domain user
Posted: Wed Oct 30, 2019 2:29 am
Hi !!!
I have a validation problem when executing a command to monitor vmware.
If I execute the command with root user it works for me
./check_vmware_api.pl -H serveresxi -u root -p password -l cpu
CHECK_VMWARE_API.PL OK - cpu usage = 9862.00 MHz (14.67%) | cpu_usagemhz = 9862.00 ;; cpu_usage = 14.67% ;;
But with the domain user nagiosusr I get validation error.
The user in vmware is registered with the role read, as indicated in the documentation of the plugin.
./check_vmware_api.pl -H serveresxi-u nagiosusr -p password -l cpu
CHECK_VMWARE_API.PL UNKNOWN - Error: Cannot complete login due to an incorrect user name or password
I have tried with
nagiosusr@domain
domain\nagiosusr
domain\\nagiosusr
but it gives the same validation error
Any more options?
Thank you
I have a validation problem when executing a command to monitor vmware.
If I execute the command with root user it works for me
./check_vmware_api.pl -H serveresxi -u root -p password -l cpu
CHECK_VMWARE_API.PL OK - cpu usage = 9862.00 MHz (14.67%) | cpu_usagemhz = 9862.00 ;; cpu_usage = 14.67% ;;
But with the domain user nagiosusr I get validation error.
The user in vmware is registered with the role read, as indicated in the documentation of the plugin.
./check_vmware_api.pl -H serveresxi-u nagiosusr -p password -l cpu
CHECK_VMWARE_API.PL UNKNOWN - Error: Cannot complete login due to an incorrect user name or password
I have tried with
nagiosusr@domain
domain\nagiosusr
domain\\nagiosusr
but it gives the same validation error
Any more options?
Thank you