| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| check_esx3 problem http://www.steveshipway.org/forum/viewtopic.php?f=28&t=4030 |
Page 1 of 1 |
| Author: | Jean-Francois [ Wed Nov 25, 2009 5:48 am ] |
| Post subject: | check_esx3 problem |
Hi, I have just installed the plugins in order to monitor esx, but have an error when I'm trying to test it : Can't call method "sessionManager" on an undefined value at /usr/local/share/perl/5.10.0/VMware/VIM2Runtime.pm line 444 Does anyone have an idea of how I can avoid this problem ? Thanks for help. JF |
|
| Author: | stevesh [ Wed Nov 25, 2009 9:35 am ] |
| Post subject: | Re: check_esx3 problem |
Ive not come across this before - it is an error in the VMWare Perl library so I can't do much about it. Possibly this is a perl 5.10 incompatibilty? I've not tersted with 5.10, only 5.8 so far. Make sure you have the absolute latest version of the Perl toolkit from the VMWare site, and also the most up to date HTTP::Message module (theres a known bug in earlier versions of HTTP::Message that can have this sort of effect) |
|
| Author: | Jean-Francois [ Wed Nov 25, 2009 9:32 pm ] |
| Post subject: | Re: check_esx3 problem |
cpan -D HTTP::Message [...] Base class for Request/Response G/GA/GAAS/libwww-perl-5.834.tar.gz /usr/share/perl5/HTTP/Message.pm Installed: 5.812 CPAN: 5.834 Not up to date The libwww-perl mailing list (LWWWP) libwww@perl.org The toolkit i use came from sourceforge, not from VMWare site. I will try to reinstall the toolkit to be sure to have the latest one... Thanks, JF |
|
| Author: | Jean-Francois [ Wed Nov 25, 2009 11:50 pm ] |
| Post subject: | Re: check_esx3 problem |
Now : nagios:~# cpan -D HTTP::Message CPAN: Storable loaded ok (v2.18) Going to read /root/.cpan/Metadata Database was generated on Wed, 25 Nov 2009 07:29:19 GMT CPAN: YAML loaded ok (v0.70) HTTP::Message ------------------------------------------------------------------------- Base class for Request/Response G/GA/GAAS/libwww-perl-5.834.tar.gz /usr/local/share/perl/5.10.0/HTTP/Message.pm Installed: 5.828 CPAN: 5.834 Not up to date The libwww-perl mailing list (LWWWP) libwww@perl.org but still same error |
|
| Author: | Jean-Francois [ Thu Nov 26, 2009 3:35 am ] |
| Post subject: | Re: check_esx3 problem |
It works ! It was a problem with the user rights on the esx. It has been fixed, and works fine now. |
|
| Author: | stevesh [ Thu Nov 26, 2009 10:40 am ] |
| Post subject: | Re: check_esx3 problem |
Thanks for letting me know. The VMWare API is a bit bad on error catching and reporting sadly; I hope future versions will report things in a more catchable and friendly way... |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|