'sys': '/var/log/syslog',
'smb': '/var/log/samba',
'zfs': '/var/log/zpool.log',
'sys': '/var/log/syslog',
'smb': '/var/log/samba',
'zfs': '/var/log/zpool.log',
'postfix': '/var/log/mail.log',
'httpd': '/var/log/apache2'
}
'postfix': '/var/log/mail.log',
'httpd': '/var/log/apache2'
}
logger.debug("sending email")
ms = subject(config['mail']['subject'])
cmd = "/bin/cat " + MAILPATH + " | /usr/bin/mail --debug-level=10 -a 'Content-type: text/html' -s '" + ms + "' " + config['mail']['to']
logger.debug("sending email")
ms = subject(config['mail']['subject'])
cmd = "/bin/cat " + MAILPATH + " | /usr/bin/mail --debug-level=10 -a 'Content-type: text/html' -s '" + ms + "' " + config['mail']['to']
else:
out.append([p, "used " + parsesize(alloc_f), "delta " + parsesize(delta)])
contentnew += (p + '\t' + str(alloc_f) + '\n')
else:
out.append([p, "used " + parsesize(alloc_f), "delta " + parsesize(delta)])
contentnew += (p + '\t' + str(alloc_f) + '\n')