Forum Discussion
Chris_FP
Cirrus
Dec 01, 2008Converting Cisco CSS "Monitor" to F5 iRule
Hi,
I need to convert a current Cisco CSS "monitor" to an F5 iRule. The "monitor" is as follows:-
service remlxentap65j-2
keepalive type http
keepalive method get
keepalive port 2080
keepalive uri "/admin/status.txt"
ip address 1.2.3.4
keepalive hash "755f85c2723bb39381c7379a604160d8"
active
Any help would get greatly appreciated
Cheers,
Chris
3 Replies
- dennypayne
Employee
That won't be an iRule, that will be a health monitor in the F5 config. I'm not sure what the keepalive hash does in a CSS config, but the monitor just needs to be created as an HTTP type monitor with the send string of /admin/status.txt (assuming the pool is configured on port 2080).
Denny - Chris_FP
Cirrus
The hash is the hashed value of the returned string on the CSS.
As for the Pool the actual connection port to the servers is on 443, it is just the keepalive that is on port 2080 - plavender_72604
Nimbostratus
Hi,
I use the CSS as well, but the Big IP can do things a little more intellgently. Is the reason you are using the hash value because you change something in the text file? If it is, you could use an http monitor and check for a word within the file. If its not there, the service is marked as down. This is good for dynamic monitoring of backend systems to make sure the webserver can pull a query from a backend server.
So, if you create a new http monitor, you need to add the following:
send string - GET /admin/status.txt
receive string -
Alias service port - 2080
Hope this helps!
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
