E2E TS: Grafana
Prerequisities
- Dwarfguard 1.0.0+ installed for the Traffic Dashboard test
- Dwarfguard 2.0.0+ installed for the whole test
- Some devices installed (at least 2 Advantech routers, may use emulator)
- More than one midnight passed since the first device registered or daily traffic DB table manually filled in
- Dwarfguard deployment is installed with
--nondeb option or a dwarfg_grafint and dwarfg_inst_pyext commands have been performed.
Steps
- Go to Tools -> Traffic Counter
- Verify that the redirection text is present to the user with Grafana username and password shown
- Verify that the redirection happens shortly (in under 30 seconds)
- Log in to the Grafana
- Check that the Traffic Dashboard is present
- Check that is shows data when a correct time span is selected
- Dwarfguard 2.0.0+ only
- Click on Dashboards
- Select History data
- Check you can see these metrics for the selected device:
- Temperature
- Signal strength
- RAM and FS space
- Check you can see "All device Temperature" graph on top left
- Check you can select a different device