logstash-plugins / logstash-input-snmp

Apache License 2.0
17 stars 22 forks source link

F5 OIDs weren't translated fully #93

Closed fabulias closed 3 years ago

fabulias commented 3 years ago

Hi guys, I'm having problems with this plugin but I don't know the reason, because I have Logstash in the last version and the plugin too.

Logstash version: 7.10.2 Plugin version: 1.2.7

My input is the following...

input {
   snmp {
      get => [".1.3.6.1.4.1.3375.2.2.5.2.3.1.8.12.47.67.111.109.109.111.110.47.84.101.109.112"]
      hosts => [{host => "udp:XXX.XXX.XXX.XXX/161" community => "mycommunity"}]
      mib_paths => ["/home/logstash/smi"]
      interval => 60
   }
}

I have all the mibs files downloaded from the F5 portal converted to .dic files...

AGENTX-MIB.txt.dic           F5-BIGIP-WAM-MIB.dic                     IP-FORWARD-MIB.txt.dic        RFC1213-MIB.txt.dic             SNMP-USM-AES-MIB.txt.dic
BRIDGE-MIB.txt.dic           HCNUM-TC.txt.dic                         IP-MIB.txt.dic                RMON-MIB.txt.dic                SNMP-USM-DH-OBJECTS-MIB.txt.dic
DISMAN-EVENT-MIB.txt.dic     HOST-RESOURCES-MIB.txt.dic               IPV6-ICMP-MIB.txt.dic         SCTP-MIB.txt.dic                SNMPv2-MIB.txt.dic
DISMAN-SCHEDULE-MIB.txt.dic  HOST-RESOURCES-TYPES.txt.dic             IPV6-MIB.txt.dic              SMUX-MIB.txt.dic                SNMPv2-SMI.txt.dic
DISMAN-SCRIPT-MIB.txt.dic    IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt.dic  IPV6-TCP-MIB.txt.dic          SNMP-COMMUNITY-MIB.txt.dic      SNMPv2-TM.txt.dic
EtherLike-MIB.txt.dic        IANAifType-MIB.txt.dic                   IPV6-UDP-MIB.txt.dic          SNMP-FRAMEWORK-MIB.txt.dic      SNMP-VIEW-BASED-ACM-MIB.txt.dic
F5-BIGIP-APM-MIB.dic         IANA-LANGUAGE-MIB.txt.dic                MTA-MIB.txt.dic               SNMP-MPD-MIB.txt.dic            TCP-MIB.txt.dic
F5-BIGIP-COMMON-MIB.dic      IANA-RTPROTO-MIB.txt.dic                 NET-SNMP-MIB.txt.dic          SNMP-NOTIFICATION-MIB.txt.dic   TRANSPORT-ADDRESS-MIB.txt.dic
F5-BIGIP-GLOBAL-MIB.dic      IF-INVERTED-STACK-MIB.txt.dic            NETWORK-SERVICES-MIB.txt.dic  SNMP-PROXY-MIB.txt.dic          UCD-SNMP-MIB.txt.dic
F5-BIGIP-LOCAL-MIB.dic       IF-MIB.txt.dic                           NOTIFICATION-LOG-MIB.txt.dic  SNMP-TARGET-MIB.txt.dic         UDP-MIB.txt.dic
F5-BIGIP-SYSTEM-MIB.dic      INET-ADDRESS-MIB.txt.dic                 RFC1155-SMI.txt.dic           SNMP-USER-BASED-SM-MIB.txt.dic

But the final result always doesn't have the last part of the OIDs translated.

iso.org.dod.internet.private.enterprises.f5.bigipTrafficMgmt.bigipLocalTM.ltmPools.ltmPoolStat.ltmPoolStatTable.ltmPoolStatEntry.ltmPoolStatServerCurConns.12.47.67.111.109.109.111.110.47.84.101.109.112

Has someone had the same problem in the past and could resolve it? There is another issue related to this but the guy never says something about resolving his problem finally.

xbeowulfx commented 2 years ago

able to translate ? if yes do let me know as well Thanks.