<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SNMP Modular Input: Why am I getting error &amp;quot;No module RFC-1212 loaded&amp;quot; trying to get an mib to work? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174533#M16823</link>
    <description>&lt;P&gt;@thaddeuslim, we found a new solution for this issue. We do not use snmp to get swift traps into splunk anymore. Sorry.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Dec 2018 11:02:03 GMT</pubDate>
    <dc:creator>krusty</dc:creator>
    <dc:date>2018-12-18T11:02:03Z</dc:date>
    <item>
      <title>SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174522#M16812</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have been trying to get the following mib to work with SNMP in Splunk:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://protocolsoftware.com/documents/mibs/saatrap.mib.txt"&gt;http://protocolsoftware.com/documents/mibs/saatrap.mib.txt&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I changed the file name to SAATRAP.mib and I changed the name inside the file from 'saatrap' to 'SAATRAP'.  After that I followed the directions at &lt;A href="https://apps.splunk.com/app/1537/#/documentation"&gt;https://apps.splunk.com/app/1537/#/documentation&lt;/A&gt; to add a custom mib by issuing the following commands:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;smidump -k -f python ./SAATRAP.mib | /usr/bin/libsmi2pysnmp &amp;gt; SAATRAP.py
smidump -k -f python ./RFC-1212.mib | /usr/bin/libsmi2pysnmp &amp;gt; RFC-1212.py
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After issuing these commands I placed SAATRAP.py and RFC-1212.py into the &lt;EM&gt;etc/apps/snmp_ta/bin/mibs/&lt;/EM&gt; folder of my splunk installation, I added SAATRAP to the &lt;STRONG&gt;Custom Mib Names&lt;/STRONG&gt; field under my SNMP data input.  Now when I click &lt;STRONG&gt;Save&lt;/STRONG&gt; for the my SNMP data input I get the following error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01-02-2015 16:26:44.815 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" pysnmp.smi.error.SmiError: MIB module "/opt/splunk/etc/apps/snmp_ta/bin/mibs/SAATRAP.py" load error: ['Traceback (most recent call last):\n', '  File "/opt/splunk/etc/apps/snmp_ta/bin/pysnmp-4.2.5-py2.7.egg/pysnmp/smi/builder.py", line 255, in loadModules\n    exec(modData, g)\n', '  File "", line 10, in \n', '  File "/opt/splunk/etc/apps/snmp_ta/bin/pysnmp-4.2.5-py2.7.egg/pysnmp/smi/builder.py", line 302, in importSymbols\n    \'No module %s loaded at %s\' % (modName, self)\n', 'SmiError: No module RFC-1212 loaded at \n']
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any help regarding this error would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2015 22:36:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174522#M16812</guid>
      <dc:creator>kumor</dc:creator>
      <dc:date>2015-01-06T22:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174523#M16813</link>
      <description>&lt;P&gt;Did you also add "RFC-1212" to the Custom Mib Names ?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SAATRAP,RFC-1212
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jan 2015 14:55:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174523#M16813</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-01-08T14:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174524#M16814</link>
      <description>&lt;P&gt;Yes&lt;/P&gt;

&lt;P&gt;I tried both &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SAATRAP,RFC-1212
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;RFC-1212,SAATRAP
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jan 2015 14:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174524#M16814</guid>
      <dc:creator>kumor</dc:creator>
      <dc:date>2015-01-08T14:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174525#M16815</link>
      <description>&lt;P&gt;re-generate RFC-1212.py  as RFC1212.py&lt;/P&gt;

&lt;P&gt;dashes should not be in python module names.   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SAATRAP,RFC1212
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jan 2015 15:03:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174525#M16815</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-01-08T15:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174526#M16816</link>
      <description>&lt;P&gt;After regenerating RFC1212.mib as RFC1212.py I get the following error which is essentially the same as the first one I posted only without the '-' in the name.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01-08-2015 11:14:27.151 -0500 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/snmp_ta/bin/snmp.py" pysnmp.smi.error.SmiError: MIB module "/opt/splunk/etc/apps/snmp_ta/bin/mibs/SAATRAP.py" load error: ['Traceback (most recent call last):\n', '  File "/opt/splunk/etc/apps/snmp_ta/bin/pysnmp-4.2.5-py2.7.egg/pysnmp/smi/builder.py", line 255, in loadModules\n    exec(modData, g)\n', '  File "&amp;lt;string&amp;gt;", line 11, in &amp;lt;module&amp;gt;\n', '  File "/opt/splunk/etc/apps/snmp_ta/bin/pysnmp-4.2.5-py2.7.egg/pysnmp/smi/builder.py", line 302, in importSymbols\n    \'No module %s loaded at %s\' % (modName, self)\n', 'SmiError: No module RFC1212 loaded at &amp;lt;pysnmp.smi.builder.MibBuilder instance at 0x7fdee5c0ac68&amp;gt;\n']
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jan 2015 16:18:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174526#M16816</guid>
      <dc:creator>kumor</dc:creator>
      <dc:date>2015-01-08T16:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174527#M16817</link>
      <description>&lt;P&gt;Are you sure you generated the python files correctly without any conversion errors ? Open them up , do they correctly contain the rolled out MIB content ?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 17:20:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174527#M16817</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-01-08T17:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174528#M16818</link>
      <description>&lt;P&gt;The results of running the following commands:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;smidump -p ./RFC1155-SMI.mib --level=6 -k -f python ./RFC1212.mib | libsmi2pysnmp &amp;gt; ./RFC1212.py

smidump -p ./RFC1155-SMI.mib --level=6 -k -f python ./RFC1215.mib | libsmi2pysnmp &amp;gt; ./RFC1215.py

