This describes the various files and the respective locations to support the agent, which could potentially be added to a list of trusted items.
The following describes file locations per operating system:
Linux
For Linux, the Automox Agent files are located here:
File Location |
Description |
---|---|
|
This is the location of the initialization script for the agent. |
|
This is the amagent.db database as well as dynamically generated exec folders and scripts for executing the scripts we need for the product to function. |
Note: Sensitive database values are encrypted and obfuscated to enhance the security of our agent.
Note: Only root user and group have read/write permissions. All others are denied access.
Example folder layout:
drwxr-xr-x 7 root root 224 May 10 16:17 . drwxr-xr-x 19 root root 608 May 11 16:03 .. -rw-r--r-- 1 root root 16384 May 10 16:17 amagent.db >drwx------ 3 root root 96 May 8 15:16 execDir118111890 drwx------ 3 root root 96 May 8 14:30 execDir419776156 drwx------ 3 root root 96 May 8 14:40 execDir534130416 drwx------ 3 root root 96 May 8 14:41 execDir993973924 |
Note: The agent runs scripts to execute its functions within dynamically created folders with the prefix "execDir".
File Location |
Description |
---|---|
|
This is the agent executable that runs as a service |
Logs (Linux)
Agent logs are written to
/var/log/amagent/amagent.log
(Agent 35+)Agent command logs are written to
/var/log/amagent/command.log
All logging goes to the amagent folders. The amagent logs can be viewed with any of these commands:
systemctl status amagent
cat /var/log/amagent/amagent.log
- view the contents of amagent.logcat /var/log/amagent/command.log
- view the contents of command.log
cat /var/log/messages | grep amagent
To put the contents of the log into a text file, use one of the following commands:
cat /var/log/amagent/amagent.log &> amagentlog.txt
cat /var/log/amagent/amagent.log | tee amagentlog.txt
macOS
For macOS, the Automox Agent files are located as described here:
File Location |
Description |
---|---|
|
This is the temporary location for the access key during agent installation and startup. |
|
This is the log containing output and potential errors from actual agent install. Note: This requires root permissions. |
|
This is the plist file for Automox Agent daemon process. |
|
This location stores the amagent.db database, the Automox Notifier.app, as well as dynamically generated exec folders and scripts for executing the scripts we need for the product to function. The notifier provides notifications to end users for patch events and restarts. |
Note: Sensitive database values are encrypted and obfuscated to enhance the security of our agent.
Note: Only root user and group have read/write permissions. All others are denied access.
Example folder layout:
drwxrwxrwx 7 root wheel 224 May 10 16:17 . drwxr-xr-x 19 root admin 608 May 11 16:03 .. -rwxrwxrwx 1 root wheel 16384 May 10 16:17 amagent.db drwx------ 3 root wheel 96 May 8 15:16 execDir221989621 drwx------ 3 root wheel 96 May 8 14:30 execDir266587032 drwx------ 3 root wheel 96 May 8 14:40 execDir399049188 drwx------ 3 root wheel 96 May 8 14:41 execDir591069041 |
Note: The agent runs scripts to execute its functions within dynamically created folders with the prefix execDir.
File Location |
Description |
---|---|
|
This is the agent executable that runs as a launch daemon. |
Logs (macOS)
Agent logs are written to /var/log/amagent/amagent.log
(Agent 35+)
Agent command logs are written to /var/log/amagent/command.log
Previous versions of the agent are logged to /var/log/system.log
{grep for 'amagent'}
Software Update restart logs are written to /var/log/amagent/restart.log
or /var/log/amagent/restart.err
(macOS Ventura and later)
Windows
The Automox agent is a 32-bit application.
Agent versions ≥ 40
For Windows systems running Agent versions 40 and later, the supporting files are in the following locations:
File Location |
Description |
---|---|
|
The Automox agent log file location. |
For 32-bit systems |
|
|
All other supporting files are in this directory. This directory requires system or admin privileges for access. |
For 64-bit systems |
|
|
All other supporting files are in this directory. This directory requires system or admin privileges for access. |
Agent versions ≤ 39
For Windows systems running Agent versions 39 and earlier, the supporting files are in the following locations:
File Location |
Description |
---|---|
|
This is the location for the amagent.db database as well as dynamically generated exec folders and scripts for executing the scripts we need for the product to function. |
|
This is the amagent log file. |
For 32-bit systems |
|
|
The Notifier provides notifications to end users for patch events and restarts. |
|
This agent executable runs as a Windows service and is called Automox Agent. |
For 64-bit systems |
|
|
The Notifier provides notifications to end users for patch events and restarts. |
|
This agent executable runs as a Windows service and is called Automox Agent. |
PowerShell
The PowerShell 5.0+ feature called Language Modes generates two files used to detect the current language mode. These files end up blocked, but this does not affect Automox functionality. For a more detailed description of this scenario, contact Automox support. See also About Language Modes.