<?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 query fan information for monitoring? (NETAPP 8.1.2) in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-fan-information-for-monitoring-NETAPP-8-1-2/m-p/114068#M1702</link>
    <description>&lt;P&gt;For clustered Data ONTAP (8.3.1) you'll need to invoke the "environment-sensors-get-iter" API and specify a sensor type of "fan". &amp;nbsp;Here is an example using PowerShell:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$fans = Invoke-NcSystemApi '&amp;lt;environment-sensors-get-iter&amp;gt;&amp;lt;sensor-type&amp;gt;fan&amp;lt;/sensor-type&amp;gt;&amp;lt;/environment-sensors-get-iter&amp;gt;'
$fans.results.'attributes-list'.'environment-sensors-info' | ?{ $_.'threshold-sensor-state' -ne "normal" }&lt;/PRE&gt;&lt;P&gt;I can't find an API for 7-mode, so you may have to use SNMP. &amp;nbsp;There is a large number of Nagios examples &lt;A href="https://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/NetApp" target="_self"&gt;on their site&lt;/A&gt;, which is a mixed bag of SNMP and API based checks and may be a good template to get started with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Wed, 23 Dec 2015 14:36:38 GMT</pubDate>
    <dc:creator>asulliva</dc:creator>
    <dc:date>2015-12-23T14:36:38Z</dc:date>
    <item>
      <title>How to query fan information for monitoring? (NETAPP 8.1.2)</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-fan-information-for-monitoring-NETAPP-8-1-2/m-p/114058#M1700</link>
      <description>&lt;P&gt;I want to make a perl or pyhton programm for nagios that can query the fan information from the netapp. I tried a normal SNMP walk and was able to get the information with the number .1.3.6.1.4.1.789.1.21.1.2.1.62&lt;/P&gt;&lt;P&gt;So I downloaded the SDK but there is no sample to get the fan info. My other idea is to write a bash script with a simple snmpwalk but I have read that you should prefer the SDK way because of the performance.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:26:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-fan-information-for-monitoring-NETAPP-8-1-2/m-p/114058#M1700</guid>
      <dc:creator>bernhards</dc:creator>
      <dc:date>2025-06-04T22:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to query fan information for monitoring? (NETAPP 8.1.2)</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-fan-information-for-monitoring-NETAPP-8-1-2/m-p/114068#M1702</link>
      <description>&lt;P&gt;For clustered Data ONTAP (8.3.1) you'll need to invoke the "environment-sensors-get-iter" API and specify a sensor type of "fan". &amp;nbsp;Here is an example using PowerShell:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$fans = Invoke-NcSystemApi '&amp;lt;environment-sensors-get-iter&amp;gt;&amp;lt;sensor-type&amp;gt;fan&amp;lt;/sensor-type&amp;gt;&amp;lt;/environment-sensors-get-iter&amp;gt;'
$fans.results.'attributes-list'.'environment-sensors-info' | ?{ $_.'threshold-sensor-state' -ne "normal" }&lt;/PRE&gt;&lt;P&gt;I can't find an API for 7-mode, so you may have to use SNMP. &amp;nbsp;There is a large number of Nagios examples &lt;A href="https://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/NetApp" target="_self"&gt;on their site&lt;/A&gt;, which is a mixed bag of SNMP and API based checks and may be a good template to get started with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 14:36:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-fan-information-for-monitoring-NETAPP-8-1-2/m-p/114068#M1702</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2015-12-23T14:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to query fan information for monitoring? (NETAPP 8.1.2)</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-fan-information-for-monitoring-NETAPP-8-1-2/m-p/114072#M1704</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your hint. I already tried 3 netapp plugins but unfortunataly they didn't work. I looked the nagios exchange and found &lt;A href="https://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/NetApp/Check-Netapp-NG/details" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;plugin.&lt;/P&gt;&lt;P&gt;It does work very well even if it should be for nagios 3. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Bernhard&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 15:17:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-fan-information-for-monitoring-NETAPP-8-1-2/m-p/114072#M1704</guid>
      <dc:creator>bernhards</dc:creator>
      <dc:date>2015-12-23T15:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to query fan information for monitoring? (NETAPP 8.1.2)</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-fan-information-for-monitoring-NETAPP-8-1-2/m-p/114073#M1705</link>
      <description>&lt;P&gt;If it works, use it! &amp;nbsp;There's no real harm in using SNMP unless you're doing many, many queries simultaneously,&amp;nbsp;which will result in a&amp;nbsp;spike in CPU utilization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 15:21:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-query-fan-information-for-monitoring-NETAPP-8-1-2/m-p/114073#M1705</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2015-12-23T15:21:38Z</dc:date>
    </item>
  </channel>
</rss>

