centreon-plugins icon indicating copy to clipboard operation
centreon-plugins copied to clipboard

[database::mssql::plugin] mode locks-wait : wrong output unit

Open ritouret opened this issue 1 month ago • 2 comments

Hello,

I think there were a copy / paste from mode dead-locks to mode locks-waits, here the output for the second : OK: 0.00 dead locks/s Perf counter are correct : 'mssql.lockswaits.count'=0.00;;;0;

Here is the mistake : https://github.com/centreon/centreon-plugins/blob/develop/src/database/mssql/mode/lockswaits.pm line 37 output_template => '%.2f dead locks/s',

Thanks

ritouret avatar Nov 13 '25 08:11 ritouret

Hello :)

Thanks for the feedback :)

So if we replace it with

output_template => “%.2f locks waits/s”,

that would be consistent, right?

lucie-tirand avatar Nov 13 '25 15:11 lucie-tirand

Hello :)

It will perfect, many thanks.

ritouret avatar Nov 17 '25 09:11 ritouret

This issue has been fixed in the December Release. Thanks for opening this issue!

omercier avatar Dec 16 '25 15:12 omercier