logstash-plugins / logstash-input-snmp

Apache License 2.0
17 stars 22 forks source link

SMI DUMP and Logstash Error #16

Closed edperry closed 5 years ago

edperry commented 6 years ago

Ok, trying to play with the mib_paths.

My questions are as follows:

  1. Am I doing something wrong? Other then bruteforce doing more then I need to?
  2. Should Failed Loading DIC's stop the pipeline from running (ERROR vs Warning)?
  3. Is there some unhandled case that should be addressed?

I am converting all of the RHEL6 MIBS to Dic files, not sure if these errors are hurting me but follow along.

[root@HOSTNAME smi]# for file in /usr/share/snmp/mibs/*; do smidump -k -f python $file> `basename $file`.dic; done
smidump: module `/usr/share/snmp/mibs/IPV6-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/IPV6-TCP-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/IPV6-TC.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/IPV6-UDP-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/LM-SENSORS-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/MTA-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/NET-SNMP-EXTEND-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/NET-SNMP-PASS-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/NET-SNMP-TC.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/NET-SNMP-VACM-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/RFC1155-SMI.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/RFC1213-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/SMUX-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/SNMPv2-CONF.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/SNMPv2-SMI.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/UCD-DEMO-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/UCD-IPFWACC-MIB.txt' contains errors, expect flawed output
smidump: module `/usr/share/snmp/mibs/UCD-SNMP-MIB.txt' contains errors, expect flawed output

I set the mib_path to where I saved the "DIC" files - Nothing said that it could be a director, just presuming it can be.

input{
snmp {
    oid_root_skip => 0
    interval => 30
    walk => [".1.3.6.1.2.1.2"]
    mib_paths => [ "/etc/logstash/smi" ]
    hosts => [
    {
         host => "udp:127.0.0.1/161" 
         community => "public"
        }
    ]
    add_field => { "dst_index" => "snmp" }
}
}

Now, on startup of logstash I am getting the following error

no nodes defined in mib dic file /etc/logstash/smi/SNMPv2-CONF.txt.dic

Now of course I can remove that file,

