From aa8555e5e1bba6674b35390166de0aba75d2bf23 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 20 Feb 2019 18:16:15 +0100 Subject: [PATCH] fix unit response time snmp --- centreon-plugins/apps/protocols/snmp/mode/responsetime.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centreon-plugins/apps/protocols/snmp/mode/responsetime.pm b/centreon-plugins/apps/protocols/snmp/mode/responsetime.pm index 49dfa8003..5ae263182 100644 --- a/centreon-plugins/apps/protocols/snmp/mode/responsetime.pm +++ b/centreon-plugins/apps/protocols/snmp/mode/responsetime.pm @@ -36,9 +36,9 @@ sub set_counters { $self->{maps_counters}->{global} = [ { label => 'rt', set => { key_values => [ { name => 'rt' } ], - output_template => 'rt %.3fms', + output_template => 'rt %.3fs', perfdatas => [ - { label => 'rt', value => 'rt_absolute', template => '%.3f', min => 0, unit => 'ms' }, + { label => 'rt', value => 'rt_absolute', template => '%.3f', min => 0, unit => 's' }, ], } },