<?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: How to add enable password to ShowCollector Python script in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/how-to-add-enable-password-to-showcollector-python-script/m-p/4714688#M858</link>
    <description>&lt;P&gt;that works if the user is already in priv 15 - if not you need to parse the secret to entering enable mode.&lt;/P&gt;
&lt;P&gt;that required tweak in the code with expect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 07:10:37 GMT</pubDate>
    <dc:creator>balaji.bandi</dc:creator>
    <dc:date>2022-11-02T07:10:37Z</dc:date>
    <item>
      <title>How to add enable password to ShowCollector Python script</title>
      <link>https://community.cisco.com/t5/controllers/how-to-add-enable-password-to-showcollector-python-script/m-p/4714476#M857</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I recently found the ShowCollector Python script in the Cisco Code Exchange and am running in to some slight issues with it. I am able to run the script against my list.txt file which has all of the IP addresses with out any issues, but the issue I am running into is that the credentials I have for these devices require me to enter in the enable password, so whenever I run the script, it's not able to run the 'show running-configuration | include hostname' command, so it isn't creating a new file for each switch, it just keeps overwriting the one file because it can't locate the hostname. I don't really know much about Python so am looking for some assistance on adding the enable password to the script. I tried a few different things out but nothing seemed to work because I don't really know what I am doing. Here is a link to the GitHub page that has the script:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/dgancedo/ShowCollector" target="_blank" rel="noopener"&gt;https://github.com/dgancedo/ShowCollector&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 20:55:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/how-to-add-enable-password-to-showcollector-python-script/m-p/4714476#M857</guid>
      <dc:creator>dleboeuf</dc:creator>
      <dc:date>2022-11-01T20:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to add enable password to ShowCollector Python script</title>
      <link>https://community.cisco.com/t5/controllers/how-to-add-enable-password-to-showcollector-python-script/m-p/4714688#M858</link>
      <description>&lt;P&gt;that works if the user is already in priv 15 - if not you need to parse the secret to entering enable mode.&lt;/P&gt;
&lt;P&gt;that required tweak in the code with expect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 07:10:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/how-to-add-enable-password-to-showcollector-python-script/m-p/4714688#M858</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2022-11-02T07:10:37Z</dc:date>
    </item>
  </channel>
</rss>

