XAS::Monitor::Database::Alert - A Perl extension for the XAS environment
This module inherits from XAS::Monitor::Database and provides the "monitor" method.
This method initializes the module and accepts the following parameters along with any others needed by XAS::Monitor::Database.
The mailer to use.
The emails from address.
The emails to address.
This event triggers the scanning of the Alert table looking for items that have not been cleared after 15 minutes. When this happens, an email is sent to the '-email_to' address.
A handle to the POE kernel.
A reference to it's self.
XAS
Kevin L. Esteb, <kevin@kesteb.us>
Copyright (C) 2012 by Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install XAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS
CPAN shell
perl -MCPAN -e shell install XAS
For more information on module installation, please visit the detailed CPAN module installation guide.