formating fix

This commit is contained in:
Lotfi zaouche 2020-03-27 15:51:49 +00:00
parent 7856ad2d05
commit da441ccc19
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ sub set_counters {
}, },
{ label => 'sync', nlabel => 'parity.eth.sync.ratio', set => { { label => 'sync', nlabel => 'parity.eth.sync.ratio', set => {
key_values => [ { name => 'sync' } ], key_values => [ { name => 'sync' } ],
output_template => "Sync ratio is: %d% ", output_template => "Sync ratio is: %d%% ",
perfdatas => [ perfdatas => [
{ label => 'sync', value => 'sync_absolute', template => '%d', min => 0 } { label => 'sync', value => 'sync_absolute', template => '%d', min => 0 }
], ],

View File

@ -125,7 +125,7 @@ sub set_counters {
}, },
{ label => 'mempool', nlabel => 'parity.mempol.capacity', set => { { label => 'mempool', nlabel => 'parity.mempol.capacity', set => {
key_values => [ { name => 'mempool' } ], key_values => [ { name => 'mempool' } ],
output_template => "Mempool: %d % ", output_template => "Mempool: %d %% ",
perfdatas => [ perfdatas => [
{ label => 'mempool', value => 'mempool_absolute', template => '%d', min => 0 } { label => 'mempool', value => 'mempool_absolute', template => '%d', min => 0 }
], ],