Git Product home page Git Product logo

copian's Introduction

Copian

Copian is a suite of SNMP network device collectors. It provides an easy way of gathering information from SNMP enabled network devices. As of the current version it supports the following

  • Network Interface Stats

    • MTU size

    • Connection speed (in bits)

    • Admin and Oper status indicating UP/DOWN

  • Network Interface Bandwidth, including 64 bit counter support.

  • Switch port to IP Address mapping

  • Switch port to MAC Addresses

  • VLAN listings

Examples

Collecting the status of all the network interfaces on a Cisco Router

require 'copian'
collector = Copian::Collector::Cisco.new('192.168.1.1', 'public')
collector.port_stats do |ifindex, ifname, mtu, speed, admin_status, oper_status|
  puts "Port #{ifname} is #{oper_status} @ #{speed} bps. mtu (#{mtu})"
end
# Port 1/e1 is 1 @ 100000000. mtu(1500)
# ...

presently the admin_status and oper_status are not interpreted, but equate to

  1. up

  2. down

  3. testing

History

1.3.3 - 2012/02/20

  • 1 major enhancement

    • Add interface description collector

1.3.2 - 2009/10/06

  • 1 major correction

    • BandwidthCollector fixed, it was incredibly buggy

1.3.1 - 2009/10/06

  • 1 patch

    • Fix symbol reference for the bandwidth collector from :64bit -> :b64

1.3.0 - 2009/10/05

  • 1 major enhancement

    • Added generic Bandwidth collector with support for 32 and 64bit counters to use the 64 bit counters {:64bit => true} needs to be passed to the bandwidth method on the collector.

1.2.0 - 2009/02/04

  • 2 major enhancements

    • Added VLAN collector to Dell collector

    • Added VLAN collector to HP collector

1.1.1 - 2009/02/04

  • 1 bug fix

    • Fixed HP ports collector incorrectly stripping information from returned ObjectID resulting in invalid MAC addresses

1.1.0 - 2009/02/04

  • 3 major enhancement

    • Dell collector with ports support

    • HP collector with ports support

    • Port stats, ifMtu, ifSpeed, ifAdminStatus and ifOperStatus

  • 1 extensibility enhancement

    • Introduced Generic Collector from which the others descend

1.0.0 - 2009/02/03

  • 1 major enhancement

    • Cisco collector supports Ports, VLANs and Addresses

0.0.1 - 2009/02/02

  • 1 major enhancement

    • initial creation

Copyright © 2009 Geoff Garside. See LICENSE for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.