http://jira.hyperic.com/browse/HHQ-4441
If you disable all metrics for a resource from UI (by selecting all metrics and asking to disable the collection), no events are dispatched to agent.
Usually MeasurementCommandsServer.dispatchCommand(...) will get notified about these schedule events. It seems that "unschedule" event is only dispatched if resource itself is deleted.
I guess if user disables all metrics, one would assume that collection of those metrics are also stopped.
Anonymous