In working to utilize the "new" python check for VMware resources I ran into a bit of an edge case with how the check_vsphere_xi.py script handles the password value when consumed from an auth file.
Currently the password value is extracted with:
Code: Select all
password = line.split("=")[1].rstrip()
Code: Select all
password = line.split("=", 1)[1].rstrip()
Just wanted to pass this along, in the very least to help anyone with this very specific issue.