+ add max perfdata percent

This commit is contained in:
garnier-quentin 2016-11-23 11:12:31 +01:00
parent b3a09f349e
commit d52688e780
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ sub set_counters {
output_template => 'Load : %.2f %%', output_error_template => "Load : %s",
perfdatas => [
{ label => 'line_load', value => 'load_absolute', template => '%.2f',
unit => '%', min => 0, label_extra_instance => 1, instance_use => 'display_absolute' },
unit => '%', min => 0, max => 100, label_extra_instance => 1, instance_use => 'display_absolute' },
],
}
},