fix resource capture.
Added enabled flag what resource monitor will be used.
Merge pull request #515 from axsh/feature-metric-alarm

Feature metric alarm
Merge pull request #242 from axsh/feature-alarm

Feature alarm