Example #1
0
File: mail.py Project: pztrn/sysan
    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
            }
        }
Example #2
0
File: ssh.py Project: pztrn/sysan
    def __init__(self):
        SysAn_Parser.__init__(self)

        self.ssh_logs = []
        self.data = {
            "accepted": {
                "connections"   : 0,
            },
            "rejected": {
                "connections"   : 0,
            }
        }