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
67ad2d72eb
commit
cd5074636a
@ -163,8 +163,8 @@ sub manage_selection {
|
||||
name => $device->{name},
|
||||
status => $device->{healthStatus}
|
||||
};
|
||||
$self->{global}->{'devices_' . lc($device->{name})}++
|
||||
if (defined($self->{global}->{'devices_' . lc($device->{name})}));
|
||||
$self->{global}->{'devices_' . lc($device->{healthStatus})}++
|
||||
if (defined($self->{global}->{'devices_' . lc($device->{healthStatus})}));
|
||||
$self->{global}->{devices_total}++;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user