This application reports machine load data obtained via uptime
and alerts if 2 min. average load exceeds defined threshold.
You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorycd load-monitor
yarn install
yarn start
- Visit your app at http://localhost:4200.
yarn test
server/src/load-monitor
Responsible for runninguptime Task
and reporting results (Test file:server/test/load.monitor.test.js
)server/lib/cmds/uptime
Executesuptime
on the machineapp/components/load-monitor-component
Component responsible for rendering the updates for load.app/mixins/web-socket-enabled
Mixin to enable web socket updatesapp/util/line-chart
d3 line chart implementation