<?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 Connect-NaController using some odd API calls in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Connect-NaController-using-some-odd-API-calls/m-p/15817#M832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does Connect-Nacontroller do when it connects to a filer?&amp;nbsp; I can see two Access Denied warnings in the Syslog for -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;api-ems-autosupport-log&lt;/LI&gt;&lt;LI&gt;api-file-truncate-file&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a monitoring script that HAS to run with a read-only user and I'm very reluctant to grant it these APIs.&amp;nbsp; So can anyone tell me why they are required?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:36:31 GMT</pubDate>
    <dc:creator>GINOLARD99</dc:creator>
    <dc:date>2025-06-05T05:36:31Z</dc:date>
    <item>
      <title>Connect-NaController using some odd API calls</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Connect-NaController-using-some-odd-API-calls/m-p/15817#M832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does Connect-Nacontroller do when it connects to a filer?&amp;nbsp; I can see two Access Denied warnings in the Syslog for -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;api-ems-autosupport-log&lt;/LI&gt;&lt;LI&gt;api-file-truncate-file&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a monitoring script that HAS to run with a read-only user and I'm very reluctant to grant it these APIs.&amp;nbsp; So can anyone tell me why they are required?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:36:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Connect-NaController-using-some-odd-API-calls/m-p/15817#M832</guid>
      <dc:creator>GINOLARD99</dc:creator>
      <dc:date>2025-06-05T05:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Connect-NaController using some odd API calls</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Connect-NaController-using-some-odd-API-calls/m-p/15821#M833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cmdlet does a myriad of things, but those two specifically look to be around usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first API posts a message to the EMS log which you should also see in the messages file. It'll look something like: -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Wed May&amp;nbsp; 7 17:14:46 BST [app.log.info:info]: : Data ONTAP PowerShell Toolkit 2.4: (1) usage: 0000202200000020010c000000000030800500001000204041002804620082a8780b09c8022000000006189205421000000000121102000017410800008310000000013100040000::::::::::::::&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cmdlet then updates a file named /etc/powershell which also tracks usage. It does this by first reading the contents, truncating the file to zero and then writing the updated contents back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot find anything that would allow you change this behaviour, but someone else may know more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 17:02:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Connect-NaController-using-some-odd-API-calls/m-p/15821#M833</guid>
      <dc:creator>warrenb</dc:creator>
      <dc:date>2014-05-07T17:02:54Z</dc:date>
    </item>
  </channel>
</rss>

