Metric Definitions
Purpose
Add metric definitions in XML and JSON format to RuBAN 6 so as to be able to save incoming data to the database and display metrics in the dashboard drop-down menus.
Note: This will soon be replaced with a tool in the RuBAN GUI.
Prerequisites
- RuBAN 6 machine with a working internet connection.
- SSH access to above mentioned RuBAN machine.
Instructions
Step 1:
Logon to your RuBAN machine with SSH.
Step 2:
Download the metric definitions bash script and token file:
curl -LO http://dev.davranetworks.com/downloads/metric_definitions.sh
Step 3:
Update the file permissions:
chmod 755 metric_definitions.sh
Step 4:
Update token.sh with appropriate token from your RuBAN token management page: http://<ruban ip>/eem/eem.html#view=Admin§ion=9
Step 5:
Run the file:
./metric_definitions.sh
Done!