Forum Discussion
Access configuration Details from Irule
Hello I am trying to fetch the Host name of the LTM in the Irule. I need this information to print out a dashboard I see there is one command that can fetch the Host name
set ltmHostname [ exec hostname]
but we get the following error "error: [command is disabled: "exec"]"
Is there a way to fetch the host name info into a variable in the Irule. I was thinking if I can have the value in the datagroup and manually popualte it. but the issue there will be that is that datagroups sync to the fail over LTM and then the information is inaccurate when we hit the fail over LTM.
Thoughts?
- Kevin_StewartEmployee
If on an 11.4.0 and above BIG-IP:
upvar 0 tcl_platform static::tcl_platform log local0. $static::tcl_platform(machine)
Recent Discussions
Related Content
* 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