fix unit response time snmp

This commit is contained in:
garnier-quentin 2019-02-20 18:16:15 +01:00
parent 8e97bfefa1
commit aa8555e5e1
1 changed files with 2 additions and 2 deletions

View File

@ -36,9 +36,9 @@ sub set_counters {
$self->{maps_counters}->{global} = [ $self->{maps_counters}->{global} = [
{ label => 'rt', set => { { label => 'rt', set => {
key_values => [ { name => 'rt' } ], key_values => [ { name => 'rt' } ],
output_template => 'rt %.3fms', output_template => 'rt %.3fs',
perfdatas => [ perfdatas => [
{ label => 'rt', value => 'rt_absolute', template => '%.3f', min => 0, unit => 'ms' }, { label => 'rt', value => 'rt_absolute', template => '%.3f', min => 0, unit => 's' },
], ],
} }
}, },