Forum Discussion
Trevor-45
30 days agoComet
Hi Billy,
It is possible to get traffic statistics for all your CATO VPN tunnels by using the accountMetrics API. We use a shell script that pulls the data from CATO every five minutes, we used to poll every minute to get more granular traffic graphs, but we ended up with gaps in our graphs due to zero data pulled from the API, CATO Support recommended changing the script to 5 minutes.
You will need some scripting knowledge to extract each separate tunnels "bytesDownstream" and "bytesUpstream".
Regards
Trevor