This tutorial tells you how to detect a change on the system and trigger an action in order to automate monitoring of your device fleet and how to visualize your operational KPI with the dashboard.
The first section introduces a use case which has been defined for embedded application tutorial like for the HL8518-S. If you use a different application, don’t worry as you can adapt the rules and the dashboard to your own use case.
To exploit data from the fleet, organisations often choose to define a custom dashboard in AirVantage, with visual widgets and alerts.
To put the dashboard tutorial on this page in context, imagine the following use case:
For a fleet of refrigerated trucks, containers must be monitored via AirVantage to ensure that temperature-sensitive perishable cargo (blood, chilled food…) remains within safety parameters
Every two days, the fan is physically checked by a maintenance engineer.
Each truck is fitted with a device that sends the following data to AirVantage:
And AirVantage must be able to send the following Commands to the truck’s device:
Rules must be created to detect any change about your system and automate action when a given change has been detected. Thus you can highlight a specific behavior of your system and fix the problem.
A rule musst contain a name, a list of conditions and a list of actions to trigger like notify a user by email, act on the system or push the alert to your application.
Thus the following rules can be defined:
In order to simplify the creation of a rule, a set of templates is available to focus on what you want to monitor. If you want to use any of the available data and operator, choose Custom
:
Let’s create the following rule If temp > 0 then send command startFan
:
Data sent to AirVantage
templateTemperature
datais greater than
and fill the right valueSend Command
and select the startFan commandThis rule will create a Send Command operation which will be executed as soon as the device will be connected with AirVantage.
You can proceed like this for each rule.
The command will not be sent again when the conditions are no longer met. However, the
Add label
action will remove the label when the conditions are no longer met.
Each rule will raise an event (an alert) each time the condition is met. The event can be view in 3 pages:
In the top bar, a quick notification when an event has been raised. By clicking on an event, you can see more details about this event.
In the table in Monitor > Systems, the systems are identified in error if a problem has been detected by a rule as long as the problem is still raised.
In Monitor > Alerts, all the current alerts are listed for troubleshooting. If you click on an alert, a dialog box shows you the details of the alert.
Now that you can detect systems change, you may want to have a single dashboard to show KPI about your fleet and drill down to a system’s dashboard.
Here the way to define a dashboard for a system:
You can customize your fleet dashboard:
- Click on the top left icon
- Proceed like for the system dashboard. By default, the widget will show the data aggregated for all the fleet but you can select a specific system.
This dashboard contains the following widgets:
Next Step Once your system communicates correctly with AirVantage and data values can be browsed and displayed, you may want to get them in your specific application. Have a look to our AirVantage API to learn how to use these API to build powerfull application for your customer.