Rev 1 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# Configuration file for process_sysinfo system
#
#
#
# where are our libraries?
$LIBRARIES = '/home/rodolico/wip/dd_tools/web/computer_asset_manager/modules/sysinfo/cli_tools';
$DSN = 'DBI:mysql:camp';
$DB_USER = 'test';
$DB_PASS = 'test';
# only required if reports are sent from process_sysinfo. Not the norm.
$iMailResults = 0; # if 0 (false), ignore following variables
$mailTo = 'rod@dailydata.net';
$mailCC = '';
$mailBCC = '';
$mailServer = 'mail.dailydata.net';
$mailServerPort = 25;
$mailFrom = 'sysinfo@dailydata.net';
$SENDMAIL = '/usr/sbin/sendmail -tU';
# where postProcess puts processed reports by default
$saveDir='/home/rodolico/wip/dd_tools/web/computer_asset_manager/modules/backup/cli_tools/save';
# Tagets to search for incoming messages, if not passed on the command line
$sourceDir='/home/rodolico/wip/dd_tools/web/computer_asset_manager/modules/backup/cli_tools/testdata';
# a temporary location
$tempDir = '/home/rodolico/wip/dd_tools/web/computer_asset_manager/modules/backup/cli_tools/tmp';
# this sub is placed in the configuration file as it is the most likely piece of code
# the sysadmin will want to modify.
# after a report has been modified, this routine will "post process" it.
# The default action is to move it to the directory defined in $saveDir above, however
# feel free to modify this to your needs. You might add it to a tgz, move it to a separate
# directory or, if you're feeling brave, just delete it.
sub postProcess {
my $filename = shift;
`mv '$filename' '$saveDir'`;
}
$MISSING_BACKUP_MAILTO='root';
# name of each server we assume we will be backing up. A report will be
# created at the end of processing showing which ones were not backed up
%backupDomains = (
'server1.example.com' => 0,
'server2.example.com' => 0,
'server3.example.com' => 0,
'server4.example.com' => 0,
);