check_postgres icon indicating copy to clipboard operation
check_postgres copied to clipboard

check_locks patch for proper performance Data

Open jwpit opened this issue 9 years ago • 0 comments

Hello,

in Version 2.22.0, check_postgres.pl only returns the parameters total,waiting and exclusive in the performance data, if the amount of these Locks is not null. pnp4nagios fails on reading these rrd files. The attached patch ensures, that those parameters are always returned, if they are set in warning or critical. Null is replaced by zero. check_locks.patch.txt

jwpit avatar Oct 13 '16 13:10 jwpit