[check_postgres] Adding a Dead Rows check

Greg Sabino Mullane greg at endpoint.com
Mon Feb 11 20:18:00 UTC 2013


> However, I'm having trouble pinning down all of the places I need to add
> code for a new check.  Is this documented somewhere?

Not until now. You will need:

* A new entry in the $action_info string

* A new subroutine for the action

* A call to the new sub (e.g. check_backends() if $action eq 'backends';)

* Documentation in the =head1 ACTIONS section

* Update the HISTORY section

* A new test in the t/ directory
-- 
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: 163 bytes
Desc: Digital signature
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20130211/4a5488c9/attachment.sig>


More information about the Check_postgres mailing list