Forum Discussion
dIone_24797
Nimbostratus
Jul 31, 2013Number of Executions IRule
Hello community,
We are using an IRule to throttle traffic from our client. We would think the number of requests per second on the VIP would equal the number of times the Irule gets exe...
nitass
Employee
Jul 31, 2013i think i know what happens. it seems HTTP::respond is not counted in ltmVirtualServStatTotRequests.
e.g.
[root@ve10:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.19.252:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
HTTP::respond 200
}
}
generating 100 requests
[root@centos17 ~] ab -n 100 http://172.28.19.252/
stats
[root@ve10:Active] config snmpwalk -v 2c -c public localhost f5|grep ltmRuleEventStatTotalExecutions|grep myrule
F5-BIGIP-LOCAL-MIB::ltmRuleEventStatTotalExecutions."myrule"."HTTP_REQUEST".500 = INTEGER: 100
[root@ve10:Active] config snmpwalk -v 2c -c public localhost f5|grep ltmVirtualServStatTotRequests
F5-BIGIP-LOCAL-MIB::ltmVirtualServStatTotRequests."bar" = Counter64: 0
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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