mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
Version in file
git-svn-id: http://svn.merethis.net/centreon-esxd/trunk@28 a5eaa968-4c79-4d68-970d-af6011b5b055
This commit is contained in:
parent
06601c1878
commit
d2478a3025
@ -6,7 +6,7 @@ use IO::Socket;
|
|||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
|
|
||||||
my $PROGNAME = $0;
|
my $PROGNAME = $0;
|
||||||
my $VERSION = "1.0";
|
my $VERSION = "1.2";
|
||||||
my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3,'DEPENDENT'=>4);
|
my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3,'DEPENDENT'=>4);
|
||||||
my $socket;
|
my $socket;
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
|
||||||
BEGIN {
|
BEGIN {
|
||||||
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
|
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
|
||||||
$ENV{ESX_SYSLOGD_LOAD} = 0;
|
$ENV{ESX_SYSLOGD_LOAD} = 0;
|
||||||
@ -17,7 +16,6 @@ use VMware::VIRuntime;
|
|||||||
use VMware::VILib;
|
use VMware::VILib;
|
||||||
use IO::Socket;
|
use IO::Socket;
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
use Net::hostent; # for OOish version of gethostbyaddr
|
|
||||||
use IO::Select;
|
use IO::Select;
|
||||||
use POSIX ":sys_wait_h";
|
use POSIX ":sys_wait_h";
|
||||||
use Data::Dumper;
|
use Data::Dumper;
|
||||||
@ -61,6 +59,7 @@ require $libpath . '/command-statushost.pm';
|
|||||||
require $libpath . '/command-swaphost.pm';
|
require $libpath . '/command-swaphost.pm';
|
||||||
require $libpath . '/command-toolsvm.pm';
|
require $libpath . '/command-toolsvm.pm';
|
||||||
|
|
||||||
|
our $VERSION = "1.2";
|
||||||
our $session_id;
|
our $session_id;
|
||||||
our %sockets = ();
|
our %sockets = ();
|
||||||
our %child_proc;
|
our %child_proc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user