Subversion Repositories camp_sysinfo_client_3

Rev

Rev 158 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# this is a sample "seed" file which will be used if an installation on several
# machines is wanted. You can fill in information here and include it with the 
# installation. When the installation is run, it will use these values as a default
# IF sysinfo 2 is installed, this will override any values in that config file
# if you choose to load it.
# If sysinfo3 configuration is found, the seed can override those values also
#
# this file should be named sysinfo-client.seed.yaml and placed in the install directory
---
TESTING: 1
logging:
#  'log type': file
#  'log path': /tmp/sysinfo.log
  'log type': file
  'log path': /tmp
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: 'my password for authenticated smtp'
    smtpUser: stats@example.com
    tls: auto
  '2':
    -name-: SaveLocal
    'output directory': /tmp
    sendScript: save_local