NAME

XAS::System::Alert - The alert module for the XAS environment

SYNOPSIS

Your program can use this module in the following fashion:

use XAS::System;

my $alert = XAS::System->module('alert');

$alert->send(
    -priority => 'high',
    -facility => 'huston',
    -message  => 'There is a problem'
);

DESCRIPTION

This is the module for sending alerts within the XAS environment.

METHODS

new

This method initializes the module. It is automatically called when invoked by XAS::System->module().

send

This method will send an alert. It takes the following named parameters:

-priority

The notification level, 'high','medium','low'. Default 'low'.

-facility

The notification facility, 'systems', 'dba', etc. Default 'systems'.

-message

The message text for the message

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.