mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 09:05:19 +02:00
+ add monitor in perfdata name (#2238)
I forgot this one last time I commited ...
This commit is contained in:
parent
a18d15d5b2
commit
7e729ac5be
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user