Forum Discussion
svoll
Nimbostratus
Jan 31, 2019using iRule for health monitor type information for decisions
OK I'm not sure where to look. my Google-fu is not working.
I have a health monitor setup to look at the URL and if it comes back systemstatus=OK the node is up.
if it's missing the server...
Rico
Cirrus
Jan 31, 2019The easiest way to do this would be to simply keep your monitor in its working configuration and use an iRule to filter out the users. This would make it so if the iRule is applied, only tester IP ranges can navigate to the page and everyone else gets redirected. The iRule would look something like this.
when HTTP_REQUEST
{
if {![class match [IP::client_addr] eq "TesterList"]}
{
HTTP::redirect https://example.com/redirect_page
}
}
If you want to trigger a change from a remote server that would limit users, you are most likely going to have to write an iControl script. Here is a link to information on iControl so you can research further if you please.
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