mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
+ good fix for netbackup
ternary operator, condition, logic fix ..
This commit is contained in:
parent
2a163b6e72
commit
d9548db087
@ -296,7 +296,7 @@ my %job_state = (
|
|||||||
sub manage_selection {
|
sub manage_selection {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
$self->{cache_name} = "netbackup_" . $self->{mode} . '_' . (defined($self->{option_results}->{hostname}) ? $self->{option_results}->{command} : 'me') . '_' .
|
$self->{cache_name} = "netbackup_" . $self->{mode} . '_' . (defined($self->{option_results}->{hostname}) ? $self->{option_results}->{hostname} : 'me') . '_' .
|
||||||
(defined($self->{option_results}->{filter_counters}) ? md5_hex($self->{option_results}->{filter_counters}) : md5_hex('all'));
|
(defined($self->{option_results}->{filter_counters}) ? md5_hex($self->{option_results}->{filter_counters}) : md5_hex('all'));
|
||||||
|
|
||||||
my ($stdout) = centreon::plugins::misc::execute(output => $self->{output},
|
my ($stdout) = centreon::plugins::misc::execute(output => $self->{output},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user