Subversion Repositories camp_sysinfo_client_3

Rev

Rev 244 | Details | Compare with Previous | 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
#########################################################################################
191 rodolico 26
# if postRunScript is set, the script will be run AFTER a successful sysinfo run.
194 rodolico 27
# script name is the only required parameter. All other parameters are available to the
28
# postRunScript if it reads the configuration file.
228 rodolico 29
#postRunScript:
30
#  'script name': postrunscript.pl
31
#  URL: https://example.com/seedFiles
32
#  'update script': sysinfo_update
33
#  'checksum': sysinfo_update.cksum
194 rodolico 34
 
35
 
144 rodolico 36
# Log Actions. The default is to keep all the logs internally, then throw them away
37
# set this to 'log type' of syslog for the Unix system log
38
# can also be set to log type of file, with an additional parameter of the full path
39
# to the file used for logging. Be careful, it will grow
40
# log level varies from 0 (nothing) to 4 (way too much information for anything but
41
# debugging).
42
logging:
43
  'log level': 1
44
  'log type': syslog
45
#  'log type': file
46
#  'log path' : /tmp/sysinfo-client.log
92 rodolico 47
# location of modules to be used for gathering data
228 rodolico 48
#moduleDirs:
49
#  - /usr/local/opt/camp/sysinfo-client/modules
50
#  - /usr/local/etc/camp/sysinfo-client/modules
92 rodolico 51
# location of scripts used to get the results to the server that processes them
228 rodolico 52
#scriptDirs:
53
#  - /usr/local/opt/camp/sysinfo-client/scripts
54
#  - /usr/local/etc/camp/sysinfo-client/scripts
92 rodolico 55
# transprots assumed to be in one of the ScriptDirs. The keys are dependant on what the
56
# transport requires
228 rodolico 57
#transports:
58
#  '0':
59
#    name: 'HTTP Upload'
60
#    URL: http://campserver.example.com/modules/sysinfo/upload_sysinfo_report.php
61
#    'key for client': client
62
#    'key for date': report_date
63
#    'key for hostname': hostname
64
#    'key for report': report
65
#    'key for serial number': serialnumber
66
#    sendScript: upload_http
67
#  '1':
68
#    name: SendEmail
69
#    logFile: /tmp/mail.log
70
#    mailBCC: ''
71
#    mailCC: ''
72
#    mailFrom: sysinfo@example.com
73
#    mailServer: smtp.example.com:587
74
#    mailSubject: 'sysinfo-client: $hostname $reportDate'
75
#    mailTo: stats@dailydata.net
76
#    otherCLParams: -q
77
#    sendEmailScriptLocation: sendEmail
78
#    sendScript: sendEmailScript
79
#    smtpPass: 'password for smtpUser'
80
#    smtpUser: authenticatedUser
81
#    tls: auto
82
#  '2':
83
#    name: SaveLocal
84
#    'output directory': /tmp
85
#    sendScript: save_local
86
#