mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
fix(firepower/fmc): devices mode - wrong performances data (#3131)
This commit is contained in:
parent
b770cd4388
commit
699a057951
@ -163,8 +163,8 @@ sub manage_selection {
|
|||||||
name => $device->{name},
|
name => $device->{name},
|
||||||
status => $device->{healthStatus}
|
status => $device->{healthStatus}
|
||||||
};
|
};
|
||||||
$self->{global}->{'devices_' . lc($device->{name})}++
|
$self->{global}->{'devices_' . lc($device->{healthStatus})}++
|
||||||
if (defined($self->{global}->{'devices_' . lc($device->{name})}));
|
if (defined($self->{global}->{'devices_' . lc($device->{healthStatus})}));
|
||||||
$self->{global}->{devices_total}++;
|
$self->{global}->{devices_total}++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user