# FSO Agent Configuration After you [install the FSO agent](https://www.manageengine.com/products/applications_manager/help/fso-agent-installation.html), you configure each agent from its **Agent Configuration** page. From there, you can: - View the details and status of the agent. - Choose the log files that AppLogs collects. - Set up the rules that decide which applications APM Insight monitors. - Restart or disable a capability. - Check the health and data collection of the agent. **Note:** The steps on this page apply to Applications Manager build 182900 and above. For builds before 182900, refer to [Manage FSO agents](https://www.manageengine.com/products/applications_manager/help/manage-agent.html#legacy). Browse the following topics: - [Opening the Agent Configuration page](https://www.manageengine.com/products/applications_manager/help/fso-agent-configuration.html#openConfig) - [Configuring AppLogs](https://www.manageengine.com/products/applications_manager/help/fso-agent-configuration.html#configAppLogs) - [Configuring APM Insight](https://www.manageengine.com/products/applications_manager/help/fso-agent-configuration.html#configApmInsight) - [Capability and agent actions](https://www.manageengine.com/products/applications_manager/help/fso-agent-configuration.html#agentActions) - [Checking agent health](https://www.manageengine.com/products/applications_manager/help/fso-agent-configuration.html#agentHealth) ## Opening the Agent Configuration page 1. Go to **Settings -> Discovery & Data Collection -> FSO Agent**. 2. Open the **View Agents** tab. 3. Click the **Host Name** of the agent. ![View Agents tab listing the deployed agents. Click a host name to open its Agent Configuration page](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-view-agents-actions.webp) ### The Agent Configuration page ![Agent Configuration page showing the agent list, the agent header and the Server Monitor, AppLogs and APM Insight capability cards](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-details-page.webp) The page has the following parts: - **Agent list (left):** Lists every agent with its status icon. Click an agent to switch to it, or use **Search** to find one. Click the collapse button to hide the list and give the page more room. - **Agent header:** Shows the following details. Use the back arrow to return to the **View Agents** tab. - **Host name and status:** The host name of the agent and its status: **Active**, **Idle**, **Down**, or **Disabled**. - **IP Address** and **OS:** The IP address and operating system of the monitored server. - **Version:** The installed agent version. Hover over **?** for a link to the FSO agent download page, where you can check the latest version for your Applications Manager build. - **Created On:** The date and time at which the agent was registered. - **Agent Health** and **Actions:** Open the health of the agent (see [Checking agent health](https://www.manageengine.com/products/applications_manager/help/fso-agent-configuration.html#agentHealth)) and the actions that apply to the whole agent (see [Capability and agent actions](https://www.manageengine.com/products/applications_manager/help/fso-agent-configuration.html#agentActions)). - **Capability cards:** One card for each capability. Each card shows the status of the capability, and the icon next to its name opens the related monitor in a new tab. | Card | What you can do | |---|---| | **Server Monitor** | Always on. Click the icon next to the name to open the server monitor and view its performance and availability metrics. | | **AppLogs** | Shows the number of log profiles configured. Click **Restart** or **Disable**, or expand the card to manage log profiles. The help icon opens the log profile help. | | **APM Insight** | Shows whether application processes are monitored. Click **Restart** or **Disable**, or expand the card to view the discovered processes and create monitoring rules. The help icon opens the APM Insight help. | ## Configuring AppLogs Expand the **AppLogs** card to see when the capability was created, when it was last updated, its version, and the log profiles that apply to this agent. ![AppLogs card expanded showing the log profiles table with the Default Windows Event Log profile and the Add Log Profile button](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-applogs-section.webp) A **log profile** tells AppLogs which log files to collect and which servers they apply to. The table lists each profile with its **Log profile** name, **Log Type**, **Included File(s)**, and **Monitor(s)**. Under **Actions**, click the edit icon to change a profile or the delete icon to remove it. **Note:** Windows agents come with a **Default Windows Event Log** profile. It collects the **Security**, **System**, and **Application** event logs from all Windows servers. ### Adding a log profile 1. In the expanded **AppLogs** card, click **Add Log Profile**. 2. Enter a **Profile Name**. 3. Select the **Log Type**. The **Pattern** box shows how AppLogs reads the lines of that log type. 4. Under **List of files to search for logs**, review the suggested paths and edit them as needed. Click **+** to add a path or the delete icon to remove one. 5. Under **Associate this log profile with**, choose **Monitors**, **Monitor Groups**, or **OS Scope**: - For **Monitors** or **Monitor Groups**, move the required items from the **Available** list to the **Selected** list. - For **OS Scope**, select the **Target Scope**, for example, **Windows**. 6. Optional: Expand **Advanced Configuration** to set **Collect Logs From** (default: **Any Time**) and the **Log Time Zone**. 7. Click **Save**. Log collection starts for the selected servers. ![Add Log Profile panel showing the profile name, log type, pattern and the list of files to search for logs](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-add-log-profile.webp) ![Add Log Profile panel showing the Monitors association with the Available Monitors and Selected Monitors lists and the Advanced Configuration options](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-log-profile-association.webp) To change an existing profile, click the edit icon in the **Actions** column. The **Edit** panel opens with the same fields. ![Edit panel of the Default Windows Event Log profile showing the log type, pattern, file list and the OS Scope target scope](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-edit-log-profile.webp) **Tip:** If your logs match one of the supported formats, Applications Manager creates the log profile for you automatically. For details on log types and patterns, refer to [Add a log profile](https://www.manageengine.com/products/applications_manager/help/add-log-profile.html). You can also manage log profiles for all servers from **Settings -> AppLogs Configuration**. ## Configuring APM Insight Expand the **APM Insight** card to see the application processes that the agent has discovered on the server and which of them are monitored. ![APM Insight card expanded showing the discovered Java processes, the processes monitored count, the Create Rule button and the process table](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-apminsight-section.webp) The card shows the following: - The **Created On** and **Last Updated** dates and the **Version** of the capability. - The number of discovered processes for each technology, for example, **5 Java**. - The number of monitored processes, for example, **1 of 5 processes monitored**. - A table of discovered processes with their **Display Name**, **APM Monitor**, **Command Line**, **Directory**, and **Rule Name**. APM Insight monitors a process only when a **monitoring rule** matches it. The **Rule Name** column shows the rule that matches a process. A process without a matching rule shows a **Create Rule** button. ### Creating a monitoring rule 1. Click **Create Rule**, either above the table or in the row of a process. 2. Enter a **Rule Name**. 3. Optional: Enter a **Custom Application Name**, which is the name shown for the monitored application, and a **Description**. 4. Under **APM Process Monitoring Conditions**, define the processes that the rule matches: - **Condition Parameter:** Command Line, Command, Working Directory, IIS App Pool Name, Technology, or Environment Variable. - **Operator:** Is, Is Not, Contains, Does not contain, Begins with, or Ends with. - **Value:** The text to match. Click **+** to add more conditions. 5. Click **Save**. The matching processes are monitored, and their APM monitor appears in the **APM Monitor** column. ![Add APM Process Monitoring Rule panel showing the rule name, custom application name, description and the monitoring conditions](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-apminsight-rule.webp) **Note:** Monitoring a process needs an APM Insight add-on license for its technology (Java, .NET, Node.js, or Python). For more information on how processes are discovered and matched, refer to [APM Insight auto-profiler](https://www.manageengine.com/products/applications_manager/help/apm-insight-autoprofiler-overview.html). You can also manage rules for all servers from **Settings -> APM Insight Configuration Profile**. ## Capability and agent actions ### Restarting or disabling a capability The **AppLogs** and **APM Insight** cards each have their own **Restart** and **Disable** buttons. These act on that capability only. The agent and the other capabilities keep running. - **Restart:** Restarts the capability, for example, after you change its configuration or if it stops sending data. - **Disable:** Stops the data collection of that capability on the server. Applications Manager asks you for confirmation before it acts. ![Confirmation dialog for restarting a capability](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-restart-capability.webp) To turn on a disabled capability, open the **View Agents** tab, select the agent, and choose **Bulk Actions -> Manage Capabilities -> Enable**. For details, refer to [Managing capabilities after installation](https://www.manageengine.com/products/applications_manager/help/manage-agent.html#manageCapabilities). ### Agent actions Click **Actions** in the agent header for the actions that apply to the whole agent. The same menu is available in each row of the **View Agents** tab. ![Agent Actions menu showing Uninstall, Mark as Uninstalled, Restart, Disable, Delete and Download Agent Logs](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-actions-menu.webp) | Action | Description | |---|---| | **Uninstall** | Removes the agent software from the server but keeps its record in Applications Manager. Supported for Linux agents. | | **Mark as Uninstalled** | Use this action when the agent has been removed from the server manually. It allows the server to register again, for example, after you reinstall the agent. | | **Restart** | Restarts the agent service on the server. Supported for Linux agents. | | **Disable** | Stops monitoring through the agent. Use **Enable** to resume. | | **Delete** | Removes the agent and its collected data from Applications Manager. | | **Download Agent Logs** | Downloads the log files of the agent so that you can troubleshoot it or share them with support. | **Caution:** Deleting an agent removes its collected data, and this action cannot be undone. ## Checking agent health Click **Agent Health** in the agent header. The page has three tabs. To return to the previous page, click **Agent Configuration** at the top. **Note:** By default, the agent sends performance data every 5 minutes. It sends configuration and inventory data every hour or whenever they change, and within 5 minutes after the agent restarts. ### Agent Errors Lists the errors that the agent reported while registering, sending data, or updating its status. - Choose a **Time Range**: **Last hour**, **Last 24 hours**, or **Last 7 days**. - Click the refresh icon to reload the list. - The columns are **Collection Time**, **Request Type**, **Build Number**, and **Error Message**. Most error messages state what to do. For example, if the message says that the agent is already registered with a different key and asks you to use **Mark as Uninstalled**, click **Actions -> Mark as Uninstalled** and let the agent register again. ![Agent Errors tab showing the registration errors reported by an idle agent](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-health-errors.webp) To view the error history of all agents, click **Full Error Report**. It opens the **Agent Error Logs** tab under **Settings -> Discovery & Data Collection -> FSO Agent**. ### Server Data Collection Stats Shows each batch of server data that the agent sent: - **Data Received at** and **Data Collected at** - **Status** - **Request Processing Time (ms)** and **Data Processing Time (ms)** - **Data Transfer Size (KB)** - **Process Type** Click the **Raw Data JSON** icon in a row to view the data that was received. Use the export icon to save the table as a PDF or Excel file. ![Server Data Collection Stats tab listing the batches of server data received from the agent](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-health-server-stats.webp) **Tip:** If **Data Received at** is more than 5 minutes after **Data Collected at**, the row is highlighted. Delayed data usually points to network latency between the server and Applications Manager. ### AppLogs Data Collection Stats Shows each batch of log data that AppLogs sent: - **LogType** - **Data Received at** and **Log Indexed Time** - **Request Processing Time (ms)** - **Log indexed** (Yes or No) - **Log Processing Time (ms)** - **Data Transfer Size (KB)** ![AppLogs Data Collection Stats tab listing the batches of log data received from the agent](https://cdn.manageengine.com/sites/meweb/images/applications_manager/fso-agent-health-applogs-stats.webp) **Note:** The data collection statistics retain the records of the last 2 days. The raw data JSON is retained for 6 hours. ### Related pages - [FSO Agent installation](https://www.manageengine.com/products/applications_manager/help/fso-agent-installation.html) - [Manage FSO agents](https://www.manageengine.com/products/applications_manager/help/manage-agent.html) - [FSO agent troubleshooting](https://www.manageengine.com/products/applications_manager/help/fso-agent-troubleshooting.html)