event

Description

Enables or disables evaluation of the specified iRule event, or all iRule events, on this connection. However, the iRule continues to run.

Syntax

event [<name>] [enable|disable] | [enable all|disable all]

v11 Additions/Changes:
event info

event [<name>] [enable|disable] | [enable all|disable all]

  • Discontinues or continues evaluating the specified iRule event, or all iRule events, on this connection.

event info

  • Returns a string describing why this event was fired (v11+ only). Added to support LB::queue/LB_QUEUED so limited to LB_FAILED currently, but is anticipated that this will become more generalized in the future.

For details on the possible error codes below, please contact F5 Support.
Error code Description
ERR_MEM Out of memory error
ERR_BUF Buffer error
ERR_VAL Illegal value
ERR_ARG Illegal argument
ERR_BOUNDS Out of bounds
ERR_TOOBIG Packet or data too big
ERR_ABRT Connection aborted
ERR_CONN Not connected
ERR_VLAN Vlan error
ERR_RTE Routing problem
ERR_NEIGHBOR Neighbor problem
ERR_USE Address in use
ERR_PORT Out of ports
ERR_IO Input/Output error
ERR_EXPIRED Expired data
ERR_REJECT Traffic rejected
ERR_MORE_DATA More data required
ERR_NOT_FOUND Not found
ERR_HUD_ABORT Hudfilter abort
ERR_HUD_TEARDOWN Hudfilter teardown
ERR_INPROGRESS Operation now in progress
ERR_MCP MCP error or unsupported message
ERR_DB Database error
ERR_TCL TCL error
ERR_DL Dynamic library error
ERR_ISCONNECTED Already connected
ERR_HA_UNIT_NOT_ACTIVE The HA unit is not active for this TMM
ERR_NOTINPROGRESS Prerequisite operation not in progress
ERR_TYPE Type mismatch
ERR_VERSION Improper version
ERR_INIT Initialization error
ERR_UNKNOWN Unknown error
ERR_NOT_SUPPORTED Unsupported action
ERR_LICENSE Feature not licensed
ERR_ALIGN Buffer alignment error
ERR_TIMEOUT Operation timed out
ERR_ENCAP_FAILED Encapsulation failed
ERR_VERBOTEN Operation not allowed
ERR_TUNNEL Tunnel error
ERR_WOULDBLOCK Resource temporarily unavailable
ERR_OPENSSLRNG OpenSSL RNG call failed
ERR_RETRY Retry the operation
ERR_DUPLICATE_ENTRY Duplicate entry, item already exists

Examples

when HTTP_RESPONSE {
  COMPRESS::method prefer gzip
  event disable
}