Forum Discussion
How to send statistics for a specific pool by email
Hello,
We need to send this specific view, as shown below, by email every two hours
We need have the status of a specific virtual server, the related pool, with the pool members' status and statistics every two hours
What I mean by statistics here is like what we see in BIG IP GUI, as below
Bits (In/Out)
Packets (In/Out)
Connections (Current/Maximum/Total)
Requests (Total)
How can it be done from BIG IQ if exist and how can it be done from BIG IP itself?
1 Reply
Hi,
not out of the Box and I have no idea about BigIQ but for BigIP you can fetch those statistics over CLI.
Virtual Server:
tmsh show ltm virtual <virtual_server_name> field-fmtPool and the Member:
tmsh show ltm pool <pool_name> field-fmt
tmsh show ltm pool <pool_name> members field-fmt
Now you need to ask your favorite LLM for creating a BashScript executing those commands and parsed it.And execute this with a cronjob every 2 hours:
0 */2 * * * /root/pool_report.sh | mail -s "F5 pool report - http_pool" yourteam@example.com
Recent Discussions
Related Content
* 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