Forum Discussion
LyonsG_85618
Aug 25, 2011Cirrostratus
running BIGPIPE commands in an IRULE
Hi.
Does anyone know if it's possible to run BIGPIPE commands in an IRULE?
I would like to run 'b failover show' and then extract the response.
If the unit is in ACTIVE mode then the IRULE will continue (its doing HSL logging to a remote syslog server).
If the unit is in STANDBY mode the irule will end (no remote logging).
Many thanks.
- hoolioCirrostratusHi Graham,
- LyonsG_85618CirrostratusThanks for quick reply!
- LyonsG_85618Cirrostratus"I remember Unruley mentioning a bit of a hack you could use to determine the unit number from an iRule. "
- hoolioCirrostratusHi Graham,
class namevalue { "name1" := "value", }
- LyonsG_85618CirrostratusThanks for this
- hoolioCirrostratusIt would make sense for us to have a default TCL variable that gives the HA status of the unit in an iRule. You could open an RFE case with Support to request this. If you do, could you reply back with the RFE ID so others can pile on?
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