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"^(?P<component>.+)\[
      (?P<ntseverity>\D+)\] (?P<ntevid>\d+) (?P<summary>.*)", r"%CARD-\S+:(S
      LOT\d+) %(?P<eventClassKey>\S+): (?P<summary>.*)", r"%(?P<eventClassKe
      y>(?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<eventClassKey>\S+\d+):\s+(?P<summar
      y>.*)\s+\((?P<originalTime>\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d)\)", r"^\
      [[^:]+: (?P<component>[^:]+)[^\]]+\]: (?P<summary>.*)", r"(?P<componen
      ...