--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Retrieves the current configuration of this Manager.
  name: config
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Retrieves the MIB for this Manager.
  name: mib
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: open
comment: 
- !ruby/struct:SM::Flow::H 
  level: 2
  text: SNMP Manager
- !ruby/struct:SM::Flow::P 
  body: This class provides a manager for interacting with a single SNMP agent.
- !ruby/struct:SM::Flow::H 
  level: 1
  text: Example
- !ruby/struct:SM::Flow::VERB 
  body: "   require 'snmp'\n\n   manager = SNMP::Manager.new(:Host =&gt; 'localhost', :Port =&gt; 1061)\n   response = manager.get([&quot;1.3.6.1.2.1.1.1.0&quot;, &quot;1.3.6.1.2.1.1.2.0&quot;])\n   response.each_varbind {|vb| puts vb.inspect}\n   manager.close\n"
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Symbolic Object Names
- !ruby/struct:SM::Flow::P 
  body: Symbolic names for SNMP object IDs can be used as parameters to the APIs in this class if the MIB modules are imported and the names of the MIBs are included in the MibModules configuration parameter.
- !ruby/struct:SM::Flow::P 
  body: See MIB.varbind_list for a description of valid parameter formats.
- !ruby/struct:SM::Flow::P 
  body: "The following modules are loaded by default: &quot;SNMPv2-SMI&quot;, &quot;SNMPv2-MIB&quot;, &quot;IF-MIB&quot;, &quot;IP-MIB&quot;, &quot;TCP-MIB&quot;, &quot;UDP-MIB&quot;. All of the current IETF MIBs have been imported and are available for loading."
- !ruby/struct:SM::Flow::P 
  body: Additional modules may be imported using the MIB class. The current implementation of the importing code requires that the external 'smidump' tool is available in your PATH. This tool can be obtained from the libsmi website at http://www.ibr.cs.tu-bs.de/projects/libsmi/ .
- !ruby/struct:SM::Flow::H 
  level: 1
  text: Example
- !ruby/struct:SM::Flow::P 
  body: "Do this once:"
- !ruby/struct:SM::Flow::VERB 
  body: "  SNMP::MIB.import_module(MY_MODULE_FILENAME, MIB_OUTPUT_DIR)\n"
- !ruby/struct:SM::Flow::P 
  body: "Include your module in MibModules each time you create a Manager:"
- !ruby/struct:SM::Flow::VERB 
  body: "  SNMP::Manager.new(:Host =&gt; 'localhost', :MibDir =&gt; MIB_OUTPUT_DIR,\n                    :MibModules =&gt; [&quot;MY-MODULE-MIB&quot;, &quot;SNMPv2-MIB&quot;, ...])\n"
constants: 
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Default configuration. Individual options may be overridden when the Manager is created.
  name: DefaultConfig
  value: "{         :Host => 'localhost',         :Port => 161,         :TrapPort => 162,         :Community => 'public',         :WriteCommunity => nil,         :Version => :SNMPv2c,         :Timeout => 1,         :Retries => 5,         :Transport => UDPTransport,         :MaxReceiveBytes => 8000,         :MibDir => MIB::DEFAULT_MIB_PATH,         :MibModules => [\"SNMPv2-SMI\", \"SNMPv2-MIB\", \"IF-MIB\", \"IP-MIB\", \"TCP-MIB\", \"UDP-MIB\"]}"
full_name: SNMP::Manager
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: close
- !ruby/object:RI::MethodSummary 
  name: create_trap_vb_list
- !ruby/object:RI::MethodSummary 
  name: get
- !ruby/object:RI::MethodSummary 
  name: get_bulk
- !ruby/object:RI::MethodSummary 
  name: get_next
- !ruby/object:RI::MethodSummary 
  name: get_value
- !ruby/object:RI::MethodSummary 
  name: inform
- !ruby/object:RI::MethodSummary 
  name: load_module
- !ruby/object:RI::MethodSummary 
  name: next_request_id=
- !ruby/object:RI::MethodSummary 
  name: set
- !ruby/object:RI::MethodSummary 
  name: trap_v1
- !ruby/object:RI::MethodSummary 
  name: trap_v2
- !ruby/object:RI::MethodSummary 
  name: walk
name: Manager
superclass: Object
