[op5-users] check_esx3 - sessionfile flag produces Error: The session is not authenticated

tontonitch-pro at yahoo.fr tontonitch-pro at yahoo.fr
Wed Jan 6 17:06:27 CET 2010


Hi,

I'm quite interested by the new feature allowing us to store session info during check_esx3 checks.

I've tried the option but I'm not able to make it work:
./check_esx3.pl -D virtualcenter_ip -H host_name -u username -p password -l cpu -s usage -w 85 -c 95 --sessionfile=/usr/local/nagios/var/spool/checks/check_esx3/session.dat
 - first launch: the plugin returns a correct result and generates the cookie file
 - next launches: the plugin returns the following message "CHECK_ESX3.PL CRITICAL - Error: The session is not authenticated."

Content of the generated cookie file:
#LWP-Cookies-1.0
Set-Cookie3: vmware_soap_session="\"xxxxxxxxxxxxxxxxxxxxxxxxxxx\""; path="/"; domain=virtualcenter_ip; path_spec; discard; version
=0

Is the feature already working even if it is only available in the beta of the plugin?
Is it the correct way of using the sessionfile flag?

Thanks in advance,

Yannick


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.op5.com/pipermail/op5-users/attachments/20100106/c1698258/attachment.html 


More information about the op5-users mailing list