This commit is contained in:
garnier-quentin 2020-02-25 16:32:58 +01:00
parent ccfa6d9f8d
commit 0f338b8763
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ sub set_counters {
min => 0, max => 100, unit => '%' },
],
}
},
}
];
}

View File

@ -49,7 +49,7 @@ sub set_counters {
$self->{maps_counters}->{global} = [
{ label => 'total', nlabel => 'interfaces.total.count', display_ok => 0, set => {
key_values => [ { name => 'total' } ],
output_template => 'total interaces: %s',
output_template => 'total interfaces: %s',
perfdatas => [
{ value => 'total_absolute', template => '%s', min => 0 },
],