Forum Discussion
- Vijay_ECirrus
Sorry, I am not giving you a straightforward answer but have you tried looking into watch command, script run or iCall
Maybe if you can explain why you need to find the device status, someone might be able to provide an alternate solution to using iRule.
- Andy_McGrathCumulonimbus
A few points on this:
-
iRules run within TMM as a traffic event process and have no direct access to the underlying F5 system, only get the data provided from pre-defined commands and events.
-
If you assign a Virtual Server to the
traffic group it will always, as long as TMM is running, be seen as active as each traffic group holds its own HA state. Also if thelocal-only
was not in antraffic-group
state it wouldn't process traffic and so you iRule would never be executed.active
Like Vijay said maybe give a little more info on what you are trying to accomplish and see if someone on here can help.
-