mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
+ Fix number of psu
This commit is contained in:
parent
dbc22fcefe
commit
15bc262955
@ -41,7 +41,7 @@ sub check_psu {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
return if ($self->check_filter(section => 'psu', instance => $options{instance}));
|
||||
$self->{components}->{psu}->{total} += 2;
|
||||
$self->{components}->{psu}->{total}++;
|
||||
|
||||
$self->{output}->output_add(long_msg => sprintf("psu '%s' status is '%s' [instance: %s, chassis: %s].",
|
||||
$options{instance}, $options{status},
|
||||
|
Loading…
x
Reference in New Issue
Block a user