Skip to content

Instantly share code, notes, and snippets.

@mapledyne
mapledyne / bandwidth.rb
Created September 3, 2015 15:41
Cisco ASA Bandwidth usage widget for dashing.io
require 'rubygems'
require 'snmp'
# Populate the graph with some random points
@inbound_points = []
@outbound_points = []
@inbound_long = []
@outbound_long = []