We have a hotfix for two bugs that we found in Harvest. If you are using Harvest 1.4.1, please run the hotfix as per the instructions below. If you use older version of Harvest, please first upgrade to 1.4.1, then run the hotfix.
The hotfix will fix:
BUG missing normalization of wafl_block in gb_per_sec (kuddos to @yannb for finding and solving this)
BUG miscalculating link_speed which breaks ethernet port utilization statistics.
1. Copy the file to /tmp/ (or any other folder) on your Harvest server.
2. Stop Harvest
3. Run the file: If Harvest is installed in default location (/opt/netapp-harvest/), simply run in terminal:
If otherwise Harvest is in another location, provide Harvest path as argument, e.g.:
$ ./harvest_hotfix_14100 /home/admin/netapp-harvest/
4. Read the output and see if the update was successful
5. Restart Harvest
The hotfix requires Python 2 or higher and write/execute priviliges in the Harvest directory.
I applied the hot fix to my 3 4.1 installs and fixed all my 9.3P8 missing ethernet stats however we just brought online 4 new 9.4P2 clusters and i have no ethernet stats , other stats seem to work. please advise?
Omg, sorry I was just a little bit lazy, I've typed only Y instead of YES, now working fine:
root@/tmp# ./harvest_hotfix_14100 Couldn't verify Harvest status. Are sure Harvest is stopped? [yes/no]: yes Check Harvest release [1.4.1]. OK. Check source [plugin/cdot-nic-common]. OK. Check source [netapp-worker]. OK. Made backup copies to [/tmp/harvest_1544181049]. Updated [plugin/cdot-nic-common]. Updated [netapp-worker]. Updated changelog [CHANGES.txt]. Patch successful. You can now restart NetApp Harvest.