smidump -p ./RFC1212.mib -p ./RFC1155-SMI.mib -p ./RFC1215.mib -p ./RFC1155-SMI.mib -c /etc/smi.conf --level=6 -f python SAATRAP.mib | libsmi2pysnmp &amp;gt; ./SAATRAP.py
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;are respectively:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./RFC1212.mib:9: MACRO definitions are only allowed in SMI base modules
./RFC1212.mib:61: CHOICE type definitions are only allowed in SMI base modules
./RFC1212.mib:74: warning: module name `RFC1212' should match `*-MIB'
./RFC1212.mib:4: warning: identifier `ObjectName' imported from module `RFC1155-SMI' is never used
smidump: module `./RFC1212.mib' contains errors, expect flawed output

./RFC1215.mib:7: MACRO definitions are only allowed in SMI base modules
./RFC1215.mib:34: warning: module name `RFC1215' should match `*-MIB'
./RFC1215.mib:4: warning: identifier `ObjectName' imported from module `RFC1155-SMI' is never used
smidump: module `./RFC1215.mib' contains errors, expect flawed output

SAATRAP.mib:134: warning: module name `SAATRAP' should match `*-MIB'
SAATRAP.mib:96: warning: implicit node definition
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but each python output file contains information that looks correct as far as I can tell since I do not have much experience with this. &lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 15:30:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174528#M16818</guid>
      <dc:creator>kumor</dc:creator>
      <dc:date>2015-01-12T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174529#M16819</link>
      <description>&lt;P&gt;Are there any news regarding this problem?&lt;/P&gt;

&lt;P&gt;I still have similar issues. &lt;/P&gt;

&lt;P&gt;@kumor, is it possible that you post the saatrap.py?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 12:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174529#M16819</guid>
      <dc:creator>krusty</dc:creator>
      <dc:date>2015-01-15T12:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174530#M16820</link>
      <description>&lt;P&gt;Unfortunately I have not had much time to work on this, but here's a link to my SAATRAP.py file after removing the hyphen from RFC1212.mib and RFC1215.mib.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://s3.amazonaws.com/nex-public-temp/saatrap/SAATRAP.py"&gt;https://s3.amazonaws.com/nex-public-temp/saatrap/SAATRAP.py&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 15:16:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174530#M16820</guid>
      <dc:creator>kumor</dc:creator>
      <dc:date>2015-01-15T15:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174531#M16821</link>
      <description>&lt;P&gt;Thanks kumor,&lt;/P&gt;

&lt;P&gt;I compare your SAATRAP.py with mine. &lt;BR /&gt;
Both are absolutly equal to each other. &lt;/P&gt;

&lt;P&gt;@Damien, have you any idea how we can proceed with this issue?&lt;/P&gt;

&lt;P&gt;Only for you Information.&lt;BR /&gt;
I downloaded the RFC-1212 MIB and save it with the filename RFC-1212.txt. Then I executed this command: &lt;CODE&gt;smidump -k -f python RFC-1212.txt | libsmi2pysnmp &amp;gt; RFC-1212.py&lt;/CODE&gt; without any Errors. I try to Import this into my Inputs.conf file. The result is, that I've got this error message in splunkd.log.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01-16-2015 13:53:00.477 +0100 ERROR ExecProcessor - message from "python /splunk/opt/splunk/etc/apps/snmp_ta/bin/snmp.py" pysnmp.smi.error.SmiError: MIB module "/splunk/opt/splunk/etc/apps/snmp_ta/bin/mibs/SAGTRAP.py" load error: ['Traceback (most recent call last):\n', '  File "/splunk/opt/splunk/etc/apps/snmp_ta/bin/pysnmp-4.2.5-py2.7.egg/pysnmp/smi/builder.py", line 255, in loadModules\n    exec(modData, g)\n', '  File "&amp;lt;string&amp;gt;", line 11, in &amp;lt;module&amp;gt;\n', '  File "/splunk/opt/splunk/etc/apps/snmp_ta/bin/pysnmp-4.2.5-py2.7.egg/pysnmp/smi/builder.py", line 302, in importSymbols\n    \'No module %s loaded at %s\' % (modName, self)\n', 'SmiError: No module RFC-1212 loaded at &amp;lt;pysnmp.smi.builder.MibBuilder instance at 0x7ffe9af00560&amp;gt;\n']
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Where is my mistake?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 13:24:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174531#M16821</guid>
      <dc:creator>krusty</dc:creator>
      <dc:date>2015-01-16T13:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174532#M16822</link>
      <description>&lt;P&gt;Hi any updates on this? I am facing this exact same issue as well&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 03:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174532#M16822</guid>
      <dc:creator>thaddeuslim</dc:creator>
      <dc:date>2018-12-18T03:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174533#M16823</link>
      <description>&lt;P&gt;@thaddeuslim, we found a new solution for this issue. We do not use snmp to get swift traps into splunk anymore. Sorry.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 11:02:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174533#M16823</guid>
      <dc:creator>krusty</dc:creator>
      <dc:date>2018-12-18T11:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP Modular Input: Why am I getting error "No module RFC-1212 loaded" trying to get an mib to work?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174534#M16824</link>
      <description>&lt;P&gt;Hello, can you tell what kind of solution did you find? Because i have the same problem.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 09:45:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SNMP-Modular-Input-Why-am-I-getting-error-quot-No-module-RFC/m-p/174534#M16824</guid>
      <dc:creator>bakdaulet</dc:creator>
      <dc:date>2019-09-10T09:45:49Z</dc:date>
    </item>
  </channel>
</rss>

