[check_postgres] RFC: New Actions
Greg Sabino Mullane
greg at endpoint.com
Thu Jan 20 15:48:05 UTC 2011
On Wed, Jan 19, 2011 at 12:02:05PM -0800, David E. Wheeler wrote:
...
> I think this is kind of neat, and could easily apply to the idle transaction stuff, too:
>
> --critical '15 seconds' # same as now
> --critical 20 # 20 or more idle transactions
> --critical '15 seconds && 20' # 20 or more idle for 15s or longer
> --critical '15 seconds || 20' # 20 or more idle or one or more idle 15s or longer.
>
> Thoughts?
Very interesting. I'm slightly wary of using those metacharacters. One alternative
is to (also? only?) allow "English" equivalents:
--critical '15 sec or 20 items'
--critical '20 txns and 30 seconds'
--
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20110120/8c34dd3d/attachment.bin
More information about the Check_postgres
mailing list