Forum Discussion
Jeremy_Bridges_
Nimbostratus
Sep 15, 2009SNMP and SysLog Facilities
I would like to send an SNMP trap every time a message is logged to the em log (local4). I don't see how to do that in the /config/user_alert.conf or /etc/alertd/alert.conf files. I have found the f...
hoolio
Cirrostratus
Sep 16, 2009Hi kiroc,
I don't think the syslog facility is included in the message body, so you couldn't easily do this with the default syslog-ng configuration. You could use a template to modify just the syslog4 messages to insert a string to distinguish them. You'd then need to modify the alertd configuration to trigger an snmp trap for those messages.
This post has some related info and links that might help you get started:
tmm entries for syslog
http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=30779&ptarget=30781
Can you reply here if you get stuck or figure something out?
Thanks,
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects