I'm getting exactly the same as what you had above any clues as to what im doing wrong?kkoduru wrote:Hi Gurus
I was able to get the ontap sdk and import the template. The first issue I faced was with perl where it complains about "\N" and I had to give the entire path with double-backslashes
use lib "C:\\manage-ontap-sdk-1.6\\lib\\perl\\NetApp"
Now, when i discover the filer, it cannot find any objects with the below message.
This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information.
Upon running in verbose mode, below is the output
+ Running data query [17].
+ Found type = '4 '[script query].
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_queries/query-netapp-ontapsdk-system.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'perl C:\Inetpub\wwwroot\cacti\scripts\netapp-ontapsdk-perf.pl nfiler2.rws.ad.ea.com "xxxx" "xxxx" system index'
+ Executing script query 'perl C:\Inetpub\wwwroot\cacti\scripts\netapp-ontapsdk-perf.pl nfiler2.rws.ad.ea.com "xxxx" "xxxx" system query index'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_queries/query-netapp-ontapsdk-system.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_queries/query-netapp-ontapsdk-system.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_queries/query-netapp-ontapsdk-system.xml'
If i run the script manually, it works just fine returning the information that is expected to see..the lun info etc.
Could you please point me where I am doing wrong?
thanks in advance
KK
Data Query Debug Information
+ Running data query [12].
+ Found type = '4 '[script query].
+ Found data query XML file at '/var/www/html/resource/script_queries/query-netapp-ontapsdk-volume.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'perl /var/www/html/scripts/netapp-ontapsdk-perf.pl **** "*****" "****" volume index'
+ Executing script query 'perl /var/www/html/scripts/netapp-ontapsdk-perf.pl **** "****" "****" volume query index'
+ Found data query XML file at '/var/www/html/resource/script_queries/query-netapp-ontapsdk-volume.xml'
+ Found data query XML file at '/var/www/html/resource/script_queries/query-netapp-ontapsdk-volume.xml'
+ Found data query XML file at '/var/www/html/resource/script_queries/query-netapp-ontapsdk-volume.xml'