Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add monitors and alarm handler #2266

Merged
merged 9 commits into from Feb 28, 2019

Conversation

@tigercl
Copy link
Collaborator

tigercl commented Feb 26, 2019

Add emqx_os_mon module to monitor cpu and memory.
Add emqx_vm_mon module to monitor vm args, and only process_limit now.
Replace alarm_handler with emqx_alarm_handler, we can add any user-defined action to this handler.
Add emqx_logger_handler to logger, so that we could monitor supervisor report and set associated alarm.
Associated with emqx/emqx-management#50

tigercl added 2 commits Feb 26, 2019
@tigercl tigercl added the Benchmark label Feb 27, 2019
etc/emqx.conf Outdated Show resolved Hide resolved
etc/emqx.conf Outdated Show resolved Hide resolved
etc/emqx.conf Outdated Show resolved Hide resolved
etc/emqx.conf Outdated Show resolved Hide resolved
include/emqx.hrl Outdated Show resolved Hide resolved
src/emqx_alarm_handler.erl Outdated Show resolved Hide resolved
src/emqx_alarm_handler.erl Outdated Show resolved Hide resolved
src/emqx_alarm_handler.erl Show resolved Hide resolved
src/emqx_os_mon.erl Outdated Show resolved Hide resolved
test/emqx_alarm_handler_SUITE.erl Outdated Show resolved Hide resolved
tigercl added 4 commits Feb 28, 2019
@turtleDeng turtleDeng merged commit da755b8 into develop Feb 28, 2019
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/travis-ci/push The Travis CI build failed
Details
@terry-xiaoyu terry-xiaoyu deleted the alarm_and_monitor branch Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.