Forum Discussion
soymanue
Feb 19, 2016Nimbostratus
APM Access stats per OS
Hello I'm trying to create report to show the connections made to an APM Access Profile with different Client OS. First of all, I tried to do it with an APM Report but I haven't found the way to do i...
Michael_Jenkins
Feb 22, 2016Cirrostratus
I haven't hadn't much interaction with iStats, but I can share what I have done. First I found that wrapping the call in a catch block helps keep errors from causing client-side issues. I was also looking at per-virtual server stats, so it would add them for the VS the iRule is assigned to.
Here's what my code looks like (it's used to track hostnames used to access the VIP)
Track the hosts that are used by this VIP
if { [catch { ISTATS::incr "ltm.virtual [virtual name] c [HTTP::host]" 1 } emsg] } {
log local0. "ISTATS error | Error adding stats to '[HTTP::host]' | '$emsg'"
}
To view the stats in TMSH: "tmsh show ltm virtual XYZ " (where XYZ is the virtual server name)
You could probably modify it to use the OS name instead of host.
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