ltm rule command eventΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



event
       Enables or disables evaluation of the specified iRule event or all
       iRule events on this connection.

SYNOPSIS
       event info

       event (enable | disable) ('all')?

       event EVENTNAME (enable | disable)

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 [] [enable|disable] | [enable all|disable all]

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

       Added in v11: 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

RETURN VALUE
VALID DURING
EXAMPLES
	when HTTP_RESPONSE {
	  COMPRESS::method prefer gzip
	  event disable
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-9.0.0 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)