Splunk Dev

SNMP Modular input - DCIM - Mib files

Nadhiyaa
Path Finder

Hi Everyone,

I am working on integrating DCIM logs into Splunk . All i have got is 2 mib files .
IMAP_NORTHBOUND_MIB-V1.mib
IMAP_NORTHBOUND_MIB-V2.mib

I have installed the snmp modular input in my heavy forwarder . when i followed the procedure from the documentation to convert the mib files to the .py . I Am facing issues running the below command.

$build-pysnmp-mib -o IMAP_NORTHBOUND_MIB-V1.py IMAP_NORTHBOUND_MIB-V1.mib
Empty input
smidump -k -f python IMAP_NORTHBOUND_MIB-V1.mib | /bin/libsmi2pysnmp fails
make sure you are using libsmi version > 0.4.5 (or svn)

]$ smidump -f python IMAP_NORTHBOUND_MIB-V1.txt | libsmi2pysnmp IMAP_NORTHBOUND_MIB-V1.py
smidump: cannot locate module `IMAP_NORTHBOUND_MIB-V1.txt'
SNMP MIB to pysnmp objects converter, version 0.1.3.
Usage:
/bin/libsmi2pysnmp [--no-text]
Takes:
smidump -f python
program output on stdin, generates python code on stdout.
The smidump tool is available at http://www.ibr.cs.tu-bs.de/projects/libsmi/
The --no-text option disables code generation for MIB text comments.

i have tried both the commands . All the snmp packages are installed properly as i confirmed with my linux admin .

I got stuck here .Please some expert on this could help .

TIA ,Nadhiya

Tags (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Mile High Learning with Splunk University, Denver, Colorado

If Denver is known for its mile-high elevation, Splunk University is about to raise the bar on technical ...

IT Service Intelligence 5.0 Series: Your Guide to the June Launch

We are excited to announce the June release of Splunk IT Service Intelligence (ITSI) 5.0. This update ...

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...