Forum Discussion
Can I read a remote file contents from an iRule?
Thanks for your responses guys.
This is how I have managed it so far - however I am always willing to try something different if this raises issues.
I have created an iFile which references a static file in /var/tmp and the iRule reads a value from here. I have a cronjob running every minute on a remote server which overwrites this file contents with a number of hits to a specific URI, and a cronjob running every minute on the LTM with modifies the iFile with this new file.
Its clunky, and not sure how it will perform in a production environment but mechanically it is doing what I need.
Regards, Anthony
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