#No data in Harvest after enabling top clients/files

1 messages · Page 1 of 1 (latest)

cosmic magnet
weak fjord
cosmic magnet
#

Bundle uploaded

weak fjord
#

There is a documentation bug - edit /etc/nabox/harvest/user/restperf/9.12.0/custom_volume.yaml and make the VolumeTopClients section look like this - notice the addition of objects and the two children

  - VolumeTopClients:
      # `max_volumes` is the maximum number of volumes to consider for top client metrics. This value is capped at 50, even if a higher number is specified.
      # When enabled, this plugin will collect read/write operations and throughput metrics for the top clients of each volume.
      - schedule:
          - data: 1h  # This value should be a multiple of the poll duration. By default, Harvest will check once an hour to see how many volumes have activity_tracking.state set to on.
      - max_volumes: 5
      - objects:
          - client  # collect read/write operations and throughput metrics for the top clients.
          - file    # collect read/write operations and throughput metrics for the top fil
cosmic magnet
#

Still no data after updating the file, restarting harvest, and waiting at least 5 minutes. New bundle uploaded.

weak fjord
#

Can you try running this against your cluster, replacing user, pass, and ip with your values?

curl --silent --insecure -u$user:$pass 'https://$ip/api/storage/volumes/*/top-metrics/clients'

cosmic magnet
#

This is interesting. There is read/write traffic on the volumes, although minimal. Maybe I need to enable activity tracking on a heavier volume?

weak fjord
#

ah, yes. That makes sense why Harvest did not report metrics - ONTAP did not return any. Yeah, might be worth trying to enable on a heavier volume