Check it's working
Make sure everything is working as expected
When you first install the agent, provided there is an internet connection, it should connect automatically. The next step is to make sure it's working correctly. There are two things to check.

Remote shell

The first step is to confirm that it is responding to commands. In the Ardexa Web App, browse to [Devices] and click on the target device. Open the [Remote Shell] tab, enter the following command and click [Run Command]
1
uptime
Copied!
It should respond almost immediately with something like
1
uptime => 0
2
23:33:02 up 22 days, 1:37, 0 users, load average: 0.00, 0.00, 0.00
Copied!
This confirms that the agent's real-time connection to the cloud is running correctly.

Data capture

The agent comes pre-configured with a default command to capture CPU usage. By now it should have captured and logged a few records.
  • Browse to [Searches] -> [New Search]
  • Select data from the drop-down list of Tables
  • Click [Add Filter] and select device = followed by the name of your device from the drop-down
  • Click [GO]
You should see records appear in the table at the bottom of the page. This confirms that the agent has successfully read the configuration file, launched the command, captured the output and sent it to the cloud for processing.
In the next section we will dive into how to configure the agent to RUN and CAPTURE any data you wish.
Last modified 2yr ago
Copy link