I'm having a issue with a switch sending syslog messages, which never show up
in the event console. I can see the messages being written to the origsyslog
file.
I can also see the syslog messages being matched in the zensyslog log file with
the following pre defined regexs
# unix syslog without pid
r"(?P<component>\S+): (?P<summary>.*)",
Since the device is not a unix box I created a new regex to match the switch's
syslog messages more accurately. And I see it being matched fine
2009-06-05 17:36:12 DEBUG zen.Syslog: tag regex: (?P<device>\S.*,)
(?P<eventClassKey>\S.*:) (?P<summary>\S.*)
2009-06-05 17:36:12 DEBUG zen.Syslog: tag match: {'device': 'testswitch1,',
'eventClassKey': 'PORT:', 'summary': '2/1 disabled by tim from telnet session.'}
2009-06-05 17:36:12 DEBUG zen.ZenSyslog: Queueing event {'firstTime':
1244237772.461309, 'severity': 2, 'facility': 'local7', 'eventClassKey':
'PORT:', 'agent':
'zensyslog', 'summary': '2/1 disabled by tim from telnet session.', 'priority':
6, 'manager': 'localhost', 'eventGroup': 'syslog', 'device': 'testswitch1,',
'las
tTime': 1244237772.461309, 'ipAddress': '10.2.221.51', 'monitor': 'localhost'}
However, I'm still unable to see the syslog message appear anywhere in the
event console.
What have I missed?
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=35671#35671
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users