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

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...