+config = {
+ 'output': '~/var/www/logparse/summary.html',
+ 'header': scriptdir + '/header.html',
+ 'css': scriptdir + '/main.css',
+ 'title': 'logparse',
+ 'maxlist': 10,
+ 'maxcmd': 3,
+ 'mail': {
+ 'to': '',
+ 'from': '',
+ 'subject': 'logparse from $hostname$'
+ },
+ 'hddtemp': {
+ 'drives': ['/dev/sda'],
+ 'port': 7634
+ },
+ 'du-paths': ['/', '/etc', '/home'],
+ 'hostname-path': '/etc/hostname',
+ 'logs': {
+ 'auth': '/var/log/auth.log',
+ 'cron': '/var/log/cron.log',
+ 'sys': '/var/log/syslog',
+ 'smb': '/var/log/samba',
+ 'zfs': '/var/log/zpool.log',
+ 'alloc': '/tmp/alloc',
+ 'postfix': '/var/log/mail.log',
+ 'httpd': '/var/log/apache2'
+ }
+}