<?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: Adding Custom MIBs in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100343#M6950</link>
    <description>&lt;P&gt;Hi Damien, So does that mean currently it does not work if i drop the MIB in the location?&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2013 15:42:55 GMT</pubDate>
    <dc:creator>nandipatisunil</dc:creator>
    <dc:date>2013-10-16T15:42:55Z</dc:date>
    <item>
      <title>Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100338#M6945</link>
      <description>&lt;P&gt;Any updates on this&lt;/P&gt;

&lt;P&gt;"This is all just an interim measure until pysnmp supports plain text MIB files, a development feature in the pipeline for pysnmp. When that feature is ready , all you will have to do is drop the plain text MIB in the SPLUNK_HOME/etc/apps/snmp_ta/bin/mibs and the SNMP Modular Input will do the rest. Watch this space !"&lt;/P&gt;

&lt;P&gt;I am having a rough time converting my custom MIBs to Py and adding them to the egg.&lt;BR /&gt;
I am using Windows 7.  As per the documentation it says i need to have pysnmp to get the utility to convert it.  Is there a way around?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100338#M6945</guid>
      <dc:creator>nandipatisunil</dc:creator>
      <dc:date>2020-09-28T14:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100339#M6946</link>
      <description>&lt;P&gt;As a windows person, this was a very painful process for me. I was able to use the smidump from &lt;A href="http://www.ibr.cs.tu-bs.de/projects/libsmi/download/WIN32/"&gt;Here&lt;/A&gt; to compile the Mib into a python file. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Example:
smidump -f python SYMANTEC-EMAIL-SECURITY.MIB &amp;gt;SYMANTEC-EMAIL-SECURITY.MIB.PY




another Example from nandipatisunil's comments: 
smidump -f python -p &amp;lt;path to="" load_mib_module=""&amp;gt; -p &amp;lt;path to="" load="" another="" mib="" module=""&amp;gt; mymibfile.mib &amp;gt; mymibfile.py
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Oct 2013 21:02:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100339#M6946</guid>
      <dc:creator>MartinMcNutt</dc:creator>
      <dc:date>2013-10-15T21:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100340#M6947</link>
      <description>&lt;P&gt;does this support windows 64 bit?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2013 21:09:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100340#M6947</guid>
      <dc:creator>nandipatisunil</dc:creator>
      <dc:date>2013-10-15T21:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100341#M6948</link>
      <description>&lt;P&gt;32bit / 64bit is not an issue as this util is simply converting the MIB into a python supported file. You will use the utility for 1 second and never use it again unless the MIBs get update.  So make sure you make note of it. &lt;/P&gt;

&lt;P&gt;Once you have the converted MIB you drop it into the MIB folder and configure the data input. When enter the MIB name you have to drop the .py extention. &lt;/P&gt;

&lt;P&gt;Splunk will run python in the background to pull the information. &lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2013 21:13:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100341#M6948</guid>
      <dc:creator>MartinMcNutt</dc:creator>
      <dc:date>2013-10-15T21:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100342#M6949</link>
      <description>&lt;P&gt;General note : as soon as the underlying library (pysnmp) supports plain text MIBS , a work item in the project pipeline , then this need to convert 3rd party MIBs to python modules will go away. You'll just drop in your plain text MIB files and SNMP Mod Input will automatically pick them up and load them in.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 06:41:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100342#M6949</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-10-16T06:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100343#M6950</link>
      <description>&lt;P&gt;Hi Damien, So does that mean currently it does not work if i drop the MIB in the location?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 15:42:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100343#M6950</guid>
      <dc:creator>nandipatisunil</dc:creator>
      <dc:date>2013-10-16T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100344#M6951</link>
      <description>&lt;P&gt;As per the documentation , currently 3rd party MIBs need to be converted to Python modules and dropped in snmp_ta/bin/mibs. In the future you'll be able to bypass this conversion step and just drop in the plain text MIB file.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 18:23:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100344#M6951</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-10-16T18:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100345#M6952</link>
      <description>&lt;P&gt;I downloaded the smidump from suggested link above.  When trying to run the command&lt;/P&gt;

&lt;P&gt;smidump -f python alarms.mib &amp;gt;alarms.mib.py&lt;/P&gt;

