All Apps and Add-ons

how to convert snmp MIB file to egg file ? - SNMP Modular Input app !!

pgadhari
Builder

I am trying to use SNMP Modular input app to get data from Huawei DCIM software. Huawei has shared the custom MIB file and I have converted the MIB file into python file successfully. I created a SNMP data input, but I am not getting SNMP data from DCIM system.

Do I need to convert the MIB file in to egg file ? I am not sure on how to convert it into egg file ? Can somebody guide me on it ?

Also, I am getting following error in splunkd.log file, not showing specific errors :

03-04-2019 17:12:11.600 +0400 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py"  snmp_stanza:snmp://dcim
03-04-2019 17:13:11.663 +0400 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py"  snmp_stanza:snmp://dcim

Below is my inputs.conf :

[snmp://dcim]
communitystring = Splunk123
destination = 10.x.x.x
do_bulk_get = 0
do_get_subtree = 0
index = dcim
ipv6 = 0
mib_names = HUAWEI-NETECO6000-PERFORMANCE-NBI
object_names = 1.3.6.1.4.1.2011.2.281.2.1.20025.20932.1.1.1.41 ==> **(not sure which OID to specify here from the MIB file)**
port = 4700
snmp_mode = attributes
snmp_version = 2C
snmpinterval = 60
sourcetype = snmp_ta_dcim
split_bulk_output = 0
trap_rdns = 0
v3_authProtocol = usmHMACMD5AuthProtocol
v3_privProtocol = usmDESPrivProtocol

Please help resolve the issue ?

Thanks
PG

Get Updates on the Splunk Community!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...