Performance data collection issue with ONTAP 9.3

I have added a Netapp FAS8040 running ONTAP 9.3. All the configuration is shown, but no performance or capacity information is displayed.

The error log shows:

[stor2rrd@<server> logs]$ tail -30 error.log-JH_Netapp
/tmp/TphVRso5vU.xml:4: parser error : Extra content at the end of the document
ason><vserver>ST-JH-NAS-SVM03</vserver></volume-error></volume-errors></results>
                                                                               ^
ERROR Tue Jan  7 04:00:13 2020 naperf.pl: XML parsing error:
mismatched tag at line 4, column 838622, byte 838780 at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187.

/tmp/BUIYqudCIH.xml:4: parser error : Opening and ending tag mismatch: netapp line 3 and results
ason><vserver>ST-JH-NAS-SVM03</vserver></volume-error></volume-errors></results>
                                                                               ^
/tmp/BUIYqudCIH.xml:4: parser error : Extra content at the end of the document
ason><vserver>ST-JH-NAS-SVM03</vserver></volume-error></volume-errors></results>
                                                                               ^
ERROR Tue Jan  7 07:00:19 2020 naperf.pl: XML parsing error:
mismatched tag at line 4, column 838628, byte 838786 at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187.

/tmp/L7WzDPcX6F.xml:4: parser error : Opening and ending tag mismatch: netapp line 3 and results
ason><vserver>ST-JH-NAS-SVM03</vserver></volume-error></volume-errors></results>
                                                                               ^
/tmp/L7WzDPcX6F.xml:4: parser error : Extra content at the end of the document
ason><vserver>ST-JH-NAS-SVM03</vserver></volume-error></volume-errors></results>
                                                                               ^
ERROR Tue Jan  7 08:00:39 2020 naperf.pl: XML parsing error:
mismatched tag at line 4, column 838624, byte 838782 at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187.

/tmp/dhtWx7oKoU.xml:4: parser error : Opening and ending tag mismatch: netapp line 3 and results
ason><vserver>ST-JH-NAS-SVM03</vserver></volume-error></volume-errors></results>
                                                                               ^
/tmp/dhtWx7oKoU.xml:4: parser error : Extra content at the end of the document
ason><vserver>ST-JH-NAS-SVM03</vserver></volume-error></volume-errors></results>
                                                                               ^

The output log shows:
INFO Tue Jan  7 08:30:03 2020 naperf.pl: HOSTNAME: <server>,  STATS PREFIX: 8eb6_,  NETAPP MODE: C-mode
INFO Tue Jan  7 08:30:13 2020 naperf.pl: Statistics collection is being started for sample-id: 8eb6_1578385803
INFO Tue Jan  7 08:30:29 2020 naperf.pl: Statistics collection is being stopped for sample-id: 8eb6_1578384005 (7329 lines collected [readings: 3])
INFO Tue Jan  7 08:30:31 2020 naperf.pl: Statistics sample deleted, for sample-id: 8eb6_1578384005
INFO Tue Jan  7 08:30:31 2020 naperf.pl: Storing latest data to /opt/stor2rrd/data/JH_Netapp/JH_Netapp.cache.file
INFO Tue Jan  7 08:30:31 2020 naperf.pl: Starting to create conf & perf files...


Stor2rrd version is 2.61

Comments

  • Hi,

    1. do you have installed xmllint?
    xmllint --version

    2. send us logs

    Note a short problem description in the text field of the upload form.

    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir

    tar cvhf logs.tar logs tmp/*txt

    gzip -9 logs.tar

    Send us logs.tar.gz via https://upload.stor2rrd.com



  • Hi Pavel,

    I have uploaded the logs as requested.

    # xmllint --version
    xmllint: using libxml version 20901
       compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib Lzma


    Thanks,

    David
  • Hi,

    this will not work, you have to run it every 5 minutes from crontab

    # NetApp FAS : C-mode
    0,30 * * * * /opt/stor2rrd/load_netappperf.sh > /opt/stor2rrd/load_netappperf.out 2>&1

    -->

    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /opt/stor2rrd/load_netappperf.sh > /opt/stor2rrd/load_netappperf.out 2>&1


    same with other storages you will not have correct results running it in different schedulle than 5 minutes

    0,15,30,45 * * * * /opt/stor2rrd/load_vnxperf.sh > /opt/stor2rrd/load_vnxperf.out 2>&1
    0,10,20,30,40,50 * * * * /opt/stor2rrd/load_datadomainperf.sh > /opt/stor2rrd/load_datadomainperf.out 2>&1







  • Hi Pavel,

    Changing the Netapp cron entry to every 5 minutes has worked. I now have performance data being shown.

    The VNX and DataDomain arrays do provide performance and capacity data. I may look at increasing the VNX schedule, but the DataDomains (full DD9800 with lots of mtrees), almost can't complete the data collection when running every 10 minutes.

    One thing that would be potentially useful is Netapp per volume capacity data, so that a volumes capacity can be charted.

    Thanks,
    David
  • Hi,

    ok, DD will work fine with 10 minute schedulle.

    we do not save volume capacity data on any storage we support, might be in the future ..


Sign In or Register to comment.