Capacity info is collected from OCUM and as far as I know inodes used (files) per volume is not tracked, which means Harvest can't pull it either. If you use Quotas then Harvest does pull 'files_used'. If your data is in qtrees then summing them up in Graphite/Grafana, grouped by volume, would give you the volume total file count. A query like this would do it:
If your data is not in qtrees, you or you want to collect it natively, you can use a custom template to add in a counter that shows inodes used "wv_fsinfo_public_inos_used" which contains the current inode count for a volume. To do this follow these steps:
1) Create a new config template that includes this counter:
In case your next question is to show % inodes used or total (potential) inode count for a volume I checked for counters for these but could not find any. To capture these you would be best to use the volume API (Harvest only knows how to use the counter manager API from the conf template) or a shell script of df -i and parse and send these in to Graphite directly.
Hope this helps!
Cheers, Chris Madden
Solution Architect - 3rd Platform - Systems Engineering NetApp EMEA (and author of Harvest)