In this article I am going to show you how use Corner Bowl Server Manager's Agent to:
The first step in this process is to configure the Agent Server.
Method | Description |
---|---|
DNS Lookup | The server uses DNS to resolve the hostname. |
DNS and FQDN Lookup | The server uses DNS and Active Directory to resolve the Fully Qualified Domain Name (FQDN). |
Remote IP Address | The server uses the IP address. |
Local Hostname | The client sends its local hostname to server for identification. |
Local FQDN | The client sends its locally resolved FQDN to server for identification. |
Local IP Address | The client sends its local IP address to server for identification. |
Our Event Log Consolidation (Application, Security, System) (Agent) Template requests Event Log Entries then saves them to the Log Database used by Reports such as Success and Failed Logons.
Our Event Log File Backup (Agent) Template requests Event Logs are backed up then uploaded to the Management Server for remote storage. Backed up Event Log Files are compressed then optionally encrypted using FIPS compliant AES.
Both of these templates are flagged within their corresponding properties views as Agent-Based Templates. For detailed information on each template, see the in-application help file.
Next, we need to install the agent on each target host. If the service is running with Domain Administrator credentials and both WMI and Windows Shares technologies are available, the installation is automatic, otherwise you can manually install the agent on each machine.
The first step in this process is to add our servers to the software.
Before we trigger the agent installation, I am going to show you how to monitor the installation within the software. Notice the Service Output Tab in the lower left corner. If we drag and drop this tab to the center of the screen we can see the output in the document view pane. This view displays verbose agent installation output so we can see exactly what is happening.
Now that we have added a host to manage, we need to assign a single agent-based template to the host. Once assigned the software will attempt to install the agent on the remote host within one minute.
If we watch the Service Output, we see the following messages indicating the agent has been successfully installed:
AgentInstallerService: Agent is not installed. Host: Northbowl AgentInstallerService: Uploading installation file... Source: C:\Program Files\Corner Bowl\Server Manager 2022\ServerManagerAgentInstaller.exe Destination: \\Northbowl\C$\WINDOWS\TEMP\ServerManagerAgentInstaller.exe Host: Northbowl AgentInstallerService: Remote executing... File: \\Northbowl\C$\WINDOWS\TEMP\ServerManagerAgentInstaller.exe Host: Northbowl
Once installed, the agent will connect once every minute. Notice, in the screenshot below, we see three different connection sessions defined by the entries below:
Session [39 192.168.0.3] - Connected. Session [39 192.168.0.3] - WinAuthProtocol: Authenticated \anonymous. AgentInstallerService: Remote executing... File: \\Northbowl\C$\WINDOWS\TEMP\ServerManagerAgentInstaller.exe Host: Northbowl Agent Server Object(anonymous): IP: 192.168.0.3 Client Version: 22.0.0.427 Server Version: 22.0.0.427 Agent Server Object: Session started. Remote IP: 192.168.0.3 Host: Northbowl Local FQDN: NorthBowl Local Hostname: NORTHBOWL Local IP Address: 192.168.0.3 Session Count: 1 Agent Server Object(anonymous): Client requesting templates... Host: Northbowl Session [39 192.168.0.3] - The connection was terminated by the remote end point.
Once connected, we can see some information about the client in the Dashboard. To view the Dashboard:
Depending on the options you set for the Host Identification, the host may be added with a different name than the name you previously added. In that scenario the host is added to a group called Agent Devices. To see this in action, delete the host then wait for the agent to re-connect. Once reconnected, you will see a new Agent Server group with the host listed in the group.
If the agent has internet access, the agent automatically updates when a new version becomes available, otherwise, Server Manager attempts to update the agent when a new update becomes available. If WMI or Windows Shares access is unavailable from the host the agent is installed, we can configure Server Manager to ignore the host when updating agents. To disable the automatic installation and updates of a host's agent, open the Host Properties View then de-select the Automatically install option located on the General Tab.
The templates we assigned run hourly and daily respectively. To trigger the templates to run the next time the agent connects we need to queue the execution.
Once the Event Log Consolidation template is complete, we can find the consolidated logs under the Data Providers node.
Once the Event Log File Backup template is complete, we can find the saved logs in output directory.
If a client is not connecting, you can troubleshoot on the client-side by remoting into the server, then opening the agent.log file:
If there is a problem with the target host or other configuration properties you can modify the parameters by opening the configuration file as an administrator in notepad. By default the file is located in:
Last Updated: August 25th, 2024