Getting Data In

SNMP Modular Input Custom MIB

bakdaulet
Loves-to-Learn Lots

Hello.

After installing snmp modular input have a problem with MIB. Logs are not human readable format.

Example:
notification_from_address = "10.253.242.15" notification_from_port = "55681" notification_enterprise = "1.3.6.1.4.1.18494.2" notification_agent_address = "10.253.242.15" notification_generic_trap = "'enterpriseSpecific'" notification_specific_trap = "1" notification_uptime = "1" 1.3.6.1.4.1.18494.2.1.1 = ObjectSyntax: simple=SimpleSyntax: string=atyn 1.3.6.1.4.1.18494.2.1.2 = ObjectSyntax: simple=SimpleSyntax: string=05/09/2019 1.3.6.1.4.1.18494.2.1.3 = ObjectSyntax: simple=SimpleSyntax: string=11:31:15 1.3.6.1.4.1.18494.2.1.4 = ObjectSyntax: simple=SimpleSyntax: string=MXS 1.3.6.1.4.1.18494.2.1.5 = ObjectSyntax: simple=SimpleSyntax: number=10023 1.3.6.1.4.1.18494.2.1.6 = ObjectSyntax: simple=SimpleSyntax: string=Info 1.3.6.1.4.1.18494.2.1.7 = ObjectSyntax: simple=SimpleSyntax: string=Communication 1.3.6.1.4.1.18494.2.1.8 = ObjectSyntax: simple=SimpleSyntax: string=Session Closed 1.3.6.1.4.1.18494.2.1.9 = ObjectSyntax: simple=SimpleSyntax: string=0x4d65737361676520506172746e6572204d54314f75742c2053657373696f6e20393833202d2053657373696f6e20636c6f7365640a20202020496e707574206d6573736167657320203a20616363657074656420303030303030202d2072656a6563746564203030303030300a202020204f7574707574206d65737361676573203a20616363657074656420303030303031202d2072656a6563746564203030303030300a2020202020202020202020202020202020202020202020202020202020202020202020202d20627970617373656420303030303030 1.3.6.1.4.1.18494.2.1.10 = ObjectSyntax: simple=SimpleSyntax: string=8370f116-2250-47c6-86d9-e435fa6127f5

I already converted MIB into Python Modules and put it /opt/splunk/etc/apps/snmp_ta/bin/mibs

My inputs.conf
[snmp://Swift_altyn]
activation_key = ***************************
communitystring = public
do_bulk_get = 0
do_get_subtree = 0
ipv6 = 0
snmp_mode = traps
snmp_version = 2C
sourcetype = swift_altyn
split_bulk_output = 0
trap_host = SERVERNAME
trap_port = 10162
trap_rdns = 0
v3_authProtocol = usmHMACMD5AuthProtocol
v3_privProtocol = usmDESPrivProtocol
mib_names = SAATRAP

Help please!!!

Tags (3)
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...