VMWare permissions

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
daveinvb
Posts: 67
Joined: Tue Jun 02, 2015 9:06 am

VMWare permissions

Post by daveinvb »

I'm attempting to monitor VMWare hosts. I've successfully installed the VMWare wizard and it works when I use the ESXi root credentials. Unfortunately, it stores the credentials in plain text in a file named *auth.txt. Storing root credentials like that is a huge security vulnerability. I created a read-only user in vCenter and I'm able to log in and view everything on the hosts, but Nagios gives me an error "ESX3 CRITICAL - Error: Cannot complete login due to an incorrect user name or password". So what are the required permissions for this to work because root is a no-go?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: VMWare permissions

Post by tmcdonald »

Are there any special characters in the password? Normally this is not an issue if they are stored in an auth file, but things like ! and $ have special meanings in CLI environments which may be causing issues.
Former Nagios employee
daveinvb
Posts: 67
Joined: Tue Jun 02, 2015 9:06 am

Re: VMWare permissions

Post by daveinvb »

Yes, there are special characters because they are required by the password policy. I have changed it from ! to @ with no luck.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: VMWare permissions

Post by ssax »

Did you try wrapping the password in single quotes?

Code: Select all

'yourp@ss'
Locked