Skip to content

Instantly share code, notes, and snippets.

@elliot
Created June 2, 2015 23:54
Show Gist options
  • Save elliot/1a90473468556b322e70 to your computer and use it in GitHub Desktop.
Save elliot/1a90473468556b322e70 to your computer and use it in GitHub Desktop.
Cacti - Juniper VC Port Stats
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