From 7e729ac5be1b753e782bd0146f075ef5cd49762d Mon Sep 17 00:00:00 2001 From: Simon Bomm Date: Mon, 5 Oct 2020 17:13:06 +0200 Subject: [PATCH] + add monitor in perfdata name (#2238) I forgot this one last time I commited ... --- network/versa/director/restapi/mode/devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/versa/director/restapi/mode/devices.pm b/network/versa/director/restapi/mode/devices.pm index 29c01ac3a..a3f10c133 100644 --- a/network/versa/director/restapi/mode/devices.pm +++ b/network/versa/director/restapi/mode/devices.pm @@ -206,7 +206,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}->{'device_' . $monitor . '_health'}}, { - label => $monitor . '-health-' . $status, nlabel => 'health.' . $status . '.count', + label => $monitor . '-health-' . $status, nlabel => $monitor . '.health.' . $status . '.count', set => { key_values => [ { name => $status }, { name => 'display' } ], output_template => $status . ': %s',