NAME

xas-collector - Collects events for the XAS environment

SYNOPSIS

xas-collector [--help] [--debug] [--manual] [--version]

options:

   --log-file     the log file to use
   --log-type     the type of log file
   --log-facility the facility class of the log
   --pid-file     the pid file to use
   --cfg-file     the configuration file to use
   --install      install as a service on Windows
   --deinstall    deinstall as a service on Windows
   --help         prints out a helpful help message
   --manual       prints out the procedures manual
   --version      prints out the procedures version
   --debug        toggles debug output
   --daemon       wither to become a daemon
   --alerts       toggles alert notification

DESCRIPTION

This procedure monitors queues on the the message queue server and process any entries on those queues. This uses a configuration file to load the specific modules needed to do this task.

CONFIGURATION

Please refer to XAS::Apps::Collector::Process for configuration file information.

OPTIONS AND ARGUMENTS

-cfg-file

The configuration file to use.

--log-type

Toggles the log type. Defaults to 'console'. Can be 'console', 'file', 'json' or 'syslog'.

--log-facility

Toggles the log facilty. Defaults to 'local6'. This follows syslog convention.

--log-file

The log file to use.

--pid-file

the pid file to use.

--daemon

Run as a daemon.

--debug

Turns on debbuging.

--help

Displays a simple help message.

--manual

The complete documentation.

--version

Prints out the apps version

EXIT CODES

0 - success
1 - failure
2 - already running

SEE ALSO

XAS::Apps::Collector::Process
XAS::Collector
XAS

AUTHOR

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

COPYRIGHT AND LICENSE

Copyright (c) 2012-2014 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.