<?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 perf-threshold-template-attach-objects syntax? in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36165#M7406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The object that is associated with the view&lt;/P&gt;&lt;P&gt;my $xi2 = new NaElement('object-id');&lt;/P&gt;&lt;P&gt;$xi1-&amp;gt;child_add($xi2);&lt;/P&gt;&lt;P&gt;# Identification number (ID) for a DFM object.&lt;/P&gt;&lt;P&gt;$xi2-&amp;gt;child_add_string('obj-id','12974');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;has to replaced by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The object that is associated with the view&lt;/P&gt;&lt;P&gt;# Identification number (ID) for a DFM object.&lt;/P&gt;&lt;P&gt;$xi1-&amp;gt;child_add_string('object-id','12974');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2011 18:25:39 GMT</pubDate>
    <dc:creator>kvishal</dc:creator>
    <dc:date>2011-09-14T18:25:39Z</dc:date>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36108#M7390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having problems using ﻿perf-threshold-template-attach-objects to add an object (volume) to an existing threshold template. I'd like to know if I am doing this wrong (and hosw to fix it), or if there is a problem with the API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the perl API and the code looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my $obj_info = NetAppApi::NaElement-&amp;gt;new("object-info");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $obj_info-&amp;gt;child_add_string("object-id", $volume-&amp;gt;get_id()):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $obj_info-&amp;gt;child_add_string("object-type", 'volume');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my $new_objs = NetAppApi::NaElement-&amp;gt;new("new-objects");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $new_objs-&amp;gt;child_add($obj_info);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my $cmd = NetAppApi::NaElement-&amp;gt;new("perf-threshold-template-attach-objects");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $cmd-&amp;gt;child_add_sting("template-name-or-id", $self-&amp;gt;get_id());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $cmd-&amp;gt;child_add($new_objs);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my $output = $serv-&amp;gt;invoke($cmd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error I get back is 'Extra content at en of the document', so I suspect I'm constructing the cmd incorrectly. Any pointers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The equivalent CLI does work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./dfm perf template attach 2 12974&lt;/P&gt;&lt;P&gt;Attached object to the template&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 2 it the threshold template id and 12974 is a volume object id.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:48:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36108#M7390</guid>
      <dc:creator>chris_algar</dc:creator>
      <dc:date>2025-06-05T06:48:30Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36112#M7392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The XML request sent by the CLI to the dfm server will be logged into audit.log file (in /opt/NTAPdfm/log directory by default). The XML request you have created can be dumped using sprintf member function. Using these two dumps, you should be able to figure out the issue with the perl script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 13:36:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36112#M7392</guid>
      <dc:creator>harish</dc:creator>
      <dc:date>2011-08-09T13:36:04Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36117#M7394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The audit log shows the CLI version as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿ Aug 09 15:01:14 [Unknown:NOTIC]: algarch:API:in:[127.0.0.1]::&amp;lt;perf-threshold-template-attach-bjects&amp;gt;&amp;nbsp; &amp;lt;new-objects&amp;gt;&amp;nbsp; &amp;lt;object-info&amp;gt;&amp;nbsp; &amp;lt;object-is&amp;gt;12974&amp;lt;/object-id&amp;gt;&amp;nbsp; &amp;lt;/object-info&amp;gt;&amp;nbsp; &amp;lt;/new-objects&amp;gt;&amp;nbsp; &amp;lt;template-name-or-id&amp;gt;2&amp;lt;/template-name-or-id&amp;gt; &amp;lt;/perf-threshold-template-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt; Aug 09 15:01:14 [Unknown:NOTIC]: algarch:API:in:[127.0.0.1]::&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12974&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 Aug 09 15:01:14 [perf:NOTIC]: algarch:CMD:in:[127.0.0.1]:perf template attach 2 12974:Attached object to the template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which looks like the same XML I am attempting to send via the API. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But the API call only inserts an error in the audit.log, no indication of what was received is written there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Aug 09 15:13:14 [Unknown:NOTIC]: dfmapi:API:err:[172.24.1.136]::Extra content at the end of the document &lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 14:20:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36117#M7394</guid>
      <dc:creator>chris_algar</dc:creator>
      <dc:date>2011-08-09T14:20:56Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36121#M7396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please dump the XML request you created from the perl script using NaElement-&amp;gt;sprintf() function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 14:25:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36121#M7396</guid>
      <dc:creator>harish</dc:creator>
      <dc:date>2011-08-09T14:25:13Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36125#M7397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;$cmd-&amp;gt;sprintf() returns somthing that looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'&amp;lt;perl-threshold-template-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;template-name-or-id&amp;gt;2&amp;lt;/template-name-or-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-id&amp;gt;12974&amp;lt;/object-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-type&amp;gt;volume&amp;lt;/object-type&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/perf-threshold-template-attach-objects&amp;gt;';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which matches my reading of the API documentation. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 14:44:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36125#M7397</guid>
      <dc:creator>chris_algar</dc:creator>
      <dc:date>2011-08-09T14:44:14Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36130#M7399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From cli:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;perf-threshold-template-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-id&amp;gt;12974&amp;lt;/object-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;template-name-or-id&amp;gt;2&amp;lt;/template-name-or-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/perf-threshold-template-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From perl script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;perl-threshold-template-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;template-name-or-id&amp;gt;2&amp;lt;/template-name-or-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-id&amp;gt;12974&amp;lt;/object-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-type&amp;gt;volume&amp;lt;/object-type&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/perf-threshold-template-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference I see is the extra "object-type" tag in the perl script and the incorrectly spelt first line (perl instead of perf). I changed perl to perf and I am able to attach object to the template. Is the serv (the server object) configured properly? Are you able to execute any other zapi requests using&lt;/P&gt;&lt;P&gt;this serv object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 15:15:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36130#M7399</guid>
      <dc:creator>harish</dc:creator>
      <dc:date>2011-08-09T15:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36134#M7400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The perl instead of perf is just a typo in this web form. It's "perf" in the XML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object-type is optional according to the docs. If I remove it the error does not change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$VAR1 = ' &amp;lt;perf-threshold-template-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;template-name-or-id&amp;gt;2&amp;lt;/template-name-or-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-id&amp;gt;12974&amp;lt;/object-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/perf-threshold-template-attach-objects&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The $serv obect is an NaServer object. It works for many other calls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 15:42:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36134#M7400</guid>
      <dc:creator>chris_algar</dc:creator>
      <dc:date>2011-08-09T15:42:42Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36137#M7401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try using apitest ? Could you try executing your XML through spitest and see, if you get the same error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 16:25:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36137#M7401</guid>
      <dc:creator>kvishal</dc:creator>
      <dc:date>2011-08-09T16:25:13Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36141#M7402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; is apitest applicable to dfm api calls? It works for me against filers, but not against DFM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to use the perf-threshold-template-attach-objects method? Can you validate that it works as documented for the perl API? I'm a bit stuck otherwise and this is blocking dev.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 15:50:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36141#M7402</guid>
      <dc:creator>chris_algar</dc:creator>
      <dc:date>2011-08-12T15:50:41Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36145#M7403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone been able to validate that the documentation and function of this method are correct? The same syntax for perf-threshold-template-detach-objects works ok, so I am still stuck on why perf-threshold-template-attach-objects does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿ Just getting back to the dev of this system and I'm blocked on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 13:01:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36145#M7403</guid>
      <dc:creator>chris_algar</dc:creator>
      <dc:date>2011-09-14T13:01:03Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36151#M7404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;apitest tool also works for DFM API. I tested "perf-threshold-template-attach-objects" ZAPI using apitest and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@lnx186-58 ~]# dfm perf template list&lt;/P&gt;&lt;P&gt;Id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&amp;nbsp;&amp;nbsp;&amp;nbsp; Description&lt;/P&gt;&lt;P&gt;------- ---------------- --------- ----------------------------------------&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmp1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enabled&lt;/P&gt;&lt;P&gt;[root@lnx186-58 ~]# vi file.txt&lt;/P&gt;&lt;P&gt;[root@lnx186-58 ~]# /u/agireesh/apitest -t dfm -h XX.XX.XX.XX -p ******* -f file.txt&lt;/P&gt;&lt;P&gt;Testing: perf-threshold-template-attach-objects(template-name-or-id=2, new-objects=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) Success&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;[root@lnx186-58 ~]# cat file.txt&lt;/P&gt;&lt;P&gt;&amp;lt;perf-threshold-template-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;template-name-or-id&amp;gt;2&amp;lt;/template-name-or-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-id&amp;gt;198&amp;lt;/object-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/perf-threshold-template-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt;[root@lnx186-58 ~]#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be other reason due to that your API is failing. Could you check below things&lt;/P&gt;&lt;P&gt;1. Did you add&amp;nbsp; threshold to template before attaching the objects to template..? If there is no threshold added for template then you cannot add the template to object.&lt;/P&gt;&lt;P&gt;2. You are trying to attach the threshold template to incompatible&amp;nbsp; objects. could you please send the output of "dfm perf threshold list -x" command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gireesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 16:01:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36151#M7404</guid>
      <dc:creator>agireesh</dc:creator>
      <dc:date>2011-09-14T16:01:56Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36156#M7405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you test that script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my $api = new NaElement('perf-threshold-template-attach-objects');&lt;/P&gt;&lt;P&gt;# Name or id of a performance template&lt;/P&gt;&lt;P&gt;$api-&amp;gt;child_add_string('template-name-or-id','2');&lt;/P&gt;&lt;P&gt;# The list of objects to be attached to the template. At least one object should be specified.&lt;/P&gt;&lt;P&gt;my $xi = new NaElement('new-objects');&lt;/P&gt;&lt;P&gt;$api-&amp;gt;child_add($xi);&lt;/P&gt;&lt;P&gt;my $xi1 = new NaElement('object-info');&lt;/P&gt;&lt;P&gt;$xi-&amp;gt;child_add($xi1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The object that is associated with the view&lt;/P&gt;&lt;P&gt;my $xi2 = new NaElement('object-id');&lt;/P&gt;&lt;P&gt;$xi1-&amp;gt;child_add($xi2);&lt;/P&gt;&lt;P&gt;# Identification number (ID) for a DFM object.&lt;/P&gt;&lt;P&gt;$xi2-&amp;gt;child_add_string('obj-id','12974');&lt;/P&gt;&lt;P&gt;# Type of the DFM object. "resource_group" "data_set" "resource_pool" "filer" "vfiler" "volume" "qtree" "lun" "aggregate" "interface"&lt;/P&gt;&lt;P&gt;$xi1-&amp;gt;child_add_string('object-type','volume');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;print 'Calling:\n';&lt;/P&gt;&lt;P&gt;print $api-&amp;gt;sprintf();&lt;/P&gt;&lt;P&gt;my $r = $s-&amp;gt;invoke_elem($api);&lt;/P&gt;&lt;P&gt;if ($r-&amp;gt;results_status() eq 'failed') {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'Error:\n';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print $r-&amp;gt;sprintf();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit 1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;print 'Received:\n';&lt;/P&gt;&lt;P&gt;print $r-&amp;gt;sprintf();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 16:55:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36156#M7405</guid>
      <dc:creator>lagenevoise</dc:creator>
      <dc:date>2011-09-14T16:55:15Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36165#M7406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The object that is associated with the view&lt;/P&gt;&lt;P&gt;my $xi2 = new NaElement('object-id');&lt;/P&gt;&lt;P&gt;$xi1-&amp;gt;child_add($xi2);&lt;/P&gt;&lt;P&gt;# Identification number (ID) for a DFM object.&lt;/P&gt;&lt;P&gt;$xi2-&amp;gt;child_add_string('obj-id','12974');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;has to replaced by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The object that is associated with the view&lt;/P&gt;&lt;P&gt;# Identification number (ID) for a DFM object.&lt;/P&gt;&lt;P&gt;$xi1-&amp;gt;child_add_string('object-id','12974');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 18:25:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36165#M7406</guid>
      <dc:creator>kvishal</dc:creator>
      <dc:date>2011-09-14T18:25:39Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36173#M7408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this moved me past the initial error - Thanks. My initial mistake was $cmd-&amp;gt;invoke($cmd) where $cmd was an NaElement, should have been invoke_elem ! I won't do that again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I get a good return code, but the outcome is not as expected with your code or mine. When I try to add a volume to the template the object that is actualy added is "Global", obj-id 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;volume is a valid object type for the template, and the equivalent dfm cli command does the right thing (adds the volume).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./dfm perf template attach 3 13002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Template Id: 3&lt;/P&gt;&lt;P&gt;Template Name: test_template&lt;/P&gt;&lt;P&gt;Template Status: Enabled&lt;/P&gt;&lt;P&gt;Template Description: test_template&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Threshold Information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Threshold Id: 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Threshold Event Name: test_threshold&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thershold Interval: 300 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Counter Information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Counter Name: nfs_write_ops:volume&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Counter Tyoe: upper&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Counter Unit: per_sec&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Counter Value: 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applied objects:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lnn30oznp1:/lnn30f1v2 (13002)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, using the sample code the output is the same other than:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applied objects:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Global&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sprintf output shows the command to be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling:&lt;/P&gt;&lt;P&gt;&amp;lt;perf-threshold-template-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;template-name-or-id&amp;gt;3&amp;lt;/template-name-or-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;obj-id&amp;gt;13002&amp;lt;/obj-id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;object-type?volume&amp;lt;/object-type&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/new-objects&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/perf-threshold-tempalte-attach-objects&amp;gt;&lt;/P&gt;&lt;P&gt;Received:\n&amp;lt;results status="passed"&amp;gt;&amp;lt;/results&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and running it again tries to add Global again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:\n&amp;lt;result reason="1 (1) is already attatched." status="failed" errno"13115"&amp;gt;&amp;lt;/results&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 15:04:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36173#M7408</guid>
      <dc:creator>chris_algar</dc:creator>
      <dc:date>2011-09-16T15:04:29Z</dc:date>
    </item>
    <item>
      <title>perf-threshold-template-attach-objects syntax?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36177#M7411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; There was one layer of NeElement nesting too deep in both code versions. In your example script $xi2 is not needed. $xi1 are array elements of $x1. I now have a version that works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 09:56:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/perf-threshold-template-attach-objects-syntax/m-p/36177#M7411</guid>
      <dc:creator>chris_algar</dc:creator>
      <dc:date>2011-09-19T09:56:24Z</dc:date>
    </item>
  </channel>
</rss>

