Forum Discussion

Jeremy_Bridges_'s avatar
Jeremy_Bridges_
Icon for Nimbostratus rankNimbostratus
Jun 28, 2007

Event Notification

Is it possible to raise a custom event that can be sent with the iControl.Management.EventNotification mechanism?

 

 

For example, if an iRule determined that a connection could not be completed, we want to send a notification out. We could use SNMP to do this, but we want to link the notifications into a .NET infrastructure. SNMP .NET libraries exist, but the time and effort required to learn and use them seems daunting.

 

 

Anybody have some suggestions?

1 Reply

  • Currently, no. That's a great feature request though... I'm thinking about ways to tunnel this through existing mechanisms but you are fairly limited in what you can do from within iRules with regards to things not directly tied to the communication path.

     

     

    With 9.4 there are some fun and games you can play with the LB::reselect and HTTP::retry command to have the iRule target the destination to separate servers. So, you could, on an LB_FAILED event, LB::reselect to your .NET server and modify the request content with an associated error message. There are a lot of gotchas with this approach though so only approach it if you have no other options. Look though the wiki on those topics and by searching the forums, you'll likely find a few posts talking about it.

     

     

    -Joe