# Configuration file for db-backend

$VERSION = "1.0.4";
$VERBOSITY = 3;
$POLL_INTERVAL = 1;

$DB_CONNECT_STRING = "dbi:Pg:dbname=ipfc";
$DB_USERNAME = "myuser";
$DB_PASSWORD = "mypass";

$XML::Simple::PREFERRED_PARSER = "XML::Parser";  # set the XML::Simple configuration
$DO_COMMIT = 1;

$XML_KEYS_FILE = "./db-backend-keys.xml";

# This is the base directory where XML files from the dr-server should be put
# in a waiting queue
$XML_DOWNLOAD_DIRECTORY = "/data/xml-test";

# The actual files should be stored in $XML_DOWNLOAD_DIRECTORY/<agent_id>/*

# When the files have been processed, they will be moved to the archiving area
$XML_ARCHIVE_DIRECTORY = "/data/xml-archive";
# Any files which have a problem during processing will be moved to the problem area
$XML_PROBLEM_DIRECTORY = "/data/xml-problems";

# Processing modules to include
use IPFC::Parse::Transport::LogLine;
use IPFC::Parse::Transport::SyslogLine;
use IPFC::Parse::Transport::Null;
use IPFC::Parse::Transport::MonAlert;

use IPFC::Parse::Event::Availability;
use IPFC::Parse::Event::Syslog;
use IPFC::Parse::Event::Apache;
use IPFC::Parse::Event::ApacheErrorlog;
use IPFC::Parse::Event::MonAlert;

return 1;


