def __init__(self): SysAn_Parser.__init__(self) self.mail_logs = [] self.to_log = { "mails" : { "sent" : 0, "failed" : 0, "in_queue" : 0 }, "connections" : { "accepted" : { "incoming" : { "total" : 0 }, "outgoing" : { "total" : 0 } }, "rejected" : { "incoming" : { "total" : 0 }, "outgoing" : { "total" : 0 } } }, "spam" : { "filtered" : 0, "not_filtered" : 0 } }
def __init__(self): SysAn_Parser.__init__(self) self.ssh_logs = [] self.data = { "accepted": { "connections" : 0, }, "rejected": { "connections" : 0, } }