E2E TS: Agent profile assignment and update
Prerequisities
- Version 0.8 deployment with at least two devices registered and running
Steps
- Check actual value of device regular push interval (
g_time_reg
in /opt/adwarfg/settings.ini
)
- The value must be equal to the Regular interval in the assigned agent profile (DEFAULT profile unless changed)
- The default value is 260
- Go to selected device details
- Switch Agent profile to FASTEST
- Wait until device connects to server (you may expedite this via UI or stop/start agent)
- Verify the
g_time_reg
is changed to 60 (and agent provides data to server every 40 seconds)
- Open Agent profiles
- Click on Edit button to edit the FASTEST profile
- Enter a different number instead of the default 60 (e.g. 40)
- Click on Save
- Wait for another device data push (or expedite it)
- Verify the
g_time_reg
on agent is now set to the tested value (40)
- Go to Devices
- Select all devices
- Use mass action Assign Agent Profile to assign the SLOWEST agent profile to all devices.
- Wait for devices next datapush (or expedite)
- Verify that selected devices has
g_time_reg
set to the correct value (86400 unless updated from the default to another value)