Forum Discussion
smp_86112
Cirrostratus
Jul 29, 2008Custom SNMP Traps - clarify "match string" usage
Reference the article posted by deb a few days ago:
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=256
After reading this article, I...
Deb_Allen_18
Jul 29, 2008Historic F5 Account
The alert code is used to find a match string that is maintained in the bigip_error_maps.dat file. This is the method used by F5 development to maintain most of the alert match strings to build the running configuration @ runtime using the background process described in the article.
Alternatively, the match string may be specified in the alert.conf or user_alert.conf file. When creating custom traps, you will not create an error map, rather you will always define the match string in the user_alert.conf file.
The system receives both alert code and message, and attempts to match against the running alertd configuration, which includes both definitions, and will trigger the alert action for all definitions that match. (I clarified the beginning of the article, thanks for the feedback.)
Syslog-ng passes along the message string it received unmodified, and there is no way to customize the message.
Does that help?
/d
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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