mini snmp library for iij/mruby
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
MIT-LICENSE.txt
README.md
Rakefile
mrbgem.rake
msnmp.gemspec

README.md

mini SNMP library for ruby/mruby

Requirements

  • ruby 1.8, 1.9, 2.0 or mruby

Usage

mruby

Add the following lines to build_conf.rb and make.

  conf.gem :git => 'https://github.com/iij/mruby-io.git'
  conf.gem :git => 'https://github.com/iij/mruby-socket.git'
  conf.gem :git => 'https://github.com/iij/mruby-pack.git'
  conf.gem :git => 'https://github.com/iij/msnmp.git'

There is a sample implementation of a snmpbulkwalk command.

mruby bin/msnmpwalk -v 2c -c public host.example.com system

ruby

install

gem install msnmp

run

msnmpwalk -v 2c -c public host.example.com system