1 |
rodolico |
1 |
#########################################################################################
|
|
|
2 |
# YOU MUST FILL OUT THESE VALUES
|
|
|
3 |
# You must manually fill out the owners name. This is used by process_sysinfo.pl to allow
|
|
|
4 |
# computers with the same name in two locations. The key to uniquely identify a machine is the
|
|
|
5 |
# client name (see $client_name below) and the computer name (taken from the hostname command)
|
|
|
6 |
#
|
|
|
7 |
# Also, if you want a custom package processing script, enter it as $CUSTOM_PACKAGE_FINDER
|
|
|
8 |
# the results of this script will be appended to the package list.
|
|
|
9 |
# this script must return, to stdout, one or more lines containing a tab delimited list
|
|
|
10 |
# of values. The values are, in order, package name, version, and an optional description
|
|
|
11 |
# see sysinf_custom.pl for an example (it includes sysinfo.pl)
|
|
|
12 |
#########################################################################################
|
|
|
13 |
$APPLICATION_ROOT = '/etc/sysinfo/custom_commands';
|
|
|
14 |
$client_name = ''; # Required, you must put in a client name
|
|
|
15 |
$hostname = ''; # you can put a custom value here, or it defaults to `hostname -f`
|
|
|
16 |
#$CUSTOM_PACKAGE_FINDER = "$APPLICATION_ROOT/sysinfo_custom";
|
|
|
17 |
# create a list of directories below, whose sizes will be reported back to the server
|
|
|
18 |
#@directoriesToWatch = ('');
|
|
|
19 |
|
|
|
20 |
###########
|
|
|
21 |
# e-mail the results instead of simply returning them to stdout
|
|
|
22 |
# if the first value is set non-zero, you must fill in the remainders
|
|
|
23 |
###########
|
|
|
24 |
$iMailResults = 0; # if 0 (false), ignore following variables
|
|
|
25 |
$mailTo = 'sysinfo@example.com';
|
|
|
26 |
$mailSubject = `hostname` . ' sysinfo ' . `date +"%F"`;
|
|
|
27 |
$mailCC = '';
|
|
|
28 |
$mailBCC = '';
|
|
|
29 |
$mailServer = 'mail.example.com';
|
|
|
30 |
$mailServerPort = 25;
|
|
|
31 |
$mailFrom = 'sysinfo@example.com';
|
|
|
32 |
$SENDMAIL = '/usr/sbin/sendmail -tU';
|
|
|
33 |
|
|
|
34 |
#########################################################################################
|
|
|
35 |
# END OF REQUIRED VALUES
|
|
|
36 |
#########################################################################################
|
|
|
37 |
|