Page 1 of 1

VMWare Plugin - ESX3 CRITICAL - Auth file must contain both

Posted: Tue Mar 27, 2012 10:37 pm
by Snook
Does anyone else have this issue with the VMWare plugin? I notice there are 3 comments on the plugin at nagios exchange with the same issue.

"ESX3 CRITICAL - Auth file must contain both username and password" showing up on all my VMWare checks. I have followed this guide to the letter http://assets.nagios.com/downloads/nagi ... ios_XI.pdf and I have got this working on 3 or 4 previous installs for clients. It appears there may be a problem with the latest VMware SDK version 5 and this plugin?

Can someone please confirm as it is driving me nuts!

Cheers,

Snook

Re: VMWare Plugin - ESX3 CRITICAL - Auth file must contain b

Posted: Tue Mar 27, 2012 11:04 pm
by Snook
I just resolved this.

Appears to be an error with the plugin itself, as it creates this file "/usr/local/nagiosxi/etc/components/vmware/VM01_auth.txt" but it puts the username and password on one line. I had to separate them and put them on seperate lines and BAM it works.

Bug in the plugin. Hope someone resolves soon.

Re: VMWare Plugin - ESX3 CRITICAL - Auth file must contain b

Posted: Wed Mar 28, 2012 7:20 am
by scottwilkerson
Glad you resolved it. We actually fixed this error but you would need to re-install the wizard with the new version.