change iplabel performance unit

This commit is contained in:
garnier-quentin 2020-05-29 17:22:56 +02:00
parent 6d8d0af504
commit 5d0c89a1bf
1 changed files with 4 additions and 4 deletions

View File

@ -64,11 +64,11 @@ sub set_counters {
]
}
},
{ label => 'performance', nlabel => 'kpi.performance.count', set => {
{ label => 'performance', nlabel => 'kpi.performance.milliseconds', set => {
key_values => [ { name => 'performance', no_value => -1 }, { name => 'display' } ],
output_template => 'performance: %s',
output_template => 'performance: %s ms',
perfdatas => [
{ template => '%s', min => 0, label_extra_instance => 1 }
{ template => '%s', min => 0, unit => 'ms', label_extra_instance => 1 }
]
}
}
@ -194,7 +194,7 @@ Can used special variables like: %{status}, %{display}
=item B<--warning-*> B<--critical-*>
Thresholds.
Can be: 'success-rate' (%) 'sla-availability' (%), 'performance'.
Can be: 'success-rate' (%) 'sla-availability' (%), 'performance' (ms).
=back