Ticket #1913 (closed defect: fixed)
ZenEvent.SyslogProcessing.notHostSearch regex fails on valid hostname characters
| Reported by: | zenoss | Owned by: | cluther |
|---|---|---|---|
| Priority: | 3 - Medium | Milestone: | zenoss-2.2 |
| Component: | ZenEvents | Version: | 2.1.0 |
| Keywords: | zenoss-2.1.1-patched | Cc: | |
| Reviewed: | yes | Community Patch Attached: | |
| Deployed @ Customer: | Installer: | ||
| Microrelease Target: | Specific ZenPack: | ||
| Microrelease Status: | Documentation Note?: | Not required | |
| Regression: |
Description
Symptom: zensyslog --parsehost fails to parse hostnames with embedded '-' characters, which is a legal DNS hostname character. When forwarding syslog messages from an existing central collector (e.g. syslog-ng), this causes syslog events to be associated with the wrong devices.
Cause: ZenEvent.SyslogProcessing.notHostSearch matches on "[-[:]", but '-' is a valid hostname character.
What's the reason for not simply using msglist[0]?
(Apologies if I chose the wrong priority/severity but I couldn't find any explanation of how you're using them.)
--
David Carmean
dlc@…
Change History
Note: See
TracTickets for help on using
tickets.