<?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: Error on maclookup command -- netaddr not found. in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487022#M59901</link>
    <description>&lt;P&gt;We have the same issue. I think the problem is, that the TA is not designed to fail in a safe way.  The error you see in the ui is rather generic. &lt;/P&gt;

&lt;P&gt;You can easily change the behaviour by editing the maclookup.py file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        except Exception as e:
            logger.error( 'failed to use the netaddr module!' )

            #splunk.Intersplunk.generateErrorResults(': failed to use the netaddr module!')
            #exit()

            line['vendor']="not found"
            line['maclookup_error']=str(e)
            list.append(line)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will get a hint about the error in the maclookup_error field, if the lookup is not succesful in offline mode.&lt;BR /&gt;
@MuS: You wouldn't happen to have time to change the behaviour?&lt;/P&gt;

&lt;P&gt;Regards &lt;BR /&gt;
Chris&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 13:17:39 GMT</pubDate>
    <dc:creator>chris</dc:creator>
    <dc:date>2019-11-12T13:17:39Z</dc:date>
    <item>
      <title>Error on maclookup command -- netaddr not found.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487021#M59900</link>
      <description>&lt;P&gt;Trying to use the maclookup command offline and getting the error:&lt;BR /&gt;
command="maclookup",: failed to use the netaddr module!&lt;BR /&gt;
Using version 2.5.2 to TA-maclookup on splunk 7.2.5.1.  Have installed the python netaddr module on the system python and have rebooted, still not working.  Works in online mode, but that's not a long-term solution that will work in our enviornment.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 14:55:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487021#M59900</guid>
      <dc:creator>nysdanharrison</dc:creator>
      <dc:date>2019-09-17T14:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error on maclookup command -- netaddr not found.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487022#M59901</link>
      <description>&lt;P&gt;We have the same issue. I think the problem is, that the TA is not designed to fail in a safe way.  The error you see in the ui is rather generic. &lt;/P&gt;

&lt;P&gt;You can easily change the behaviour by editing the maclookup.py file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        except Exception as e:
            logger.error( 'failed to use the netaddr module!' )

            #splunk.Intersplunk.generateErrorResults(': failed to use the netaddr module!')
            #exit()

            line['vendor']="not found"
            line['maclookup_error']=str(e)
            list.append(line)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will get a hint about the error in the maclookup_error field, if the lookup is not succesful in offline mode.&lt;BR /&gt;
@MuS: You wouldn't happen to have time to change the behaviour?&lt;/P&gt;

&lt;P&gt;Regards &lt;BR /&gt;
Chris&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 13:17:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487022#M59901</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2019-11-12T13:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error on maclookup command -- netaddr not found.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487023#M59902</link>
      <description>&lt;P&gt;Sorry I missed that question in the first place &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I will have a look today &lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 19:19:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487023#M59902</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-11-12T19:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error on maclookup command -- netaddr not found.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487024#M59903</link>
      <description>&lt;P&gt;Updated version on &lt;A href="https://github.com/M-u-S/TA-maclookup"&gt;https://github.com/M-u-S/TA-maclookup&lt;/A&gt; available, apps.splunk.com will take a few hours/days &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 22:21:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487024#M59903</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-11-12T22:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error on maclookup command -- netaddr not found.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487025#M59904</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 05:49:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-on-maclookup-command-netaddr-not-found/m-p/487025#M59904</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2019-11-19T05:49:24Z</dc:date>
    </item>
  </channel>
</rss>

