I'm looking for commands in either ONTAP or better OnCommand that allow monitoring the AV scanning process?
I.e. for SLA/scaling purposes I would like to monitor:
there is a way to monitor and even alert on at least some counters with Performance Advisor.
To do so, you'll have to set the following option:
dfm options set perfAdvisorShowDiagCounters=Enabled
Afterwards you have to enable collection of the "vscan_stats" and "vscan_server_stats" counters for your controllers
and set the retention (don't keep those too long unless you have enough disk space ;-))
As soon as the collection of those counters has started, you'll be able to build a custom view that visualizes those counters.
This would seem to only be available for machines running i Cluster Mode.
I have wondered for years why there is such a disconnect between new functionality in ONTap and corresponding monitoring capabilities. I assume that most new functionality gets its internal counters exposed either via XML or SNMP interfaces, but DFM (..., ...) has no way to monitor:
1. vscan performance ...
2. deduplication performance (when it runs, how long it runs, how many GB are scanned)
3. reallocation performance (when it scans and when it actually reallocates)
4. vol autosize ... when it runs and when it is close to maxsize... perhaps even better ways of setting thresholds...
Some of these monitoring activities could lead to more automatization of certain more mundane tasks...