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 |
---|---|
/etc/init.d/amagent | This is the location of the initialization script for the agent. |
/var/lib/amagent/ | 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:
|
Note: The agent runs scripts to execute its functions within dynamically created folders with the prefix "execDir".
File Location | Description |
---|---|
/opt/amagent/amagent | This is the agent executable that runs as a service |
Logs (Linux)
All logging goes to the syslog folders. The amagent logs can be viewed with either of these commands:
systemctl status amagent
cat /file/directory/syslog | grep amagent
macOS
For macOS, the Automox Agent files are located as described here:
File Location | Description |
---|---|
/var/tmp/amagent-accesskey.txt | This is the temporary location for the access key during agent installation and startup. |
/var/tmp/installerlog.txt | This is the log containing output and potential errors from actual agent install. |
/Library/LaunchDaemons/com.automox.agent.plist | This is the plist file for Automox Agent daemon process. |
/Library/Application Support/Automox/ | 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:
|
Note: The agent runs scripts to execute its functions within dynamically created folders with the prefix execDir.
File Location | Description |
---|---|
/usr/local/bin/amagent | 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+)
Previous versions of the agent are logged to /var/log/system.log
{grep for 'amagent'}
Windows
For Windows, the Automox Agent is located here:
Note: The Automox agent is a 32-bit application.
File Location | Description | ||
---|---|---|---|
C:\ProgramData\amagent\ | 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. | ||
C:\ProgramData\amagent\amagent.log | This is the amagent log file. | ||
For 32-bit systems | |||
C:\Program Files\Automox\AgentNotifier.exe | The Notifier provides notifications to end users for patch events and restarts. | ||
C:\Program Files\Automox\amagent.exe | 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. | ||
C:\Program Files (x86)\Automox\amagent.exe | 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 (support@automox.com). See also About Language Modes.