Class: SnmpDumper::Config
- Inherits:
-
Object
- Object
- SnmpDumper::Config
- Defined in:
- lib/config.rb
Constant Summary collapse
- SNMP_VERSIONS =
{"1" => :SNMPv1, "2c" => :SNMPv2c, "3" => :SNMPv3}
- DEFAULT_PORT =
161- DEFAULT_INTERVAL =
10- DEFAULT_WALKS =
3- DEFAULT_COMMUNITY =
"public"- DEFAULT_CATEGORY =
"Unknown Category"- DEFAULT_DUMPER =
"JalasoftDumper"
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(argv) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(argv) ⇒ Config
Returns a new instance of Config.
19 20 21 |
# File 'lib/config.rb', line 19 def initialize(argv) parse(argv) end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
17 18 19 |
# File 'lib/config.rb', line 17 def @options end |