[check_postgres] nagios output for database_size + patch validate_range + new function
Greg Sabino Mullane
greg at endpoint.com
Mon Aug 24 15:19:20 UTC 2009
>> This patch does not compile. For example, this line is not valid Perl:
>>
>> $cuom=uc "$2b";
>
> Oops !
>
> Pleaase excuse my ignorance, but what is invalid here ? the mixing of scalar
> and string in the " ?
Sorry, it does compile, I think I meant that it was throwing warnings
because it should be using $1 not $2. Also, the cast to $1, $2, etc.
should happen immediately after the regex. And if we are returning a
number, why are we uppercasing the returned string?
--
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/09419bf7/attachment.bin
More information about the Check_postgres
mailing list