NAME

XAS::Monitor::Database::Alert - A Perl extension for the XAS environment

DESCRIPTION

This module inherits from XAS::Monitor::Database and provides the "monitor" method.

METHODS

new

This method initializes the module and accepts the following parameters along with any others needed by XAS::Monitor::Database.

-mailer

The mailer to use.

-email_from

The emails from address.

-email_to

The emails to address.

monitor($kernel, $self)

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.

$kernel

A handle to the POE kernel.

$self

A reference to it's self.

SEE ALSO

XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

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.