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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...