92 |
rodolico |
1 |
---
|
|
|
2 |
#########################################################################################
|
|
|
3 |
# YOU MUST FILL OUT THESE VALUES
|
|
|
4 |
# You must manually fill out the owners name. This is used by process_sysinfo.pl to allow
|
|
|
5 |
# computers with the same name in two locations. The key to uniquely identify a machine is the
|
|
|
6 |
# client name (see $client_name below) and the computer name (taken from the hostname command)
|
|
|
7 |
# A serial number may also be included. Otherwise, it is calculated in sub getSerialNumber in
|
|
|
8 |
# sysinfo
|
|
|
9 |
#########################################################################################
|
|
|
10 |
# if non-zero, turns on debugging.
|
|
|
11 |
TESTING: 0
|
|
|
12 |
# Recommended. If defined, gives unique identifier to machine
|
|
|
13 |
UUID: ''
|
|
|
14 |
# Required. If used with CAMP, this must be the same name as appears in there.
|
|
|
15 |
clientName: ''
|
|
|
16 |
# $hostname, if left blank, will default to hostname -f on Unix systems
|
|
|
17 |
hostname: ''
|
|
|
18 |
# Recommended. If defined, will be used to locate server by CAMP
|
|
|
19 |
serialNumber: ''
|
|
|
20 |
#########################################################################################
|
|
|
21 |
# END OF REQUIRED VALUES
|
|
|
22 |
#########################################################################################
|
|
|
23 |
#########################################################################################
|
|
|
24 |
# Following are optional depending on your installation
|
|
|
25 |
#########################################################################################
|
|
|
26 |
# location of modules to be used for gathering data
|
|
|
27 |
moduleDirs:
|
|
|
28 |
- /usr/local/opt/camp/sysinfo-client/modules
|
|
|
29 |
- /usr/local/etc/camp/sysinfo-client/modules
|
|
|
30 |
# location of scripts used to get the results to the server that processes them
|
|
|
31 |
scriptDirs:
|
|
|
32 |
- /usr/local/opt/camp/sysinfo-client/scripts
|
|
|
33 |
- /usr/local/etc/camp/sysinfo-client/scripts
|
|
|
34 |
# transprots assumed to be in one of the ScriptDirs. The keys are dependant on what the
|
|
|
35 |
# transport requires
|
|
|
36 |
transports:
|
|
|
37 |
'0':
|
|
|
38 |
-name-: 'HTTP Upload'
|
|
|
39 |
URL: http://campserver.example.com/modules/sysinfo/upload_sysinfo_report.php
|
|
|
40 |
'key for client': client
|
|
|
41 |
'key for date': report_date
|
|
|
42 |
'key for hostname': hostname
|
|
|
43 |
'key for report': report
|
|
|
44 |
'key for serial number': serialnumber
|
|
|
45 |
sendScript: upload_http
|
|
|
46 |
'1':
|
|
|
47 |
-name-: SendEmail
|
|
|
48 |
logFile: /tmp/mail.log
|
|
|
49 |
mailBCC: ''
|
|
|
50 |
mailCC: ''
|
|
|
51 |
mailFrom: sysinfo@example.com
|
|
|
52 |
mailServer: smtp.example.com:587
|
|
|
53 |
mailSubject: 'sysinfo-client: $hostname $reportDate'
|
|
|
54 |
mailTo: stats@dailydata.net
|
|
|
55 |
otherCLParams: -q
|
|
|
56 |
sendEmailScriptLocation: sendEmail
|
|
|
57 |
sendScript: sendEmailScript
|
|
|
58 |
smtpPass: 'password for smtpUser'
|
|
|
59 |
smtpUser: authenticatedUser
|
|
|
60 |
tls: auto
|