fix aruba aoscx counters

This commit is contained in:
garnier-quentin 2021-01-28 10:33:05 +01:00
parent 0d92db9a0f
commit 2b0174ed91
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ sub set_counters {
} }
}, },
{ label => 'isl-packets-out', nlabel => 'vsx.isl.packets.out.count', set => { { label => 'isl-packets-out', nlabel => 'vsx.isl.packets.out.count', set => {
key_values => [ { name => 'isl_packets_in', diff => 1 } ], key_values => [ { name => 'isl_packets_out', diff => 1 } ],
output_template => 'packets out: %s', output_template => 'packets out: %s',
perfdatas => [ perfdatas => [
{ template => '%s', min => 0 } { template => '%s', min => 0 }
@ -162,7 +162,7 @@ sub set_counters {
} }
}, },
{ label => 'keepalive-packets-out', nlabel => 'vsx.keepalive.packets.out.count', set => { { label => 'keepalive-packets-out', nlabel => 'vsx.keepalive.packets.out.count', set => {
key_values => [ { name => 'keepalive_packets_in', diff => 1 } ], key_values => [ { name => 'keepalive_packets_out', diff => 1 } ],
output_template => 'packets out: %s', output_template => 'packets out: %s',
perfdatas => [ perfdatas => [
{ template => '%s', min => 0 } { template => '%s', min => 0 }