Feature alarm

* fix resource capture.
* Added enabled flag what resource monitor will be used.