Created
June 2, 2015 23:54
-
-
Save elliot/1a90473468556b322e70 to your computer and use it in GitHub Desktop.
Cacti - Juniper VC Port Stats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh 10.0.0.0 "show virtual-chassis vc-port statistics member $1 $2" | tail -n 1 | awk {'print "traffic_in:"$2 " traffic_out:" $5'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment