[check_postgres] nagios output for database_size + patch validate_range + new function

Greg Sabino Mullane greg at endpoint.com
Mon Aug 24 16:26:48 UTC 2009


> * change validate_range to return also the warning unit and the
> critical unit when relevant.

Just to repeat for your next version of this patch. This change:

+	my ($warning, $critical, $wuom, $cuom) = validate_range

is not needed, as the subroutines calling validate_range do not use
$wuom or $cuom. However, we can calculate them inside of validate_range
as needed, and then refactor the bits that use them into an output routine.


-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 226 bytes
Desc: OpenPGP digital signature
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20090824/af2b2f5b/attachment.bin 


More information about the Check_postgres mailing list