fix(plugin) wrong counter mapping
This commit is contained in:
parent
0a30502e91
commit
535f08a741
|
@ -205,7 +205,7 @@ sub set_counters {
|
|||
|
||||
foreach my $monitor (('bgp', 'config', 'ike', 'interface', 'port', 'path', 'reachability', 'service')) {
|
||||
foreach my $status (('up', 'down', 'disabled')) {
|
||||
push @{$self->{maps_counters}->{$monitor}}, {
|
||||
push @{$self->{maps_counters}->{'devices_' . $monitor . '_health'}}, {
|
||||
label => $monitor . '-health-' . $status, nlabel => 'health.' . $status . '.count',
|
||||
set => {
|
||||
key_values => [ { name => $status }, { name => 'display' } ],
|
||||
|
|
Loading…
Reference in New Issue