NAME
XAS::Apps::Base::Collector - This module will collect alerts
SYNOPSIS
use XAS::Apps::Base::Collector;
my $app = XAS::Apps::Base::Collector->new(
-options => [
{ 'host=s', '' },
{ 'port=s', '' },
{ 'configs=s' , ''}
]
);
exit $app->run();
DESCRIPTION
This module will collect alerts from the message queue. It inherits from XAS::Lib::App::Daemon::POE.
METHODS
new
This method will initialize the module and accepts these parameters.
- -options
-
This specifies three options that may be on the command line. They are
port - the port to use on the host. host - the host the message queue resides on. configs - the configuration file to use.
All of these options will default to what is defined in XAS::System::Environment.
SEE ALSO
sbin/xas-collector.pl
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.