<?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 SNMP trap to notify when volume has been added/destroyed in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/SNMP-trap-to-notify-when-volume-has-been-added-destroyed/m-p/40359#M9607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I add an SNMP trap to send a notification whenever a volume is created or removed? Which OID and Edge 1 values should I use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 07:21:38 GMT</pubDate>
    <dc:creator>jay_levan</dc:creator>
    <dc:date>2025-06-05T07:21:38Z</dc:date>
    <item>
      <title>SNMP trap to notify when volume has been added/destroyed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/SNMP-trap-to-notify-when-volume-has-been-added-destroyed/m-p/40359#M9607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I add an SNMP trap to send a notification whenever a volume is created or removed? Which OID and Edge 1 values should I use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:21:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/SNMP-trap-to-notify-when-volume-has-been-added-destroyed/m-p/40359#M9607</guid>
      <dc:creator>jay_levan</dc:creator>
      <dc:date>2025-06-05T07:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP trap to notify when volume has been added/destroyed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/SNMP-trap-to-notify-when-volume-has-been-added-destroyed/m-p/40364#M9609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jay Levan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to create one trap which will be triggered when you&lt;/P&gt;&lt;P&gt;either create or delete a volume. The volNumber object can be used for&lt;/P&gt;&lt;P&gt;this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name: volNumber&lt;/P&gt;&lt;P&gt;Type: OBJECT-TYPE&lt;/P&gt;&lt;P&gt;OID: 1.3.6.1.4.1.789.1.5.9&lt;/P&gt;&lt;P&gt;Full path:&lt;/P&gt;&lt;P&gt;iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).netapp(789).n&lt;/P&gt;&lt;P&gt;etapp1(1).filesys(5).volNumber(9)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a sample trap @ my ONTAP. Here goes the details :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filer&amp;gt; snmp traps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   volumeCreatedOrDestroyed&lt;/P&gt;&lt;P&gt;       priority = notification&lt;/P&gt;&lt;P&gt;       active = on&lt;/P&gt;&lt;P&gt;       OID = snmp.1.3.6.1.4.1.789.1.5.9.0&lt;/P&gt;&lt;P&gt;       trigger = change-trigger&lt;/P&gt;&lt;P&gt;       interval = 10&lt;/P&gt;&lt;P&gt;       edge-1 = 1 (up)&lt;/P&gt;&lt;P&gt;       current-value = 98&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filer&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current-value is automatically populated and you don't need to worry&lt;/P&gt;&lt;P&gt;about it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you receive this trap @ trap receiver, you can look at the&lt;/P&gt;&lt;P&gt;volNumber value. With respect to old value, if you see an increment&lt;/P&gt;&lt;P&gt;there, you can consider it as volume creation operation. If there is a&lt;/P&gt;&lt;P&gt;decrement, then it should be a volume deletion operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking for 2 different traps, one for Volume added and the&lt;/P&gt;&lt;P&gt;other for Volume destroyed, I don't know how to achieve that as of now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saravanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 09:49:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/SNMP-trap-to-notify-when-volume-has-been-added-destroyed/m-p/40364#M9609</guid>
      <dc:creator>msaravan</dc:creator>
      <dc:date>2009-11-13T09:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP trap to notify when volume has been added/destroyed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/SNMP-trap-to-notify-when-volume-has-been-added-destroyed/m-p/40371#M9612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to get a little more greedy ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an equivelant trap that can send the name of the volume that changed? I tried using&lt;/P&gt;&lt;PRE&gt;snmp.1.3.6.1.4.1.789.1.5.8.1.2 &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;but keep getting&lt;/SPAN&gt; "Error--var spec couldn't be retrieved from database"&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 13:59:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/SNMP-trap-to-notify-when-volume-has-been-added-destroyed/m-p/40371#M9612</guid>
      <dc:creator>jay_levan</dc:creator>
      <dc:date>2009-11-13T13:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP trap to notify when volume has been added/destroyed</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/SNMP-trap-to-notify-when-volume-has-been-added-destroyed/m-p/40376#M9614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Object snmp.1.3.6.1.4.1.789.1.5.8.1.2 is a tabular object. To get the right value, you need to pass the index to the mib object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: &lt;/P&gt;&lt;P&gt;&lt;A href="root@lnx186-92 ~" target="_blank"&gt;&lt;/A&gt;# snmpget -v 1 -c public 10.72.xxx.xx .1.3.6.1.4.1.789.1.5.9.0&lt;/P&gt;&lt;P&gt;enterprises.789.1.5.9.0 = 98  &amp;lt;== volNumer ==&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="root@lnx186-92 ~" target="_blank"&gt;&lt;/A&gt;#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="root@lnx186-92 ~" target="_blank"&gt;&lt;/A&gt;# snmpget -v 1 -c public 10.72.xxx.xx .1.3.6.1.4.1.789.1.5.8.1.2.98&lt;/P&gt;&lt;P&gt;enterprises.789.1.5.8.1.2.98 = "vol6" &amp;lt;== volName ==&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="root@lnx186-92 ~" target="_blank"&gt;&lt;/A&gt;#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, vol6 is the new volume I created which has the last index 98. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On your equivalent trap question : I'll explore it more this weekend and let you know if I get any useful information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saravanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 11:06:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/SNMP-trap-to-notify-when-volume-has-been-added-destroyed/m-p/40376#M9614</guid>
      <dc:creator>msaravan</dc:creator>
      <dc:date>2009-11-14T11:06:31Z</dc:date>
    </item>
  </channel>
</rss>

