Forum Discussion
iRule with custom SNMP TRAP evertytime it matches, NOT every minute
Does not seem like a trivial solution. The alertd has a 1 minute frequency of looking up new logs and then sending out SNMP alerts based on log content.
The 1 option I would pursue is creating the SNMP packet directly in hex and sending the content out using SIDEBAND::send. Since SNMP is UDP and fairly defined protocol, you should be able to construct the packet but I would not typically go down this option unless it is really really required.
To warn you I had something similar requested to be alarmed as SNMP alerts and 2 weeks in Production and they were complaining about "too many events". Thats when we implemented the 5 minutes consolidated event.
https://devcentral.f5.com/wiki/iRules.send.ashx
cheers.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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