version 2.4.0

This commit is contained in:
qgarnier 2017-05-31 14:42:32 +02:00
parent 5e51353a4a
commit 40560537da
6 changed files with 22 additions and 19 deletions

View File

@ -1,3 +1,6 @@
2017-05-31 Quentin Garnier <qgarnier@centreon.com> - 2.4.0
* Enhance: Use ZMQ4 library
2017-05-16 Quentin Garnier <qgarnier@centreon.com> - 2.3.2
* Fix: miscalcultion in datastores-snapshot (issue #39)
* Fix: problem with --tools-notinstalled-status option (issue #38)
@ -29,4 +32,4 @@
* Fix: counter 'active' for command 'memory-vm' (issue #6)
2015-09-23 Quentin Garnier <qgarnier@centreon.com> - 2.0.0
* initial release
* initial release

View File

@ -21,7 +21,7 @@ perl-centreon-base 2.6.0
centreon-plugins-base 1.11
ZeroMQ 3.x
Perl Date::Parse 1.x
Perl ZMQ::LibZMQ3 1.19
Perl ZMQ::LibZMQ4 0.01
Perl ZMQ::Constants 1.04
====================== =====================
@ -95,13 +95,13 @@ Add the following line in « /etc/apt/sources.list » file:
Install « zeromq » dependency:
::
# aptitude install libzmq3-dev gcc
# wget https://cpan.metacpan.org/authors/id/D/DM/DMAKI/ZMQ-LibZMQ3-1.19.tar.gz
# tar zxf ZMQ-LibZMQ3-1.19.tar.gz && cd ZMQ-LibZMQ3-1.19
# aptitude install libzmq4-dev gcc
# wget https://github.com/lestrrat/p5-ZMQ/archive/master.zip
# unzip master.zip
# cd p5-ZMQ-master/ZMQ-LibZMQ4/
# perl Makefile.PL
# make && make install
# wget https://cpan.metacpan.org/authors/id/D/DM/DMAKI/ZMQ-Constants-1.04.tar.gz
# tar zxf ZMQ-Constants-1.04.tar.gz && cd ZMQ-Constants-1.04
# cd p5-ZMQ-master/ZMQ-Constants/
# perl Makefile.PL
# make && make install

View File

@ -21,7 +21,7 @@ perl-centreon-base 2.5.0
centreon-plugins-base 1.10
ZeroMQ 3.x
Perl Date::Parse 1.x
Perl ZMQ::LibZMQ3 1.19
Perl ZMQ::LibZMQ4 0.01
Perl ZMQ::Constants 1.04
====================== =====================
@ -95,13 +95,13 @@ Ajouter la ligne suivante dans le fichier « /etc/apt/sources.list »:
Installer la dépendance « zeromq »:
::
# aptitude install libzmq3-dev gcc
# wget https://cpan.metacpan.org/authors/id/D/DM/DMAKI/ZMQ-LibZMQ3-1.19.tar.gz
# tar zxf ZMQ-LibZMQ3-1.19.tar.gz && cd ZMQ-LibZMQ3-1.19
# aptitude install libzmq4-dev gcc
# wget https://github.com/lestrrat/p5-ZMQ/archive/master.zip
# unzip master.zip
# cd p5-ZMQ-master/ZMQ-LibZMQ4/
# perl Makefile.PL
# make && make install
# wget https://cpan.metacpan.org/authors/id/D/DM/DMAKI/ZMQ-Constants-1.04.tar.gz
# tar zxf ZMQ-Constants-1.04.tar.gz && cd ZMQ-Constants-1.04
# cd p5-ZMQ-master/ZMQ-Constants/
# perl Makefile.PL
# make && make install

View File

@ -23,7 +23,7 @@ use strict;
use warnings;
use VMware::VIRuntime;
use VMware::VILib;
use ZMQ::LibZMQ3;
use ZMQ::LibZMQ4;
use ZMQ::Constants qw(:all);
use File::Basename;
use Digest::MD5 qw(md5_hex);
@ -54,7 +54,7 @@ BEGIN {
use base qw(centreon::script);
use vars qw(%centreon_vmware_config);
my $VERSION = "2.3.2";
my $VERSION = "2.4.0";
my %handlers = (TERM => {}, HUP => {}, CHLD => {});
my @load_modules = (
@ -594,4 +594,4 @@ sub run {
1;
__END__
__END__

View File

@ -23,7 +23,7 @@ use strict;
use Data::Dumper;
use VMware::VIRuntime;
use VMware::VILib;
use ZMQ::LibZMQ3;
use ZMQ::LibZMQ4;
use ZMQ::Constants qw(:all);
use centreon::plugins::options;
use centreon::plugins::output;

View File

@ -22,7 +22,7 @@ use strict;
use VMware::VIRuntime;
use VMware::VILib;
use JSON;
use ZMQ::LibZMQ3;
use ZMQ::LibZMQ4;
use ZMQ::Constants qw(:all);
use File::Basename;
use POSIX ":sys_wait_h";
@ -323,4 +323,4 @@ sub run {
1;
__END__
__END__