[op5-users] vSphere and check_esx3.pl

Joseph L. Casale JCasale at activenetwerx.com
Fri Jul 10 21:33:46 CEST 2009


>In fact I am also running CentOS 5 with rpmforge perl modules, what
>syntax are you using?
>Can you supply the complete command with arguments to check_esx3?
>Also, are you sure you're able to connect to the server from that host?
>Can you telnet to the port?

Ok, that's good news! Connectivity is not a problem, this was working on an
old CentOS5 box with my 3.5u4 servers. Its is exactly as you say, a missing
dep or something.

So from a bare install of CentOS, I install:
perl-Crypt-SSLeay
perl-Nagios-Plugin

Then I install the sdk.

Launching the plugin like this:
perl /usr/lib/nagios/plugins/contrib/check_esx3.pl -H 192.168.0.24 -u <...> -p <...> -l net -s usage -w 75 -c 99
as a test, I get the sdk not installed warning, which isn't true?

`perl -MVMware::VIRuntime -e 1` shows:
Can't locate URI.pm in @INC...

ok...
`yum whatprovides \*/URI.pm`
So installing perl-URI and no error now.

So now I have more progress, any vm with the vmxnet3 nic shows vm-net-usage
which is a known issue on vmware's side and also this command is a bit odd?

perl /usr/lib/nagios/plugins/contrib/check_esx3.pl -H 192.168.0.24 -u <user> -p <pass> -l vmfs -s DataStore_0 -w 15 -c 10
CHECK_ESX3.PL CRITICAL - DataStore_0=76817.00 MB (27.45%)

Must be my syntax or a module again that I am missing? Why is it critical?

Thanks!
jlc


More information about the op5-users mailing list