Forum Discussion
mlick2
Nimbostratus
Jul 02, 2007External monitoring
Below is a brief outline of what we are trying to accomplish:
1. User logs in to a website and is tracked in some way, assuming a cookie
2. A monitor will watch cpu usage on an database server
3. If the cpu usage goes above a certain percentage, deny any new users, but allow the existing users to continue
4. When cpu falls below threshold, begin to allow new users
We originally started down the road of using the HTTP_SESSION_LIMIT iRule, but quickly found that it did not work for our scenario because the clients close their connection almost immediately after connecting, therefore our active sessions was always at zero. So we have decided that monitoring the db cpu is a more desired approach. I think we can still leverage the session counting portion of this iRule, but we need assistance with how we setup the monitoring of the cpu and feed that information into the iRule.
I have somewhat discovered it looks like we are going to have to use iControl to do this. I have gone over alot of the tutorials and forums, but can't figure out how to actually get started. The main questions I have are:
- Are we on the right track looking at iControl?
- Are iRules still used, or does the entire process now take place within iControl?
- What is my first step to getting started with iControl?
I have no programming experience what so ever.. All of this is very new to us so any help will be very much appreciated.
Thanks,
Matt
- Don_MacVittie_1Historic F5 AccountHi Matt,
- Deb_Allen_18Historic F5 AccountHi Matt -- I'll just throw in my 2c as well.
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