&lt;P&gt;getting the following errors&lt;/P&gt;

&lt;P&gt;alarms.mib:5: failed to locate MIB module &lt;CODE&gt;SNMPv2-SMI'&lt;BR /&gt;
alarms.mib:7: failed to locate MIB module&lt;/CODE&gt;RFC1155-SMI'&lt;BR /&gt;
alarms.mib:9: failed to locate MIB module &lt;CODE&gt;RFC-1212'&lt;BR /&gt;
alarms.mib:11: failed to locate MIB module&lt;/CODE&gt;RFC-1215'&lt;BR /&gt;
alarms.mib:1012: unknown type &lt;CODE&gt;IpAddress'&lt;BR /&gt;
 ... &lt;BR /&gt;
alarms.mib:14: unknown object identifier label&lt;/CODE&gt;enterprises'&lt;BR /&gt;
smidump: module `alarms.mib' contains errors, expect flawed output&lt;/P&gt;

&lt;P&gt;I can see all the MIBs at ..\smi\mibs\ietf.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 22:16:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100345#M6952</guid>
      <dc:creator>nandipatisunil</dc:creator>
      <dc:date>2013-10-16T22:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100346#M6953</link>
      <description>&lt;P&gt;When I was working with the Brightmail gateways, I placed all the mibs on the page (about 4-5 of them) and placed them into the BIN folder. &lt;/P&gt;

&lt;P&gt;When I executed the smidump, I didnt have any trouble. &lt;/P&gt;

&lt;P&gt;If this works for you too...let me know and I will update my answer to reflect these changes. &lt;/P&gt;

&lt;P&gt;BTW: Are you able to place a windows Tag on this?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 23:10:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100346#M6953</guid>
      <dc:creator>MartinMcNutt</dc:creator>
      <dc:date>2013-10-16T23:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100347#M6954</link>
      <description>&lt;P&gt;I tried copying the MIBs into the bin folder as suggested, i also created a environment variable SMIPATH to point to my mibs folder where i had the SNMPV2-SMI, RFC1155-SMI, etc.&lt;/P&gt;

&lt;P&gt;But I still am getting the same error messages.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2013 16:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100347#M6954</guid>
      <dc:creator>nandipatisunil</dc:creator>
      <dc:date>2013-10-17T16:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100348#M6955</link>
      <description>&lt;P&gt;finally i did something like this and was able to create the .py file&lt;/P&gt;

&lt;P&gt;smidump -f python -p &lt;PATH to="" load_mib_module=""&gt; -p &lt;PATH to="" load="" another="" mib="" module=""&gt; mymibfile.mib &amp;gt; mymibfile.py&lt;/PATH&gt;&lt;/PATH&gt;&lt;/P&gt;

&lt;P&gt;Now figuring out a way to 'egg' up.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2013 18:56:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100348#M6955</guid>
      <dc:creator>nandipatisunil</dc:creator>
      <dc:date>2013-10-17T18:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100349#M6956</link>
      <description>&lt;P&gt;No need for the egg. Just throw the .py file in the mibs folder and you are ready to go. The latest version removed the *.egg requirement.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2013 19:09:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100349#M6956</guid>
      <dc:creator>MartinMcNutt</dc:creator>
      <dc:date>2013-10-17T19:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100350#M6957</link>
      <description>&lt;P&gt;Thanks Martin.  I threw the .py file in the mibs folder. I mentioned my MIB name in the MIB names column in my SNMP data input settings.  I was expecting the trap data i am receiving on my 162 port to be decrypted to more key value pairs using the definitions in my custom MIB.  however i am still seeing most of the data is still sitting in the message and not getting converted to more keys.  Am i missing something more?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2013 21:12:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100350#M6957</guid>
      <dc:creator>nandipatisunil</dc:creator>
      <dc:date>2013-10-17T21:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom MIBs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100351#M6958</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;Is this still a requirement ? Also, some of the custom MIBs i want to import are with .txt extension. Please let me know. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 12:18:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Adding-Custom-MIBs/m-p/100351#M6958</guid>
      <dc:creator>saurabhkunte</dc:creator>
      <dc:date>2016-05-06T12:18:27Z</dc:date>
    </item>
  </channel>
</rss>

