Subversion Repositories camp_sysinfo_client_3

Rev

Rev 129 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

---
#########################################################################################
#        YOU MUST FILL OUT THESE VALUES
# You must manually fill out the owners name. This is used by process_sysinfo.pl to allow
# computers with the same name in two locations. The key to uniquely identify a machine is the 
# client name (see $client_name below) and the computer name (taken from the hostname command)
# A serial number may also be included. Otherwise, it is calculated in sub getSerialNumber in 
# sysinfo
#########################################################################################
# if non-zero, turns on debugging.
TESTING: 0
# Recommended. If defined, gives unique identifier to machine
UUID: ''
# Required. If used with CAMP, this must be the same name as appears in there.
clientName: ''
# $hostname, if left blank, will default to hostname -f on Unix systems
hostname: ''
# Recommended. If defined, will be used to locate server by CAMP
serialNumber: ''
#########################################################################################
#        END OF REQUIRED VALUES
#########################################################################################
#########################################################################################
# Following are optional depending on your installation
#########################################################################################
# location of modules to be used for gathering data
moduleDirs:
  - /usr/local/opt/camp/sysinfo-client/modules
  - /usr/local/etc/camp/sysinfo-client/modules
# location of scripts used to get the results to the server that processes them
scriptDirs:
  - /usr/local/opt/camp/sysinfo-client/scripts
  - /usr/local/etc/camp/sysinfo-client/scripts
# transprots assumed to be in one of the ScriptDirs. The keys are dependant on what the
# transport requires
transports:
  '0':
    -name-: 'HTTP Upload'
    URL: http://campserver.example.com/modules/sysinfo/upload_sysinfo_report.php
    'key for client': client
    'key for date': report_date
    'key for hostname': hostname
    'key for report': report
    'key for serial number': serialnumber
    sendScript: upload_http
  '1':
    -name-: SendEmail
    logFile: /tmp/mail.log
    mailBCC: ''
    mailCC: ''
    mailFrom: sysinfo@example.com
    mailServer: smtp.example.com:587
    mailSubject: 'sysinfo-client: $hostname $reportDate'
    mailTo: stats@dailydata.net
    otherCLParams: -q
    sendEmailScriptLocation: sendEmail
    sendScript: sendEmailScript
    smtpPass: 'password for smtpUser'
    smtpUser: authenticatedUser
    tls: auto