[2018-07-10T13:50:39,964][ERROR][logstash.pipeline        ] Error registering plugin {:pipeline_id=>"pipeline-snmp", :plugin=>"<LogStash::Inputs::Snmp oid_root_skip=>0, interval=>30, walk=>[\".1.3.6.1.2.1.2\"], mib_paths=>[\"/etc/logstash/smi\"], hosts=>[{\"host\"=>\"udp:127.0.0.1/161\", \"community\"=>\"public\"}], add_field=>{\"dst_index\"=>\"snmp\"}, id=>\"09399fe258118c1895918a36f6bc2177a39f42fa27f39916c5271318368a60d7\", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>\"plain_880c6f5c-432d-44a5-9d04-0c661139669b\", enable_metric=>true, charset=>\"UTF-8\">>", :error=>"no nodes defined in mib dic file /etc/logstash/smi/SNMPv2-CONF.txt.dic", :thread=>"#<Thread:0x158217ee@/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:245 run>"}
[2018-07-10T13:50:39,974][ERROR][logstash.pipeline        ] Pipeline aborted due to error {:pipeline_id=>"pipeline-snmp", :exception=>#<LogStash::SnmpMibError: no nodes defined in mib dic file /etc/logstash/smi/SNMPv2-CONF.txt.dic>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-snmp-0.1.0.beta4/lib/logstash/inputs/snmp/mib.rb:126:in `read_mib_dic'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-snmp-0.1.0.beta4/lib/logstash/inputs/snmp/mib.rb:106:in `block in add_mib_path'", "org/jruby/RubyArray.java:1734:in `each'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-snmp-0.1.0.beta4/lib/logstash/inputs/snmp/mib.rb:105:in `add_mib_path'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-snmp-0.1.0.beta4/lib/logstash/inputs/snmp.rb:66:in `block in register'", "org/jruby/RubyArray.java:1734:in `each'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-snmp-0.1.0.beta4/lib/logstash/inputs/snmp.rb:64:in `register'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:340:in `register_plugin'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:351:in `block in register_plugins'", "org/jruby/RubyArray.java:1734:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:351:in `register_plugins'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:498:in `start_inputs'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:392:in `start_workers'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:288:in `run'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:248:in `block in start'"], :thread=>"#<Thread:0x158217ee@/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:245 run>"}
[2018-07-10T13:50:39,976][ERROR][logstash.agent           ] Failed to execute action {:id=>:"pipeline-snmp", :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not execute action: PipelineAction::Create<pipeline-snmp>, action_result: false", :backtrace=>nil}
[2018-07-10T13:50:40,040][INFO ][logstash.pipeline        ] Pipeline started successfully {:pipeline_id=>"input", :thread=>"#<Thread:0xce4afbc@/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:245 sleep>"}
edperry commented 6 years ago

Yes ever one of the MIBS, that produced errors caused Logstash not to run the pipeline with the same error of "no nodes defined in mib dic file 'XYZ''

axrayn commented 6 years ago

Morning @edperry,

Try adding --level=6 to the command syntax when converting one of the MIBs and it should tell you why. I'm going to hazard a guess that the MIBs are all SMIv1 version not SMIv2 (which I read somewhere is required by smidump to convert to py format successfully)

smidump --level=6 -k -f python IPV6-TCP-MIB.txt > IPV6-TCP-MIB.dic IPV6-TCP-MIB.txt:4: failed to locate MIB moduleSNMPv2-CONF' IPV6-TCP-MIB.txt:6: failed to locate MIB module SNMPv2-SMI' IPV6-TCP-MIB.txt:7: failed to locate MIB moduleIPV6-TC' IPV6-TCP-MIB.txt:24: revision for last update is missing IPV6-TCP-MIB.txt:40: MAX-ACCESS is SMIv2 style, use ACCESS in SMIv1 MIBs instead IPV6-TCP-MIB.txt:41: invalid status current' in SMIv1 MIB IPV6-TCP-MIB.txt:49: MAX-ACCESS is SMIv2 style, use ACCESS in SMIv1 MIBs instead IPV6-TCP-MIB.txt:50: invalid statuscurrent' in SMIv1 MIB IPV6-TCP-MIB.txt:78: MAX-ACCESS is SMIv2 style, use ACCESS in SMIv1 MIBs instead IPV6-TCP-MIB.txt:79: invalid status current' in SMIv1 MIB IPV6-TCP-MIB.txt:90: MAX-ACCESS is SMIv2 style, use ACCESS in SMIv1 MIBs instead IPV6-TCP-MIB.txt:91: invalid statuscurrent' in SMIv1 MIB IPV6-TCP-MIB.txt:98: MAX-ACCESS is SMIv2 style, use ACCESS in SMIv1 MIBs instead IPV6-TCP-MIB.txt:99: invalid status current' in SMIv1 MIB IPV6-TCP-MIB.txt:106: MAX-ACCESS is SMIv2 style, use ACCESS in SMIv1 MIBs instead IPV6-TCP-MIB.txt:107: invalid statuscurrent' in SMIv1 MIB IPV6-TCP-MIB.txt:114: MAX-ACCESS is SMIv2 style, use ACCESS in SMIv1 MIBs instead IPV6-TCP-MIB.txt:115: invalid status current' in SMIv1 MIB IPV6-TCP-MIB.txt:155: MAX-ACCESS is SMIv2 style, use ACCESS in SMIv1 MIBs instead IPV6-TCP-MIB.txt:156: invalid statuscurrent' in SMIv1 MIB IPV6-TCP-MIB.txt:189: invalid status current' in SMIv1 MIB IPV6-TCP-MIB.txt:205: invalid statuscurrent' in SMIv1 MIB IPV6-TCP-MIB.txt:24: unknown object identifier label experimental' IPV6-TCP-MIB.txt:28: unknown object identifier labelmib-2' IPV6-TCP-MIB.txt:76: type Ipv6Address' of nodeipv6TcpConnLocalAddress' does not resolve to a known base type IPV6-TCP-MIB.txt:96: type Ipv6Address' of nodeipv6TcpConnRemAddress' does not resolve to a known base type IPV6-TCP-MIB.txt:112: type Ipv6IfIndexOrZero' of nodeipv6TcpConnIfIndex' does not resolve to a known base type IPV6-TCP-MIB.txt:47: illegal base type Ipv6Address' in index elementipv6TcpConnLocalAddress' of row ipv6TcpConnEntry IPV6-TCP-MIB.txt:47: illegal base type Ipv6Address' in index elementipv6TcpConnRemAddress' of row ipv6TcpConnEntry IPV6-TCP-MIB.txt:47: illegal base type Ipv6IfIndexOrZero' in index elementipv6TcpConnIfIndex' of row ipv6TcpConnEntry IPV6-TCP-MIB.txt:69: unknown type Ipv6Address' IPV6-TCP-MIB.txt:73: unknown typeIpv6IfIndexOrZero' smidump: module IPV6-TCP-MIB.txt' contains errors, expect flawed output

ETA: Might not be solely a v1 vs v2 issues after all. Posssibly also an issue with missing dependencies.

edperry commented 6 years ago

Oh I have no problem that the issue is with SMI and the MIB itself. Sort of get that :)

I guess what I have a problem with is the "Pipeline" throws and error when the first file fails. With "No Nodes" I totally get throwing a warning and continuing on. But before I understood this issue more, I had to run logstash once for each file till I removed all of the invalid files. Which was like +20 times of
start Logstash, check the logs, stop, remove the file, ..... repeat

I guess I might have tried it with a Test mode but would have a similar steps which is very time consuming

I suggest that at least, if your going to fail the pipeline for invalid Dic files, You would at least test all of them for "validity"

Or just throw a warning and load the pipeline anyway.

Just a suggestion of behavior.

axrayn commented 6 years ago

@edperry Completely agree. The loading of a MIB without any nodes shouldn't be a stop condition for the pipeline because, from what I can see, having the oid<->name translation available is largely cosmetic to the output as there isn't anything (that I saw at a quick glance) for the config parsing on startup to allow people to use walk => ["IF-MIB::ifTable"] in the input config which is where not having the MIBs available would be a problem.

edperry commented 6 years ago

I get you, though you always have to syntax check/handle using IF-MIB::IFTable after all people can make typo's :)

but ok failing the pipeline might make sense for this kind of use case

axrayn commented 6 years ago

Even in the case of using IF-MIB::ifTable in the config, I think we'd still only want to error to the log about that particular 'oid' not being valid and continue parsing/polling the rest rather than exiting the pipeline.

colinsurprenant commented 6 years ago

Thanks for submitting the issue @edperry and @axrayn for helping here. I agree we can log errors and move forward here instead of halting, will push a fix for that shortly. I Will have to followup for the MIB file parsing problems.

colinsurprenant commented 6 years ago

resuming work here - please take a look at this comment related to the module loading error you reported @axrayn.

colinsurprenant commented 6 years ago

Ok, a few comments:

Overide path:

$ SMIPATH="/path/to/net-snmp/mibs/" smidump --level=6 -k -f python  IPV6-TCP-MIB.txt  >  IPV6-TCP-MIB.txt.dic

Prepend path:

$ SMIPATH="/path/to/net-snmp/mibs/:" smidump --level=6 -k -f python  IPV6-TCP-MIB.txt  >  IPV6-TCP-MIB.txt.dic
edperry commented 6 years ago

I will be able to review tomorrow when at work and will try all the details.

As for the no node error, the path is correct because when the offending file is removed all the other files resolve. Anyway I will try to take and make a full retest tomorrow and provide you the details.

Some of it was related to me just taking all the DIC's that come with RHEL and converting them rather than picking only the ones needed. (Brute force method ) but got to experience a lot all at once :D

will let you know shortly

edperry commented 6 years ago

So I gave it a shot, tried a bunch of things (in addition to what you asked for) but still having same issue of only having partial decodes>

So using the MIBS that come with RHEL6 from /usr/share/snmp/mibs/ which is "net-snmp-libs-5.5-60.el6"

so going to convert only the files I require to decode the MIBS (Looked it up at h ttps://www.simpleweb.org/ietf/mibs/search/ )

So I have 2 executions,

[root@hd1pbk01lx rhel6_mibs_dics]# for file in IF-MIB.txt  RFC1155-SMI.txt  RFC1213-MIB.txt; do SMIPATH="/usr/share/snmp/mibs/" smidump --level=6 -k -f python  /usr/share/snmp/mibs/$file  >  `basename $file`.dic; done
/usr/share/snmp/mibs/IF-MIB.txt:12: failed to locate MIB module `SNMPv2-MIB'
/usr/share/snmp/mibs/IF-MIB.txt:13: failed to locate MIB module `IANAifType-MIB'
/usr/share/snmp/mibs/IF-MIB.txt:139: warning: index element `ifIndex' of row `ifEntry' should be not-accessible in SMIv2 MIB
/usr/share/snmp/mibs/IF-MIB.txt:199: type `IANAifType' of node `ifType' does not resolve to a known base type
/usr/share/snmp/mibs/IF-MIB.txt:1065: index element `ifRcvAddressAddress' of row `ifRcvAddressEntry' must have a size restriction
/usr/share/snmp/mibs/IF-MIB.txt:1047: warning: index of row `ifRcvAddressEntry' can exceed OID size limit by 65420 subidentifier(s)
/usr/share/snmp/mibs/IF-MIB.txt:1116: unknown object identifier label `snmpTraps'
/usr/share/snmp/mibs/IF-MIB.txt:1650: warning: deprecated group `ifOldObjectsGroup' is not referenced in this module
/usr/share/snmp/mibs/IF-MIB.txt:153: unknown type `IANAifType'
smidump: module `/usr/share/snmp/mibs/IF-MIB.txt' contains errors, expect flawed output
/usr/share/snmp/mibs/RFC1155-SMI.txt:7: warning: redefinition of identifier `SNMPv2-SMI::internet'
/usr/share/mibs/ietf/SNMPv2-SMI:8: info: previous definition of `internet'
/usr/share/snmp/mibs/RFC1155-SMI.txt:9: warning: redefinition of identifier `SNMPv2-SMI::directory'
/usr/share/mibs/ietf/SNMPv2-SMI:10: info: previous definition of `directory'
/usr/share/snmp/mibs/RFC1155-SMI.txt:11: warning: redefinition of identifier `SNMPv2-SMI::mgmt'
/usr/share/mibs/ietf/SNMPv2-SMI:12: info: previous definition of `mgmt'
/usr/share/snmp/mibs/RFC1155-SMI.txt:13: warning: redefinition of identifier `SNMPv2-SMI::experimental'
/usr/share/mibs/ietf/SNMPv2-SMI:16: info: previous definition of `experimental'
/usr/share/snmp/mibs/RFC1155-SMI.txt:15: warning: redefinition of identifier `SNMPv2-SMI::private'
/usr/share/mibs/ietf/SNMPv2-SMI:18: info: previous definition of `private'
/usr/share/snmp/mibs/RFC1155-SMI.txt:16: warning: redefinition of identifier `SNMPv2-SMI::enterprises'
/usr/share/mibs/ietf/SNMPv2-SMI:19: info: previous definition of `enterprises'
/usr/share/snmp/mibs/RFC1155-SMI.txt:38: warning: redefinition of identifier `SNMPv2-SMI::ObjectName'
/usr/share/mibs/ietf/SNMPv2-SMI:110: info: previous definition of `ObjectName'
/usr/share/snmp/mibs/RFC1155-SMI.txt:94: warning: definition of identifier `IpAddress' which is already a SMI or SPPI basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:100: range limit exceeds underlying basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:104: range limit exceeds underlying basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:108: range limit exceeds underlying basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:106: warning: definition of identifier `TimeTicks' which is already a SMI or SPPI basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:110: warning: definition of identifier `Opaque' which is already a SMI or SPPI basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:114: warning: module name `RFC1155-SMI' should match `*-MIB'
/usr/share/snmp/mibs/RFC1155-SMI.txt:88: warning: type `NetworkAddress' has no format specification
/usr/share/snmp/mibs/RFC1155-SMI.txt:94: warning: type `IpAddress' has no format specification
/usr/share/snmp/mibs/RFC1155-SMI.txt:98: warning: type `Counter' has no format specification
/usr/share/snmp/mibs/RFC1155-SMI.txt:102: warning: type `Gauge' has no format specification
/usr/share/snmp/mibs/RFC1155-SMI.txt:106: warning: type `TimeTicks' has no format specification
/usr/share/snmp/mibs/RFC1155-SMI.txt:110: warning: type `Opaque' has no format specification
smidump: module `/usr/share/snmp/mibs/RFC1155-SMI.txt' contains errors, expect flawed output
/usr/share/snmp/mibs/RFC1213-MIB.txt:6: failed to locate MIB module `RFC1155-SMI'
/usr/share/snmp/mibs/RFC1213-MIB.txt:8: failed to locate MIB module `RFC-1212'
/usr/share/snmp/mibs/RFC1213-MIB.txt:15: warning: redefinition of identifier `SNMPv2-SMI::mib-2'
/usr/share/mibs/ietf/SNMPv2-SMI:13: info: previous definition of `mib-2'
/usr/share/snmp/mibs/RFC1213-MIB.txt:19: warning: redefinition of identifier `SNMPv2-TC::DisplayString'
/usr/share/mibs/ietf/SNMPv2-TC:53: info: previous definition of `DisplayString'
/usr/share/snmp/mibs/RFC1213-MIB.txt:28: warning: redefinition of identifier `SNMPv2-TC::PhysAddress'
/usr/share/mibs/ietf/SNMPv2-TC:87: info: previous definition of `PhysAddress'
/usr/share/snmp/mibs/RFC1213-MIB.txt:56: warning: redefinition of identifier `SNMPv2-SMI::transmission'
/usr/share/mibs/ietf/SNMPv2-SMI:14: info: previous definition of `transmission'
/usr/share/snmp/mibs/RFC1213-MIB.txt:15: unknown object identifier label `mgmt'
/usr/share/snmp/mibs/RFC1213-MIB.txt:258: index element `ifIndex' of row `ifEntry' must have a range restriction
/usr/share/snmp/mibs/RFC1213-MIB.txt:338: type `Gauge' of node `ifSpeed' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:404: type `Counter' of node `ifInOctets' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:413: type `Counter' of node `ifInUcastPkts' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:422: type `Counter' of node `ifInNUcastPkts' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:432: type `Counter' of node `ifInDiscards' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:445: type `Counter' of node `ifInErrors' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:455: type `Counter' of node `ifInUnknownProtos' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:465: type `Counter' of node `ifOutOctets' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:474: type `Counter' of node `ifOutUcastPkts' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:485: type `Counter' of node `ifOutNUcastPkts' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:497: type `Counter' of node `ifOutDiscards' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:510: type `Counter' of node `ifOutErrors' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:519: type `Gauge' of node `ifOutQLen' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:640: type `NetworkAddress' of node `atNetAddress' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:606: index element `atIfIndex' of row `atEntry' must have a range restriction
/usr/share/snmp/mibs/RFC1213-MIB.txt:585: illegal base type `NetworkAddress' in index element `atNetAddress' of row atEntry
/usr/share/snmp/mibs/RFC1213-MIB.txt:688: type `Counter' of node `ipInReceives' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:697: type `Counter' of node `ipInHdrErrors' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:709: type `Counter' of node `ipInAddrErrors' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:726: type `Counter' of node `ipForwDatagrams' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:741: type `Counter' of node `ipInUnknownProtos' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:751: type `Counter' of node `ipInDiscards' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:764: type `Counter' of node `ipInDelivers' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:773: type `Counter' of node `ipOutRequests' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:785: type `Counter' of node `ipOutDiscards' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:800: type `Counter' of node `ipOutNoRoutes' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:824: type `Counter' of node `ipReasmReqds' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:833: type `Counter' of node `ipReasmOKs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:842: type `Counter' of node `ipReasmFails' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:856: type `Counter' of node `ipFragOKs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:865: type `Counter' of node `ipFragFails' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:876: type `Counter' of node `ipFragCreates' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1298: index element `ipNetToMediaIfIndex' of row `ipNetToMediaEntry' must have a range restriction
/usr/share/snmp/mibs/RFC1213-MIB.txt:1356: type `Counter' of node `ipRoutingDiscards' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1374: type `Counter' of node `icmpInMsgs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1384: type `Counter' of node `icmpInErrors' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1394: type `Counter' of node `icmpInDestUnreachs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1403: type `Counter' of node `icmpInTimeExcds' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1412: type `Counter' of node `icmpInParmProbs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1421: type `Counter' of node `icmpInSrcQuenchs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1430: type `Counter' of node `icmpInRedirects' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1438: type `Counter' of node `icmpInEchos' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1447: type `Counter' of node `icmpInEchoReps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1455: type `Counter' of node `icmpInTimestamps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1464: type `Counter' of node `icmpInTimestampReps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1473: type `Counter' of node `icmpInAddrMasks' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1482: type `Counter' of node `icmpInAddrMaskReps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1491: type `Counter' of node `icmpOutMsgs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1501: type `Counter' of node `icmpOutErrors' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1517: type `Counter' of node `icmpOutDestUnreachs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1526: type `Counter' of node `icmpOutTimeExcds' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1534: type `Counter' of node `icmpOutParmProbs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1543: type `Counter' of node `icmpOutSrcQuenchs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1551: type `Counter' of node `icmpOutRedirects' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1562: type `Counter' of node `icmpOutEchos' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1570: type `Counter' of node `icmpOutEchoReps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1578: type `Counter' of node `icmpOutTimestamps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1587: type `Counter' of node `icmpOutTimestampReps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1596: type `Counter' of node `icmpOutAddrMasks' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1605: type `Counter' of node `icmpOutAddrMaskReps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1680: type `Counter' of node `tcpActiveOpens' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1690: type `Counter' of node `tcpPassiveOpens' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1700: type `Counter' of node `tcpAttemptFails' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1713: type `Counter' of node `tcpEstabResets' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1723: type `Gauge' of node `tcpCurrEstab' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1733: type `Counter' of node `tcpInSegs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1744: type `Counter' of node `tcpOutSegs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1754: type `Counter' of node `tcpRetransSegs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1887: type `Counter' of node `tcpInErrs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1896: type `Counter' of node `tcpOutRsts' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1910: type `Counter' of node `udpInDatagrams' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1919: type `Counter' of node `udpNoPorts' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1929: type `Counter' of node `udpInErrors' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:1939: type `Counter' of node `udpOutDatagrams' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2005: type `Counter' of node `egpInMsgs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2014: type `Counter' of node `egpInErrors' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2023: type `Counter' of node `egpOutMsgs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2032: type `Counter' of node `egpOutErrors' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2135: type `Counter' of node `egpNeighInMsgs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2144: type `Counter' of node `egpNeighInErrs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2154: type `Counter' of node `egpNeighOutMsgs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2163: type `Counter' of node `egpNeighOutErrs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2173: type `Counter' of node `egpNeighInErrMsgs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2182: type `Counter' of node `egpNeighOutErrMsgs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2191: type `Counter' of node `egpNeighStateUps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2200: type `Counter' of node `egpNeighStateDowns' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2309: type `Counter' of node `snmpInPkts' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2318: type `Counter' of node `snmpOutPkts' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2328: type `Counter' of node `snmpInBadVersions' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2338: type `Counter' of node `snmpInBadCommunityNames' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2348: type `Counter' of node `snmpInBadCommunityUses' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2359: type `Counter' of node `snmpInASNParseErrs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2371: type `Counter' of node `snmpInTooBigs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2382: type `Counter' of node `snmpInNoSuchNames' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2393: type `Counter' of node `snmpInBadValues' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2404: type `Counter' of node `snmpInReadOnlys' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2421: type `Counter' of node `snmpInGenErrs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2432: type `Counter' of node `snmpInTotalReqVars' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2443: type `Counter' of node `snmpInTotalSetVars' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2454: type `Counter' of node `snmpInGetRequests' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2464: type `Counter' of node `snmpInGetNexts' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2474: type `Counter' of node `snmpInSetRequests' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2484: type `Counter' of node `snmpInGetResponses' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2494: type `Counter' of node `snmpInTraps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2504: type `Counter' of node `snmpOutTooBigs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2515: type `Counter' of node `snmpOutNoSuchNames' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2526: type `Counter' of node `snmpOutBadValues' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2539: type `Counter' of node `snmpOutGenErrs' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2550: type `Counter' of node `snmpOutGetRequests' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2559: type `Counter' of node `snmpOutGetNexts' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2568: type `Counter' of node `snmpOutSetRequests' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2577: type `Counter' of node `snmpOutGetResponses' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:2586: type `Counter' of node `snmpOutTraps' does not resolve to a known base type
/usr/share/snmp/mibs/RFC1213-MIB.txt:19: warning: type `DisplayString' has no format specification
/usr/share/snmp/mibs/RFC1213-MIB.txt:28: warning: type `PhysAddress' has no format specification
/usr/share/snmp/mibs/RFC1213-MIB.txt:221: unknown type `Gauge'
/usr/share/snmp/mibs/RFC1213-MIB.txt:231: unknown type `Counter'
/usr/share/snmp/mibs/RFC1213-MIB.txt:604: unknown type `NetworkAddress'
smidump: module `/usr/share/snmp/mibs/RFC1213-MIB.txt' contains errors, expect flawed output

Prepend

[root@hd1pbk01lx rhel6_mibs_dics]# for file in IF-MIB.txt  RFC1155-SMI.txt  RFC1213-MIB.txt; do SMIPATH="/usr/share/snmp/mibs/:" smidump --level=6 -k -f python  /usr/share/snmp/mibs/$file  >  `basename $file`.dic; echo "---------------"; done
/usr/share/snmp/mibs/IF-MIB.txt:139: warning: index element `ifIndex' of row `ifEntry' should be not-accessible in SMIv2 MIB
/usr/share/snmp/mibs/IF-MIB.txt:1065: index element `ifRcvAddressAddress' of row `ifRcvAddressEntry' must have a size restriction
/usr/share/snmp/mibs/IF-MIB.txt:1047: warning: index of row `ifRcvAddressEntry' can exceed OID size limit by 65420 subidentifier(s)
/usr/share/snmp/mibs/IF-MIB.txt:1650: warning: deprecated group `ifOldObjectsGroup' is not referenced in this module
---------------
/usr/share/snmp/mibs/RFC1155-SMI.txt:7: warning: redefinition of identifier `SNMPv2-SMI::internet'
/usr/share/mibs/ietf/SNMPv2-SMI:8: info: previous definition of `internet'
/usr/share/snmp/mibs/RFC1155-SMI.txt:9: warning: redefinition of identifier `SNMPv2-SMI::directory'
/usr/share/mibs/ietf/SNMPv2-SMI:10: info: previous definition of `directory'
/usr/share/snmp/mibs/RFC1155-SMI.txt:11: warning: redefinition of identifier `SNMPv2-SMI::mgmt'
/usr/share/mibs/ietf/SNMPv2-SMI:12: info: previous definition of `mgmt'
/usr/share/snmp/mibs/RFC1155-SMI.txt:13: warning: redefinition of identifier `SNMPv2-SMI::experimental'
/usr/share/mibs/ietf/SNMPv2-SMI:16: info: previous definition of `experimental'
/usr/share/snmp/mibs/RFC1155-SMI.txt:15: warning: redefinition of identifier `SNMPv2-SMI::private'
/usr/share/mibs/ietf/SNMPv2-SMI:18: info: previous definition of `private'
/usr/share/snmp/mibs/RFC1155-SMI.txt:16: warning: redefinition of identifier `SNMPv2-SMI::enterprises'
/usr/share/mibs/ietf/SNMPv2-SMI:19: info: previous definition of `enterprises'
/usr/share/snmp/mibs/RFC1155-SMI.txt:38: warning: redefinition of identifier `SNMPv2-SMI::ObjectName'
/usr/share/mibs/ietf/SNMPv2-SMI:110: info: previous definition of `ObjectName'
/usr/share/snmp/mibs/RFC1155-SMI.txt:94: warning: definition of identifier `IpAddress' which is already a SMI or SPPI basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:100: range limit exceeds underlying basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:104: range limit exceeds underlying basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:108: range limit exceeds underlying basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:106: warning: definition of identifier `TimeTicks' which is already a SMI or SPPI basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:110: warning: definition of identifier `Opaque' which is already a SMI or SPPI basetype
/usr/share/snmp/mibs/RFC1155-SMI.txt:114: warning: module name `RFC1155-SMI' should match `*-MIB'
/usr/share/snmp/mibs/RFC1155-SMI.txt:88: warning: type `NetworkAddress' has no format specification
/usr/share/snmp/mibs/RFC1155-SMI.txt:94: warning: type `IpAddress' has no format specification
/usr/share/snmp/mibs/RFC1155-SMI.txt:98: warning: type `Counter' has no format specification
/usr/share/snmp/mibs/RFC1155-SMI.txt:102: warning: type `Gauge' has no format specification
/usr/share/snmp/mibs/RFC1155-SMI.txt:106: warning: type `TimeTicks' has no format specification
/usr/share/snmp/mibs/RFC1155-SMI.txt:110: warning: type `Opaque' has no format specification
smidump: module `/usr/share/snmp/mibs/RFC1155-SMI.txt' contains errors, expect flawed output
---------------
/usr/share/snmp/mibs/RFC1213-MIB.txt:15: warning: redefinition of identifier `SNMPv2-SMI::mib-2'
/usr/share/mibs/ietf/SNMPv2-SMI:13: info: previous definition of `mib-2'
/usr/share/snmp/mibs/RFC1213-MIB.txt:19: warning: redefinition of identifier `SNMPv2-TC::DisplayString'
/usr/share/mibs/ietf/SNMPv2-TC:53: info: previous definition of `DisplayString'
/usr/share/snmp/mibs/RFC1213-MIB.txt:28: warning: redefinition of identifier `SNMPv2-TC::PhysAddress'
/usr/share/mibs/ietf/SNMPv2-TC:87: info: previous definition of `PhysAddress'
/usr/share/snmp/mibs/RFC1213-MIB.txt:56: warning: redefinition of identifier `SNMPv2-SMI::transmission'
/usr/share/mibs/ietf/SNMPv2-SMI:14: info: previous definition of `transmission'
/usr/share/snmp/mibs/RFC1213-MIB.txt:258: index element `ifIndex' of row `ifEntry' must have a range restriction
/usr/share/snmp/mibs/RFC1213-MIB.txt:606: index element `atIfIndex' of row `atEntry' must have a range restriction
/usr/share/snmp/mibs/RFC1213-MIB.txt:1298: index element `ipNetToMediaIfIndex' of row `ipNetToMediaEntry' must have a range restriction
/usr/share/snmp/mibs/RFC1213-MIB.txt:19: warning: type `DisplayString' has no format specification
/usr/share/snmp/mibs/RFC1213-MIB.txt:28: warning: type `PhysAddress' has no format specification
smidump: module `/usr/share/snmp/mibs/RFC1213-MIB.txt' contains errors, expect flawed output
---------------

LOGSTASH Output

[root@hd1pbk01lx rhel6_mibs_dics]# /usr/share/logstash/bin/logstash -f /etc/logstash/pipeline-snmp/input-snmp.confWARNING: Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console
[WARN ] 2018-09-06 15:09:11.226 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified
[INFO ] 2018-09-06 15:09:11.321 [LogStash::Runner] runner - Starting Logstash {"logstash.version"=>"6.3.0"}
[INFO ] 2018-09-06 15:09:11.883 [Converge PipelineAction::Create<main>] snmp - Using version 0.1.x input plugin 'snmp'. This plugin isn't well supported by the community and likely has no maintainer.
[INFO ] 2018-09-06 15:09:12.058 [Converge PipelineAction::Create<main>] pipeline - Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>48, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50}
[INFO ] 2018-09-06 15:09:12.729 [Converge PipelineAction::Create<main>] pipeline - Pipeline started successfully {:pipeline_id=>"main", :thread=>"#<Thread:0x214dec28@/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:245 sleep>"}
[INFO ] 2018-09-06 15:09:12.756 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] agent - Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[INFO ] 2018-09-06 15:09:12.838 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=>9600}
{
     "1.org.dod.internet.mgmt.1.2.2.1.5.2" => -1,
    "1.org.dod.internet.mgmt.1.2.2.1.19.6" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.19.7" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.4.6" => 1500,
    "1.org.dod.internet.mgmt.1.2.2.1.18.4" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.16.6" => 800549393,
     "1.org.dod.internet.mgmt.1.2.2.1.8.5" => 2,
    "1.org.dod.internet.mgmt.1.2.2.1.22.3" => "0.0",
    "1.org.dod.internet.mgmt.1.2.2.1.10.6" => 3994603952,
     "1.org.dod.internet.mgmt.1.2.2.1.6.1" => "",
    "1.org.dod.internet.mgmt.1.2.2.1.15.1" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.3.5" => 6,
    "1.org.dod.internet.mgmt.1.2.2.1.20.6" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.10.3" => 207762790,
    "1.org.dod.internet.mgmt.1.2.2.1.21.5" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.2.2" => "eth0",
     "1.org.dod.internet.mgmt.1.2.2.1.3.4" => 6,
     "1.org.dod.internet.mgmt.1.2.2.1.3.3" => 6,
     "1.org.dod.internet.mgmt.1.2.2.1.7.3" => 1,
    "1.org.dod.internet.mgmt.1.2.2.1.16.7" => 331777009,
     "1.org.dod.internet.mgmt.1.2.2.1.4.1" => 65536,
    "1.org.dod.internet.mgmt.1.2.2.1.20.2" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.11.2" => 1472814853,
    "1.org.dod.internet.mgmt.1.2.2.1.10.7" => 782142902,
     "1.org.dod.internet.mgmt.1.2.2.1.6.5" => "34:64:a9:bb:2e:9a",
    "1.org.dod.internet.mgmt.1.2.2.1.16.3" => 1250374553,
     "1.org.dod.internet.mgmt.1.2.2.1.8.2" => 1,
                               "dst_index" => "snmp",
    "1.org.dod.internet.mgmt.1.2.2.1.19.4" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.11.6" => 3723401780,
    "1.org.dod.internet.mgmt.1.2.2.1.21.1" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.15.2" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.20.5" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.9.1" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.19.1" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.5.4" => -1,
     "1.org.dod.internet.mgmt.1.2.2.1.2.3" => "eth1",
     "1.org.dod.internet.mgmt.1.2.2.1.9.5" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.2.4" => "eth2",
    "1.org.dod.internet.mgmt.1.2.2.1.21.4" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.8.1" => 1,
     "1.org.dod.internet.mgmt.1.2.2.1.7.6" => 1,
    "1.org.dod.internet.mgmt.1.2.2.1.11.5" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.14.2" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.17.5" => 0,
                              "@timestamp" => 2018-09-06T19:09:12.881Z,
     "1.org.dod.internet.mgmt.1.2.2.1.3.1" => 24,
    "1.org.dod.internet.mgmt.1.2.2.1.17.4" => 344379822,
    "1.org.dod.internet.mgmt.1.2.2.1.22.7" => "0.0",
    "1.org.dod.internet.mgmt.1.2.2.1.11.3" => 2250586927,
     "1.org.dod.internet.mgmt.1.2.2.1.9.3" => 61009793,
    "1.org.dod.internet.mgmt.1.2.2.1.10.2" => 3786841162,
     "1.org.dod.internet.mgmt.1.2.2.1.1.2" => 2,
    "1.org.dod.internet.mgmt.1.2.2.1.14.7" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.13.5" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.12.6" => 43320144,
    "1.org.dod.internet.mgmt.1.2.2.1.21.7" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.5.3" => -1,
     "1.org.dod.internet.mgmt.1.2.2.1.3.2" => 6,
    "1.org.dod.internet.mgmt.1.2.2.1.12.2" => 41641854,
     "1.org.dod.internet.mgmt.1.2.2.1.1.5" => 5,
     "1.org.dod.internet.mgmt.1.2.2.1.9.2" => 61009793,
     "1.org.dod.internet.mgmt.1.2.2.1.7.4" => 1,
     "1.org.dod.internet.mgmt.1.2.2.1.9.7" => 61009793,
    "1.org.dod.internet.mgmt.1.2.2.1.18.3" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.18.5" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.20.7" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.22.2" => "0.0",
     "1.org.dod.internet.mgmt.1.2.2.1.9.4" => 61009793,
     "1.org.dod.internet.mgmt.1.2.2.1.2.7" => "bond1",
    "1.org.dod.internet.mgmt.1.2.2.1.15.5" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.20.3" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.18.6" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.9.6" => 61009793,
     "1.org.dod.internet.mgmt.1.2.2.1.6.7" => "34:64:a9:bb:2e:92",
    "1.org.dod.internet.mgmt.1.2.2.1.10.1" => 4125222576,
    "1.org.dod.internet.mgmt.1.2.2.1.10.5" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.1.6" => 6,
    "1.org.dod.internet.mgmt.1.2.2.1.17.7" => 344379822,
     "1.org.dod.internet.mgmt.1.2.2.1.8.6" => 1,
    "1.org.dod.internet.mgmt.1.2.2.1.12.3" => 1678290,
    "1.org.dod.internet.mgmt.1.2.2.1.13.6" => 472,
     "1.org.dod.internet.mgmt.1.2.2.1.7.1" => 1,
     "1.org.dod.internet.mgmt.1.2.2.1.5.5" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.15.3" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.1.1" => 1,
     "1.org.dod.internet.mgmt.1.2.2.1.4.4" => 1500,
    "1.org.dod.internet.mgmt.1.2.2.1.17.6" => 1017106237,
     "1.org.dod.internet.mgmt.1.2.2.1.7.2" => 1,
    "1.org.dod.internet.mgmt.1.2.2.1.14.3" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.19.2" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.16.5" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.1.7" => 7,
         "1.org.dod.internet.mgmt.1.2.1.0" => 7,
    "1.org.dod.internet.mgmt.1.2.2.1.19.5" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.20.4" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.21.6" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.11.4" => 2004926514,
    "1.org.dod.internet.mgmt.1.2.2.1.22.1" => "0.0",
    "1.org.dod.internet.mgmt.1.2.2.1.18.1" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.5.6" => -1,
     "1.org.dod.internet.mgmt.1.2.2.1.8.4" => 1,
     "1.org.dod.internet.mgmt.1.2.2.1.4.3" => 1500,
     "1.org.dod.internet.mgmt.1.2.2.1.5.1" => 10000000,
     "1.org.dod.internet.mgmt.1.2.2.1.2.1" => "lo",
     "1.org.dod.internet.mgmt.1.2.2.1.7.5" => 2,
    "1.org.dod.internet.mgmt.1.2.2.1.12.7" => 1235885,
     "1.org.dod.internet.mgmt.1.2.2.1.4.5" => 1500,
    "1.org.dod.internet.mgmt.1.2.2.1.16.4" => 331777009,
    "1.org.dod.internet.mgmt.1.2.2.1.12.5" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.17.1" => 335932163,
    "1.org.dod.internet.mgmt.1.2.2.1.16.1" => 4125222576,
     "1.org.dod.internet.mgmt.1.2.2.1.1.4" => 4,
     "1.org.dod.internet.mgmt.1.2.2.1.3.7" => 6,
     "1.org.dod.internet.mgmt.1.2.2.1.8.7" => 1,
    "1.org.dod.internet.mgmt.1.2.2.1.10.4" => 782142902,
    "1.org.dod.internet.mgmt.1.2.2.1.12.1" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.6.2" => "34:64:a9:bb:2e:90",
    "1.org.dod.internet.mgmt.1.2.2.1.14.1" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.12.4" => 1235885,
    "1.org.dod.internet.mgmt.1.2.2.1.18.2" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.14.5" => 0,
                                "@version" => "1",
    "1.org.dod.internet.mgmt.1.2.2.1.16.2" => 3845142136,
     "1.org.dod.internet.mgmt.1.2.2.1.1.3" => 3,
     "1.org.dod.internet.mgmt.1.2.2.1.3.6" => 6,
     "1.org.dod.internet.mgmt.1.2.2.1.6.4" => "34:64:a9:bb:2e:92",
     "1.org.dod.internet.mgmt.1.2.2.1.8.3" => 1,
    "1.org.dod.internet.mgmt.1.2.2.1.15.4" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.11.1" => 335932163,
     "1.org.dod.internet.mgmt.1.2.2.1.7.7" => 1,
     "1.org.dod.internet.mgmt.1.2.2.1.4.7" => 1500,
    "1.org.dod.internet.mgmt.1.2.2.1.15.6" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.19.3" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.5.7" => -1,
    "1.org.dod.internet.mgmt.1.2.2.1.13.2" => 395,
    "1.org.dod.internet.mgmt.1.2.2.1.17.3" => 1601861244,
    "1.org.dod.internet.mgmt.1.2.2.1.11.7" => 2004926514,
    "1.org.dod.internet.mgmt.1.2.2.1.20.1" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.21.2" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.18.7" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.2.5" => "eth3",
    "1.org.dod.internet.mgmt.1.2.2.1.22.4" => "0.0",
    "1.org.dod.internet.mgmt.1.2.2.1.13.3" => 77,
    "1.org.dod.internet.mgmt.1.2.2.1.21.3" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.13.7" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.4.2" => 1500,
     "1.org.dod.internet.mgmt.1.2.2.1.6.6" => "34:64:a9:bb:2e:90",
    "1.org.dod.internet.mgmt.1.2.2.1.13.4" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.14.4" => 0,
     "1.org.dod.internet.mgmt.1.2.2.1.6.3" => "34:64:a9:bb:2e:90",
    "1.org.dod.internet.mgmt.1.2.2.1.14.6" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.15.7" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.22.5" => "0.0",
    "1.org.dod.internet.mgmt.1.2.2.1.17.2" => 3710212289,
    "1.org.dod.internet.mgmt.1.2.2.1.13.1" => 0,
    "1.org.dod.internet.mgmt.1.2.2.1.22.6" => "0.0",
     "1.org.dod.internet.mgmt.1.2.2.1.2.6" => "bond0"
}

^C[WARN ] 2018-09-06 15:09:16.671 [SIGINT handler] runner - SIGINT received. Shutting down.
[INFO ] 2018-09-06 15:09:16.999 [[main]-pipeline-manager] pipeline - Pipeline has terminated {:pipeline_id=>"main", :thread=>"#<Thread:0x214dec28@/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:245 run>"}

So I guess the first question ,

edperry commented 6 years ago

Ok, I also found the LTS version of the net-snmp-5.7.3 and tried that, same issue.

Prepend here (tried over ride and gave me the same issues)

[root@hd1pbk01lx rhel6_mibs_dics]# for file in IF-MIB.txt  RFC1155-SMI.txt  RFC1213-MIB.txt; 
do 
SMIPATH="/home/AD/eperry/net-snmp-5.7.3/mibs:" 
smidump --level=6 -k -f python  /home/AD/eperry/net-snmp-5.7.3/mibs/$file  >  `basename $file`.dic; 
echo "---------------"; 
done

/home/AD/eperry/net-snmp-5.7.3/mibs/IF-MIB.txt:139: warning: index element `ifIndex' of row `ifEntry' should be not-accessible in SMIv2 MIB
/home/AD/eperry/net-snmp-5.7.3/mibs/IF-MIB.txt:1065: index element `ifRcvAddressAddress' of row `ifRcvAddressEntry' must have a size restriction
/home/AD/eperry/net-snmp-5.7.3/mibs/IF-MIB.txt:1047: warning: index of row `ifRcvAddressEntry' can exceed OID size limit by 65420 subidentifier(s)
/home/AD/eperry/net-snmp-5.7.3/mibs/IF-MIB.txt:1650: warning: deprecated group `ifOldObjectsGroup' is not referenced in this module
---------------
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:7: warning: redefinition of identifier `SNMPv2-SMI::internet'
/usr/share/mibs/ietf/SNMPv2-SMI:8: info: previous definition of `internet'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:9: warning: redefinition of identifier `SNMPv2-SMI::directory'
/usr/share/mibs/ietf/SNMPv2-SMI:10: info: previous definition of `directory'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:11: warning: redefinition of identifier `SNMPv2-SMI::mgmt'
/usr/share/mibs/ietf/SNMPv2-SMI:12: info: previous definition of `mgmt'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:13: warning: redefinition of identifier `SNMPv2-SMI::experimental'
/usr/share/mibs/ietf/SNMPv2-SMI:16: info: previous definition of `experimental'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:15: warning: redefinition of identifier `SNMPv2-SMI::private'
/usr/share/mibs/ietf/SNMPv2-SMI:18: info: previous definition of `private'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:16: warning: redefinition of identifier `SNMPv2-SMI::enterprises'
/usr/share/mibs/ietf/SNMPv2-SMI:19: info: previous definition of `enterprises'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:38: warning: redefinition of identifier `SNMPv2-SMI::ObjectName'
/usr/share/mibs/ietf/SNMPv2-SMI:110: info: previous definition of `ObjectName'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:94: warning: definition of identifier `IpAddress' which is already a SMI or SPPI basetype
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:100: range limit exceeds underlying basetype
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:104: range limit exceeds underlying basetype
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:108: range limit exceeds underlying basetype
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:106: warning: definition of identifier `TimeTicks' which is already a SMI or SPPI basetype
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:110: warning: definition of identifier `Opaque' which is already a SMI or SPPI basetype
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:114: warning: module name `RFC1155-SMI' should match `*-MIB'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:88: warning: type `NetworkAddress' has no format specification
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:94: warning: type `IpAddress' has no format specification
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:98: warning: type `Counter' has no format specification
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:102: warning: type `Gauge' has no format specification
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:106: warning: type `TimeTicks' has no format specification
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt:110: warning: type `Opaque' has no format specification
smidump: module `/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1155-SMI.txt' contains errors, expect flawed output
---------------
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1213-MIB.txt:15: warning: redefinition of identifier `SNMPv2-SMI::mib-2'
/usr/share/mibs/ietf/SNMPv2-SMI:13: info: previous definition of `mib-2'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1213-MIB.txt:19: warning: redefinition of identifier `SNMPv2-TC::DisplayString'
/usr/share/mibs/ietf/SNMPv2-TC:53: info: previous definition of `DisplayString'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1213-MIB.txt:28: warning: redefinition of identifier `SNMPv2-TC::PhysAddress'
/usr/share/mibs/ietf/SNMPv2-TC:87: info: previous definition of `PhysAddress'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1213-MIB.txt:56: warning: redefinition of identifier `SNMPv2-SMI::transmission'
/usr/share/mibs/ietf/SNMPv2-SMI:14: info: previous definition of `transmission'
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1213-MIB.txt:258: index element `ifIndex' of row `ifEntry' must have a range restriction
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1213-MIB.txt:606: index element `atIfIndex' of row `atEntry' must have a range restriction
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1213-MIB.txt:1298: index element `ipNetToMediaIfIndex' of row `ipNetToMediaEntry' must have a range restriction
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1213-MIB.txt:19: warning: type `DisplayString' has no format specification
/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1213-MIB.txt:28: warning: type `PhysAddress' has no format specification
smidump: module `/home/AD/eperry/net-snmp-5.7.3/mibs/RFC1213-MIB.txt' contains errors, expect flawed output
---------------

here is some version info of SMIDUMP incase you see something [root@hd1pbk01lx rhel6_mibs_dics]# smidump --version smidump 0.4.8 [root@hd1pbk01lx rhel6_mibs_dics]# python --version Python 2.6.6 [root@hd1pbk01lx rhel6_mibs_dics]# rpm -qa libsmi libsmi-0.4.8-4.el6.x86_64

axrayn commented 6 years ago

I normally search on www.mibdepot.com. There's a v2 MIB on there with a last update of LAST-UPDATED "9311082155Z". How does that compare to the redhat ones?

edperry commented 6 years ago

I don't see the download of the site, but I can't believe that the SNMP Project page would be behind a 3rd party website.

As for the RHEL ones, are 5.5.60 and the SNMP Site is 5.7.3 but MIBS don't change that much especially Networking ones.

This has to be a easier process otherwise this will be impossible to manage as a commercial plugin.

Would it be possible that you add a converted set of DICS to the REPO, for the netsnmp.org (ones you know are working). I don't care too much about RHEL as much as the translation of names of the standard stuff. After all I will be probing RHEL3-7 Cisco, AIX and so on. so any customization I can deal with later on. At least this would make sure people get started on the right foot, rather then struggling with converting

axrayn commented 6 years ago

Unfortunately there's not a specific download link, when you bring up a MIB you have the options of a tree view and a text view. From the text view I normally just select all the mib contents text and copy/paste.

I think one of the items on the future features list is including precompiled dic files for MIB-II mibs.

ETA: Sorry, just checked, it's to include all MIBs in libsmi

edperry commented 6 years ago

Ok, well I think including all the MIBs will be great as most people wont be able to do this. (hopefully sooner then later :+1: )

I understand that this is beta and I am expected to do more. I will futz around with the above suggestings.

Is there some kind of test code I can just "run" against the DIC file to see if OID X.x.x.x.x.x.x fully resolves? Before I go and do all the log stash steps?

edperry commented 6 years ago

Ok figured it out.

Hazah, while your thoughts were not my issue completely my issue, you got me thinking that maybe I had the wrong file to convert

I was converting files in /usr/share/snmp/mibs/*.txt files and they were partially working.

However I did a little searching around the RHEL OS and found a /usr/share/mibs/ietf/* files (without the text extension) so I processed every file in there

export SMIPATH="/usr/share/mibs/ietf/:/usr/share/snmp/mibs:"; for f in `find /usr/share/mibs/ietf/ -type f`; do echo "------$f------"; smidump --level=6 -k -f python $f -o `basename $f`.dic; done

A little overkill but here is a list of all the files

[root@hd1pbk01lx rhel6_mibs_dics]# ls
ACCOUNTING-CONTROL-MIB.dic          DNS-SERVER-MIB.dic                           HC-PerfHist-TC-MIB.dic                  MIP-MIB.dic                       RADIUS-DYNAUTH-SERVER-MIB.dic  SNMP-USM-DH-OBJECTS-MIB.dic
ADSL2-LINE-MIB.dic                  DOCS-BPI-MIB.dic                             HC-RMON-MIB.dic                         MOBILEIPV6-MIB.dic                RAQMON-MIB.dic                 SNMPv2-MIB.dic
ADSL2-LINE-TC-MIB.dic               DOCS-CABLE-DEVICE-MIB.dic                    HDSL2-SHDSL-LINE-MIB.dic                Modem-MIB.dic                     RDBMS-MIB.dic                  SNMPv2-SMI.dic
ADSL-LINE-EXT-MIB.dic               DOCS-IETF-BPI2-MIB.dic                       HOST-RESOURCES-MIB.dic                  MPLS-FTN-STD-MIB.dic              RFC1065-SMI.dic                SNMPv2-TM.dic
ADSL-LINE-MIB.dic                   DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB.dic  HOST-RESOURCES-TYPES.dic                MPLS-L3VPN-STD-MIB.dic            RFC1155-SMI.dic                SNMPv2-USEC-MIB.dic
ADSL-TC-MIB.dic                     DOCS-IETF-QOS-MIB.dic                        HPR-IP-MIB.dic                          MPLS-LC-ATM-STD-MIB.dic           RFC1158-MIB.dic                SNMP-VIEW-BASED-ACM-MIB.dic
AGENTX-MIB.dic                      DOCS-IETF-SUBMGT-MIB.dic                     HPR-MIB.dic                             MPLS-LC-FR-STD-MIB.dic            RFC1213-MIB.dic                SONET-MIB.dic
AGGREGATE-MIB.dic                   DOCS-IF-MIB.dic                              IANA-ITU-ALARM-TC-MIB.dic               MPLS-LDP-ATM-STD-MIB.dic          RFC1269-MIB.dic                SOURCE-ROUTING-MIB.dic
ALARM-MIB.dic                       DOT12-IF-MIB.dic                             IF-CAP-STACK-MIB.dic                    MPLS-LDP-FRAME-RELAY-STD-MIB.dic  RFC1271-MIB.dic                SSPM-MIB.dic
APM-MIB.dic                         DOT12-RPTR-MIB.dic                           IFCP-MGMT-MIB.dic                       MPLS-LDP-GENERIC-STD-MIB.dic      RFC1285-MIB.dic                SYSAPPL-MIB.dic
APPC-MIB.dic                        DOT3-EPON-MIB.dic                            IF-INVERTED-STACK-MIB.dic               MPLS-LDP-STD-MIB.dic              RFC1316-MIB.dic                T11-FC-FABRIC-ADDR-MGR-MIB.dic
APPLETALK-MIB.dic                   DOT3-OAM-MIB.dic                             IF-MIB.dic                              MPLS-LSR-STD-MIB.dic              RFC1381-MIB.dic                T11-FC-FABRIC-CONFIG-SERVER-MIB.dic
APPLICATION-MIB.dic                 DS0BUNDLE-MIB.dic                            IGMP-STD-MIB.dic                        MPLS-TC-STD-MIB.dic               RFC1382-MIB.dic                T11-FC-FABRIC-LOCK-MIB.dic
APPN-DLUR-MIB.dic                   DS0-MIB.dic                                  INET-ADDRESS-MIB.dic                    MPLS-TE-STD-MIB.dic               RFC1414-MIB.dic                T11-FC-FSPF-MIB.dic
APPN-MIB.dic                        DS1-MIB.dic                                  INTEGRATED-SERVICES-GUARANTEED-MIB.dic  MSDP-MIB.dic                      RIPv2-MIB.dic                  T11-FC-NAME-SERVER-MIB.dic
APPN-TRAP-MIB.dic                   DS3-MIB.dic                                  INTEGRATED-SERVICES-MIB.dic             MTA-MIB.dic                       RMON2-MIB.dic                  T11-FC-ROUTE-MIB.dic
APS-MIB.dic                         DSA-MIB.dic                                  INTERFACETOPN-MIB.dic                   NAT-MIB.dic                       RMON-MIB.dic                   T11-FC-RSCN-MIB.dic
ARC-MIB.dic                         DSMON-MIB.dic                                IPATM-IPMC-MIB.dic                      NETWORK-SERVICES-MIB.dic          ROHC-MIB.dic                   T11-FC-VIRTUAL-FABRIC-MIB.dic
ATM2-MIB.dic                        EBN-MIB.dic                                  IP-FORWARD-MIB.dic                      NHRP-MIB.dic                      ROHC-RTP-MIB.dic               T11-FC-ZONE-SERVER-MIB.dic
ATM-ACCOUNTING-INFORMATION-MIB.dic  EFM-CU-MIB.dic                               IPMCAST-MIB.dic                         NOTIFICATION-LOG-MIB.dic          ROHC-UNCOMPRESSED-MIB.dic      T11-TC-MIB.dic
ATM-MIB.dic                         ENTITY-MIB.dic                               IP-MIB.dic                              OPT-IF-MIB.dic                    RS-232-MIB.dic                 TCP-ESTATS-MIB.dic
ATM-TC-MIB.dic                      ENTITY-SENSOR-MIB.dic                        IPMROUTE-STD-MIB.dic                    OSPF-MIB.dic                      RSTP-MIB.dic                   TCPIPX-MIB.dic
BGP4-MIB.dic                        ENTITY-STATE-MIB.dic                         IPOA-MIB.dic                            OSPF-TRAP-MIB.dic                 RSVP-MIB.dic                   TCP-MIB.dic
BLDG-HVAC-MIB.dic                   ENTITY-STATE-TC-MIB.dic                      IPS-AUTH-MIB.dic                        PARALLEL-MIB.dic                  RTP-MIB.dic                    TE-LINK-STD-MIB.dic
BRIDGE-MIB.dic                      ETHER-CHIPSET-MIB.dic                        IPSEC-SPD-MIB.dic                       P-BRIDGE-MIB.dic                  SCSI-MIB.dic                   TE-MIB.dic
CHARACTER-MIB.dic                   EtherLike-MIB.dic                            IPV6-FLOW-LABEL-MIB.dic                 PerfHist-TC-MIB.dic               SCTP-MIB.dic                   TIME-AGGREGATE-MIB.dic
CIRCUIT-IF-MIB.dic                  ETHER-WIS.dic                                IPV6-ICMP-MIB.dic                       PIM-MIB.dic                       SFLOW-MIB.dic                  TN3270E-MIB.dic
CLNS-MIB.dic                        FCIP-MGMT-MIB.dic                            IPV6-MIB.dic                            PIM-STD-MIB.dic                   SIP-COMMON-MIB.dic             TN3270E-RT-MIB.dic
COFFEE-POT-MIB.dic                  FC-MGMT-MIB.dic                              IPV6-MLD-MIB.dic                        PINT-MIB.dic                      SIP-MIB.dic                    TOKENRING-MIB.dic
COPS-CLIENT-MIB.dic                 FDDI-SMT73-MIB.dic                           IPV6-TCP-MIB.dic                        PKTC-IETF-MTA-MIB.dic             SIP-SERVER-MIB.dic             TOKEN-RING-RMON-MIB.dic
DECNET-PHIV-MIB.dic                 FIBRE-CHANNEL-FE-MIB.dic                     IPV6-UDP-MIB.dic                        PKTC-IETF-SIG-MIB.dic             SIP-TC-MIB.dic                 TOKENRING-STATION-SR-MIB.dic
DIAL-CONTROL-MIB.dic                Finisher-MIB.dic                             ISCSI-MIB.dic                           POLICY-BASED-MANAGEMENT-MIB.dic   SIP-UA-MIB.dic                 TRANSPORT-ADDRESS-MIB.dic
DIFFSERV-CONFIG-MIB.dic             FLOW-METER-MIB.dic                           ISDN-MIB.dic                            POWER-ETHERNET-MIB.dic            SLAPM-MIB.dic                  TRIP-MIB.dic
DIFFSERV-DSCP-TC.dic                FRAME-RELAY-DTE-MIB.dic                      ISIS-MIB.dic                            PPP-BRIDGE-NCP-MIB.dic            SMON-MIB.dic                   TRIP-TC-MIB.dic
DIFFSERV-MIB.dic                    FR-ATM-PVC-SERVICE-IWF-MIB.dic               ISNS-MIB.dic                            PPP-IP-NCP-MIB.dic                SNA-NAU-MIB.dic                TUNNEL-MIB.dic
DIRECTORY-SERVER-MIB.dic            FR-MFR-MIB.dic                               ITU-ALARM-MIB.dic                       PPP-LCP-MIB.dic                   SNA-SDLC-MIB.dic               UDPLITE-MIB.dic
DISMAN-EVENT-MIB.dic                FRNETSERV-MIB.dic                            ITU-ALARM-TC-MIB.dic                    PPP-SEC-MIB.dic                   SNMP-COMMUNITY-MIB.dic         UDP-MIB.dic
DISMAN-EXPRESSION-MIB.dic           FRSLD-MIB.dic                                Job-Monitoring-MIB.dic                  Printer-MIB.dic                   SNMP-FRAMEWORK-MIB.dic         UPS-MIB.dic
DISMAN-NSLOOKUP-MIB.dic             GMPLS-LABEL-STD-MIB.dic                      L2TP-MIB.dic                            PTOPO-MIB.dic                     SNMP-MPD-MIB.dic               URI-TC-MIB.dic
DISMAN-PING-MIB.dic                 GMPLS-LSR-STD-MIB.dic                        LANGTAG-TC-MIB.dic                      Q-BRIDGE-MIB.dic                  SNMP-NOTIFICATION-MIB.dic      VDSL-LINE-EXT-MCM-MIB.dic
DISMAN-SCHEDULE-MIB.dic             GMPLS-TC-STD-MIB.dic                         LMP-MIB.dic                             RADIUS-ACC-CLIENT-MIB.dic         SNMP-PROXY-MIB.dic             VDSL-LINE-EXT-SCM-MIB.dic
DISMAN-SCRIPT-MIB.dic               GMPLS-TE-STD-MIB.dic                         MALLOC-MIB.dic                          RADIUS-ACC-SERVER-MIB.dic         SNMP-REPEATER-MIB.dic          VDSL-LINE-MIB.dic
DISMAN-TRACEROUTE-MIB.dic           GSMP-MIB.dic                                 MAU-MIB.dic                             RADIUS-AUTH-CLIENT-MIB.dic        SNMP-TARGET-MIB.dic            VPN-TC-STD-MIB.dic
DLSW-MIB.dic                        HC-ALARM-MIB.dic                             MIDCOM-MIB.dic                          RADIUS-AUTH-SERVER-MIB.dic        SNMP-USER-BASED-SM-MIB.dic     VRRP-MIB.dic
DNS-RESOLVER-MIB.dic                HCNUM-TC.dic                                 MIOX25-MIB.dic                          RADIUS-DYNAUTH-CLIENT-MIB.dic     SNMP-USM-AES-MIB.dic           WWW-MIB.dic
[root@hd1pbk01lx rhel6_mibs_dics]# /usr/share/logstash/bin/logstash -f /etc/logstash/pipeline-snmp/input-snmp.conf 2>&1 | tee -a /tmp/e
WARNING: Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console
[WARN ] 2018-09-08 11:43:40.486 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified
[INFO ] 2018-09-08 11:43:40.592 [LogStash::Runner] runner - Starting Logstash {"logstash.version"=>"6.3.0"}
[INFO ] 2018-09-08 11:43:41.136 [Converge PipelineAction::Create<main>] snmp - Using version 0.1.x input plugin 'snmp'. This plugin isn't well supported by the community and likely has no maintainer.
[INFO ] 2018-09-08 11:43:41.337 [Converge PipelineAction::Create<main>] pipeline - Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>48, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50}
[INFO ] 2018-09-08 11:43:44.283 [Converge PipelineAction::Create<main>] pipeline - Pipeline started successfully {:pipeline_id=>"main", :thread=>"#<Thread:0x6f36dc8a@/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:245 sleep>"}
[INFO ] 2018-09-08 11:43:44.308 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] agent - Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[INFO ] 2018-09-08 11:43:44.399 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=>9600}
{
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInOctets.1" => 4125288996,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutErrors.6" => 0,
            "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutQLen.4" => 0,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutOctets.1" => 4125288996,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInNUcastPkts.2" => 41769214,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpeed.4" => -1,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifPhysAddress.1" => "",
    "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUnknownProtos.2" => 0,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpeed.1" => 10000000,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUcastPkts.3" => 2251994598,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifDescr.7" => "bond1",
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifLastChange.4" => 61009793,
               "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifType.1" => 24,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInOctets.4" => 1974977640,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInDiscards.7" => 0,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutUcastPkts.2" => 3710212289,
      "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutNUcastPkts.4" => 0,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutErrors.3" => 0,
                                                                  "@timestamp" => 2018-09-08T15:43:44.421Z,
                                                                   "dst_index" => "snmp",
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOperStatus.7" => 1,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutDiscards.3" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifPhysAddress.7" => "34:64:a9:bb:2e:92",
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpeed.6" => -1,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInOctets.2" => 3809945145,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifIndex.3" => 3,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOperStatus.3" => 1,
                "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifMtu.2" => 1500,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInOctets.5" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUcastPkts.5" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUcastPkts.4" => 2024781001,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifDescr.6" => "bond0",
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifDescr.5" => "eth3",
               "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifType.5" => 6,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpeed.3" => -1,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifLastChange.2" => 61009793,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifPhysAddress.5" => "34:64:a9:bb:2e:9a",
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInNUcastPkts.1" => 0,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutErrors.7" => 0,
            "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutQLen.6" => 0,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInDiscards.2" => 395,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutUcastPkts.7" => 916053282,
                "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifMtu.4" => 1500,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOperStatus.4" => 1,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInDiscards.6" => 472,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutOctets.5" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifAdminStatus.6" => 1,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifLastChange.6" => 61009793,
    "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUnknownProtos.7" => 0,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInOctets.6" => 400832797,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifIndex.7" => 7,
                "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifMtu.6" => 1500,
            "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutQLen.3" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutDiscards.7" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifPhysAddress.2" => "34:64:a9:bb:2e:90",
    "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUnknownProtos.6" => 0,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOperStatus.6" => 1,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutOctets.4" => 135663802,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutDiscards.2" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutDiscards.4" => 0,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutUcastPkts.5" => 0,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifIndex.5" => 5,
                "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifMtu.1" => 65536,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOperStatus.5" => 2,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInDiscards.3" => 77,
               "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifType.2" => 6,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInErrors.7" => 0,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifDescr.1" => "lo",
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifLastChange.5" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutDiscards.6" => 0,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpecific.2" => "0.0",
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifPhysAddress.6" => "34:64:a9:bb:2e:90",
    "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUnknownProtos.5" => 0,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOperStatus.1" => 1,
    "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUnknownProtos.4" => 0,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInNUcastPkts.4" => 1238558,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpecific.1" => "0.0",
                                                                    "@version" => "1",
            "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutQLen.1" => 0,
               "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifType.3" => 6,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutErrors.1" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifPhysAddress.4" => "34:64:a9:bb:2e:92",
      "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutNUcastPkts.6" => 0,
                "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifMtu.3" => 1500,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUcastPkts.2" => 1473033654,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutDiscards.5" => 0,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutErrors.4" => 0,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInNUcastPkts.6" => 43451944,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUcastPkts.6" => 3725028252,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpeed.2" => -1,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUcastPkts.7" => 2024781001,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifIndex.4" => 4,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInErrors.2" => 0,
            "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutQLen.5" => 0,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOperStatus.2" => 1,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpeed.7" => -1,
            "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutQLen.2" => 0,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifIndex.6" => 6,
                "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifMtu.7" => 1500,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInErrors.6" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifPhysAddress.3" => "34:64:a9:bb:2e:90",
                "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifMtu.5" => 1500,
      "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutNUcastPkts.2" => 0,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpeed.5" => 0,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInNUcastPkts.3" => 1682730,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInDiscards.1" => 0,
      "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutNUcastPkts.1" => 0,
            "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutQLen.7" => 0,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifAdminStatus.3" => 1,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifAdminStatus.4" => 1,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifAdminStatus.2" => 1,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInNUcastPkts.7" => 1238558,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutUcastPkts.6" => 1018315626,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInNUcastPkts.5" => 0,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifIndex.1" => 1,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInErrors.3" => 0,
    "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUnknownProtos.3" => 0,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifLastChange.3" => 61009793,
      "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutNUcastPkts.3" => 0,
      "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutNUcastPkts.7" => 0,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutOctets.3" => 1567728466,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInDiscards.4" => 0,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpecific.3" => "0.0",
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpecific.6" => "0.0",
               "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifType.6" => 6,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUcastPkts.1" => 335932658,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpecific.4" => "0.0",
               "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifType.4" => 6,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifAdminStatus.5" => 2,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutDiscards.1" => 0,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutOctets.7" => 135663802,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutUcastPkts.3" => 1603070633,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutUcastPkts.4" => 916053282,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifLastChange.7" => 61009793,
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifAdminStatus.1" => 1,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifDescr.3" => "eth1",
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInErrors.5" => 0,
       "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutUcastPkts.1" => 335932658,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifLastChange.1" => 0,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifIndex.2" => 2,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutErrors.2" => 0,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifDescr.2" => "eth0",
               "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifType.7" => 6,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutErrors.5" => 0,
         "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInDiscards.5" => 0,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutOctets.2" => 3845142136,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInOctets.3" => 885854948,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpecific.5" => "0.0",
        "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifAdminStatus.7" => 1,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifSpecific.7" => "0.0",
                             "1.org.dod.internet.mgmt.1.interfaces.ifNumber.0" => 7,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInErrors.4" => 0,
          "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutOctets.6" => 1117903306,
      "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifOutNUcastPkts.5" => 0,
              "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifDescr.4" => "eth2",
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInErrors.1" => 0,
    "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInUnknownProtos.1" => 0,
           "1.org.dod.internet.mgmt.1.interfaces.ifTable.ifEntry.ifInOctets.7" => 1974977640
}

so as you can see we are working perfectly at least for these mibs :100: one you have read the comments we can close this issue

edperry commented 6 years ago

logstash-plugins/logstash-input-snmp#17

colinsurprenant commented 5 years ago

@edperry great stuff! OK - we're getting somewhere here 😄

I will definitely go ahead and do what you suggested:

Would it be possible that you add a converted set of DICS to the REPO, for the netsnmp.org (ones you know are working) So that should help everyone getting started with all the available MIBs pre-packaged

Can we close this issue?

edperry commented 5 years ago

Sounds good both my issues are solved,

colinsurprenant commented 5 years ago

As mentioned in logstash-plugins/logstash-input-snmp#17 - I just pushed logstash-plugins/logstash-input-snmp#25 to add all libsmi ietf MIBs into the plugin. That should make it more easy to get started. I will probably push a new beta shortly with that and a few other fixes I want in.

colinsurprenant commented 5 years ago

I also remove the halting on empty nodes MIB in logstash-plugins/logstash-input-snmp#25 .