Subversion Repositories camp_sysinfo_client_3

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
#########################################################################################
144 rodolico 26
# Log Actions. The default is to keep all the logs internally, then throw them away
27
# set this to 'log type' of syslog for the Unix system log
28
# can also be set to log type of file, with an additional parameter of the full path
29
# to the file used for logging. Be careful, it will grow
30
# log level varies from 0 (nothing) to 4 (way too much information for anything but
31
# debugging).
32
logging:
33
  'log level': 1
34
  'log type': syslog
35
#  'log type': file
36
#  'log path' : /tmp/sysinfo-client.log
92 rodolico 37
# location of modules to be used for gathering data
38
moduleDirs:
39
  - /usr/local/opt/camp/sysinfo-client/modules
40
  - /usr/local/etc/camp/sysinfo-client/modules
41
# location of scripts used to get the results to the server that processes them
42
scriptDirs:
43
  - /usr/local/opt/camp/sysinfo-client/scripts
44
  - /usr/local/etc/camp/sysinfo-client/scripts
45
# transprots assumed to be in one of the ScriptDirs. The keys are dependant on what the
46
# transport requires
47
transports:
48
  '0':
129 rodolico 49
    name: 'HTTP Upload'
92 rodolico 50
    URL: http://campserver.example.com/modules/sysinfo/upload_sysinfo_report.php
51
    'key for client': client
52
    'key for date': report_date
53
    'key for hostname': hostname
54
    'key for report': report
55
    'key for serial number': serialnumber
56
    sendScript: upload_http
57
  '1':
129 rodolico 58
    name: SendEmail
92 rodolico 59
    logFile: /tmp/mail.log
60
    mailBCC: ''
61
    mailCC: ''
62
    mailFrom: sysinfo@example.com
63
    mailServer: smtp.example.com:587
64
    mailSubject: 'sysinfo-client: $hostname $reportDate'
65
    mailTo: stats@dailydata.net
66
    otherCLParams: -q
67
    sendEmailScriptLocation: sendEmail
68
    sendScript: sendEmailScript
69
    smtpPass: 'password for smtpUser'
70
    smtpUser: authenticatedUser
71
    tls: auto