Package Products :: Package ZenEvents :: Module SyslogProcessing |
[hide private]
[frames] | no frames]

# Module SyslogProcessing

source code

Classes | [hide private]
SyslogProcessor Class to process syslog messages and convert them into events viewable in the Zenoss event console.

Variables | [hide private]
| __doc__ = `"""SyslogProcess`...``
| slog = `logging.getLogger("zen.Syslog")`
| parsers = `r"^(?P<summary>-- (?P<eventClassKey>MARK) --)", r'^:`...``
| compiledParsers = `[]`

Variables Details | [hide private]

  ### __doc__ Value:
      """SyslogProcessing
      Class for turning syslog events into Zenoss Events
      """

  ### parsers Value:
      r"^(?P<summary>-- (?P<eventClassKey>MARK) --)", r'^: \d{4} \w{3}\s+\d{
      1,2}\s+\d{1,2}:\d\d:\d\d \w{3}: (?P<eventClassKey>[^:]+): (?P<summary>
      .*)', r"^(?P<component>.+)\[(?P<ntseverity>\D+)\] (?P<ntevid>\d+) (?P<
      summary>.*)", r"%CARD-\S+:(SLOT\d+) %(?P<eventClassKey>\S+): (?P<summa
      ry>.*)", r"%(?P<eventClassKey>(?P<component>\S+)-\d-\S+): *(?P<summary
      >.*)", r"^(?P<ipAddress>\S+)\s+(?P<summary>(?P<eventClassKey>CisACS_\d
      \d_\S+)\s+(?P<eventKey>\S+)\s.*)", r"device_id=\S+\s+\[\S+\](?P<eventC
      lassKey>\S+\d+):\s+(?P<summary>.*)\s+\((?P<originalTime>\d\d\d\d-\d\d-
      ...