NAME

XAS::Collector::Output::Database::Alerts - Perl extension for the XAS Environment

SYNOPSIS

use XAS::Collector::Output::Database::Alerts;

my $notify = XAS::Collector::Output::Database::Alerts->new(
    -alias    => 'database-alerts',
    -database => 'messaging',
);

DESCRIPTION

This module handles the xas-alerts packet type.

METHODS

new

This module inherits from XAS::Collector::Output::Database::Base and takes the same parameters.

PUBLIC EVENTS

store_data(OBJECT, ARG0, ARG1, ARG2)

This event will trigger the storage of xas-alerts packets into the database.

OBJECT

A handle to the current object.

ARG0

The data to be stored within the database.

ARG1

The acknowledgement to send back to the message queue server.

ARG2

The input to return the ack too.

SEE ALSO

XAS::Collector::Output::Database::Base
XAS::Collector::Output::Database::Logs
XAS::Collector
XAS

AUTHOR

Kevin Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2012-2015 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.