mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
Release 20250501 (#5590)
This commit is contained in:
commit
fbd013e595
2
.github/workflows/gitleaks.yml
vendored
2
.github/workflows/gitleaks.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: gitleaks/gitleaks-action@83373cf2f8c4db6e24b41c1a9b086bb9619e9cd3 # v2.3.7
|
- uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2.3.9
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITLEAKS_LICENSE: "Centreon"
|
GITLEAKS_LICENSE: "Centreon"
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
2025-05-16 Olivier Mercier <omercier@centreon.com> - 20250501
|
||||||
|
* Fix: changed permissions for centreon_vmware.json config file.
|
||||||
|
|
||||||
2024-12-05 Olivier Mercier <omercier@centreon.com> - 3.4.0
|
2024-12-05 Olivier Mercier <omercier@centreon.com> - 3.4.0
|
||||||
* Enhancement: systemd service now takes its options from
|
* Enhancement: systemd service now takes its options from
|
||||||
/etc/(default|sysconfig)/centreon_vmware.
|
/etc/(default|sysconfig)/centreon_vmware.
|
||||||
|
@ -9,8 +9,8 @@ function migrateConfigFromPmToJson() {
|
|||||||
/usr/bin/centreon_vmware_convert_config_file "$perl_config_file_path" > "$json_config_file_path"
|
/usr/bin/centreon_vmware_convert_config_file "$perl_config_file_path" > "$json_config_file_path"
|
||||||
mv "$perl_config_file_path" "${perl_config_file_path}.deprecated"
|
mv "$perl_config_file_path" "${perl_config_file_path}.deprecated"
|
||||||
fi
|
fi
|
||||||
chown centreon: "$json_config_file_path"
|
chown centreon-gorgone:centreon "$json_config_file_path"
|
||||||
chmod 640 "$json_config_file_path"
|
chmod 660 "$json_config_file_path"
|
||||||
}
|
}
|
||||||
|
|
||||||
function applyToSystemD() {
|
function applyToSystemD() {
|
||||||
|
@ -54,7 +54,7 @@ BEGIN {
|
|||||||
|
|
||||||
use base qw(centreon::vmware::script);
|
use base qw(centreon::vmware::script);
|
||||||
|
|
||||||
my $VERSION = '3.4.0';
|
my $VERSION = '20250501';
|
||||||
my %handlers = (TERM => {}, HUP => {}, CHLD => {});
|
my %handlers = (TERM => {}, HUP => {}, CHLD => {});
|
||||||
|
|
||||||
my @load_modules = (
|
my @load_modules = (
|
||||||
|
@ -45,7 +45,7 @@ sub init_response {
|
|||||||
my (%options) = @_;
|
my (%options) = @_;
|
||||||
|
|
||||||
$manager_response->{code} = 0;
|
$manager_response->{code} = 0;
|
||||||
$manager_response->{vmware_connector_version} = '3.4.0';
|
$manager_response->{vmware_connector_version} = '20250501';
|
||||||
$manager_response->{short_message} = 'OK';
|
$manager_response->{short_message} = 'OK';
|
||||||
$manager_response->{extra_message} = '';
|
$manager_response->{extra_message} = '';
|
||||||
$manager_response->{identity} = $options{identity} if (defined($options{identity}));
|
$manager_response->{identity} = $options{identity} if (defined($options{identity}));
|
||||||
|
@ -26,6 +26,11 @@ use strict;
|
|||||||
use warnings;
|
use warnings;
|
||||||
use POSIX qw(:signal_h);
|
use POSIX qw(:signal_h);
|
||||||
|
|
||||||
|
BEGIN {
|
||||||
|
# ORACLE_HOME environment variable must be defined
|
||||||
|
$ENV{'ORACLE_HOME'} = '' unless $ENV{'ORACLE_HOME'};
|
||||||
|
}
|
||||||
|
|
||||||
sub connect_oracle {
|
sub connect_oracle {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user