#Harvest vscan_scan_engines ipv4/ipv6 -> Grafana

1 messages · Page 1 of 1 (latest)

pearl heath
#

Hi, our scan engines are getting displayed in grafana by their ipv4 IP. But now we have 2 new scan engines who are using Ipv6. Sadly it seems harvest cuts the IPv6 adress on the first : seperator.

Does anyone know how / where to fix this behavior? Thank you.

tired junco
#

@pearl heath We may need to do a code fix for this. Are you using RestPerf or ZapiPerf collector?

#

Could you also share ONTAP version?

pearl heath
#

ZapiPerf

#

9.13.1 will it be by end of this month everywhere.

tired junco
#

Okay. Could you share output of below commands to us via email to ng-harvest-files@netapp.com
Please note that the POLLER (as in harvest config), USERNAME, PASSWORD, URL should be replaced with the appropriate credentials.

bin/harvest zapi -p POLLER show data --object offbox_vscan_server --config harvest.yml > vscan.xml
bin/harvest zapi -p POLLER show data --object offbox_vscan --config harvest.yml > svm_vscan.xml
curl -s -k -u USERNAME:PASSWORD 'https://URL/api/cluster/counter/tables/vscan/rows?fields=*'
curl -s -k -u USERNAME:PASSWORD 'https://URL/api/cluster/counter/tables/svm_vscan/rows?fields=*'
pearl heath
#

sure, will do. Thank you for the fast response.

#

god damnit, i'am with my wishes far ahead. End of month we will use 9.11.1 not 9.13 🙂

tired junco
#

okay np.. in that case Zapi command should work fine. RestPerf calls will fail against 9.11

bin/harvest zapi -p POLLER show data --object offbox_vscan_server --config harvest.yml > vscan.xml
bin/harvest zapi -p POLLER show data --object offbox_vscan --config harvest.yml > svm_vscan.xml
pearl heath
#

yeah it worked, already collecting it

#

but the both curls are failing

tired junco
#

Yes that is expected about curl since those curl will only work with 9.13

pearl heath
#

ah

tired junco
#

ZapiPerf results are good enough for now.

pearl heath
#

ok, i send the 2 files out.

tired junco
#

sure thanks

neat bone
#

thanks for the ZAPI responses @pearl heath they helped us nail down the scanner ipv6 bug. This will be fixed tomorrow once https://github.com/NetApp/harvest/pull/3028 is merged. We'll ping you on this thread when a new nightly build with these changes is available

pearl heath
#

cool. Thank you! 🙂

tired junco
#

Also do update your dashboards via import.