A tiny React single page app that can be used to monitor Zabbix web scenarios from a single screen.
This is the easiest way to run the node app. Simply run the anttiviljami/zabbix-web-monitoring-screen:latest docker image with your settings
docker run -e ZABBIX_URL=https://zabbix.example.com -e ZABBIX_USER=<user> -e ZABBIX_PASS=<pass> -e ZABBIX_HOST=<hostid> -p 3001:3001 -d anttiviljami/zabbix-web-monitoring-screen
You can now visit http://localhost:3001 to see the app running.
Clone repository and run:
$ npm install
Alternatively, you can deploy your own copy with one click using this button:
node 5+
$ npm start
Go to http://localhost:3001 and see the magic happen.
If you want to run the project in production, set the NODE_ENV
environment variable to production
.
$ NODE_ENV=production npm start
Also build the production bundle:
$ npm run dist
$ npm test
Only run specific tests
$ npm test -- NotFoundComponent
Coverage
$ npm test -- --coverage