- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-24-2017 06:00 AM - edited 07-24-2017 07:15 AM
Hi
Currently i try to using shell scrip to call api on Palo-5020 to see overall throughput .
script as below. (as you can see it just call api command "show session info" to get throughput)
#!/bin/bash tp=$(curl -k -s 'https://1.1.1.1/api/?type=op&cmd=<show><session><info></info></session></show>&key=ABCDE' | grep kbps)
Problem is throughput we get from above is only from dp0 !!!!
I've some question
1. can we just multiply total number of dataplane?
ie. we get throughput on dp0 = 10Mbps and PA-5020 have 10 dataplane (not sure how many really. please tell me correct number) . so we can calculate overall throughput = 10Mbps x 10 dataplane = 100Mbps .... Is this plausible?
2. Is there a api command to show throughput on all dataplane?
I try to using command "show system statistics session" but i don't know why it not working. API seem can't call using this command. Is there another. debug? show all dp?
Thank you