Build precise queries to find exactly what you need
Press ESC to close
@tazinblack
Favorites0
Views
Projects0
How can I use this against a vCenter instead of using a host directly. Could you write some more details please?
Reviewed 12 years ago
I added $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0; to make it run. But now I always get this output ./check_esx3-0.5.pl -H 192.168.77.70 -u user -p mypassword -l cpu ******************************************************************* Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER together with SSL_ca_file|SSL_ca_path for verification. If you really don't want to verify the certificate and keep the connection open to Man-In-The-Middle attacks please set SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application. ******************************************************************* at /usr/lib64/perl5/vendor_perl/5.12.4/LWP/Protocol/http.pm line 31 ******************************************************************* Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER together with SSL_ca_file|SSL_ca_path for verification. If you really don't want to verify the certificate and keep the connection open to Man-In-The-Middle attacks please set SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application. ******************************************************************* at /usr/lib64/perl5/vendor_perl/5.12.4/LWP/Protocol/http.pm line 31 ******************************************************************* Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER together with SSL_ca_file|SSL_ca_path for verification. If you really don't want to verify the certificate and keep the connection open to Man-In-The-Middle attacks please set SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application. ******************************************************************* at /usr/lib64/perl5/vendor_perl/5.12.4/LWP/Protocol/http.pm line 31 CHECK_ESX3-0.5.PL OK - cpu usage=8070.00 MHz (23.69%) | cpu_usagemhz=8070.00Mhz;; cpu_usage=23.69%;; Would be perfect if this would be fixed
Sorry, does not work together with the standard configuration of the snmpd on esx4. Maybe someone can post here how to use it there.
Reviewed 15 years ago