Forum Discussion
C__Marbacher_57
Nimbostratus
Jun 09, 2007Read a value from a file on the BIG-IP or query through SNMP
Hello,
Is it possible from an iRule to read from a file stored on the BIG-IP?
The idea is to limit the number of sessions (not tcp clients, really sessions) based on a value return...
Colin_Walker_12
Jun 18, 2007Historic F5 Account
The short answer is "no". iRules are not allowed any file-system access for many reasons, speed and security most of all.
The longer answer is that you can write to a class via iControl, and then have the rule re-read the values from that class. This makes it possible to programmatically update the information that a given rule is operating off of. It's just not as simple as scping up a file.
HTH,
Colin
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
