Setting up infrastructure monitoring

Goal of this tutorial

To explain host and performance monitoring. AppMon uses AppMon Agents to query the data source and monitor your system health. Each AppMon Agent provides CPU, memory, network, and disk metrics for the host that the AppMon Agent runs on.

To monitor more hosts, install an AppMon Host Monitoring Agent on a machine; or simply configure a monitor that queries Windows Performance Counters, Unix system Counters, SNMP, or any other data source.

Scenario

Install AppMon with several deployed AppMon Agents. Use the easyTravel demo application to learn about various AppMon features and functions.

Host monitoring of hosts - AppMon Agent installed

Built-in host monitoring provides all host metrics for you. You're all set.

Host Monitor Main Window
Host Monitor Main Window

Host monitoring of hosts - AppMon Agent not installed

AppMon monitors your database server, backend server, and all other hosts. To configure an Agent on a machine, follow these steps:

  1. Install an AppMon Host Monitoring Agent on a machine.
  2. Configure this Agent to connect to your AppMon Server.
  3. Map this to your System Profile.
  4. After the configuration, you receive host Information.

This data is available in the Host Health dashboard. Access it through the Start Center or in the Transaction Flow, if the host is detected there.

Monitor other system components

Monitor more than just AppMon components. AppMon provides monitors which execute on a scheduled interval, and pull data from different data sources. See Monitors for a full list of out-of-the-box monitors. See FastPacks and Plugins on the Dynatrace Community to download additional monitors.

Monitor Windows systems

See Windows Performance Monitor to query all Windows Performance Counters. To configure a Windows Performance Monitor, follow these steps:

Run a Windows Collector service as a user with the necessary permissions. For more information, see How to Retrieve Performance Metrics with Windows Performance Monitor.

The Windows Collector service runs as LocalSystem user after the default installation. This service cannot open remote connections. Change this to a user with permission to open net use connections.

Schedule the Windows Performance Monitor to run on that Windows Collector service. Choose the default Every Minute schedule.

Go to System Profile > Monitor. Edit the Windows Performance Monitor and choose your Windows Collector service in the Schedule dialog box.

Save and enable the Windows Performance Monitor.

See How to Retrieve Performance Metrics with Windows Performance Monitor for more information.

Monitor Unix systems

To configure a Unix Monitor, follow these basic steps:

  1. Make sure a collector service is running.
  2. Schedule the Unix Monitor to run on that collector. Choose the default Every Minute schedule. This works the same as the Windows Performance Monitor.
  3. Run SSH on all of the machines that you monitor.
  4. Configure the User and Password settings for SSH to a user with permission to connect to all monitored machines.
  5. Save and enable the Unix Monitor. AppMon automatically monitors each host that contains an Agent.

Add other machines

  1. Select the Server item in the Settings menu.
  2. Go to Infrastructure.
  3. Add machines underneath the Host tab. The host must be in the hostgroup for its operating system. For example, a Windows machine must be in the Windows hostgroup and a Linux machine must be in the Linux hostgroup.

See Unix System Monitoring for more information.

Use hosts and hostgroups

If you use Windows Performance Monitor, or something similar, see the Using Host and Hostgroups for Large System Monitoring tutorial.

Analyze system monitoring data

The data that the AppMon Agents capture is available in the Host Monitoring dashboard, as previously shown. These values are also available as regular Measures that you can add to any custom dashboard. You can also add Measures that are captured through Windows, Unix, SNMP or Oracle monitors. After you configure a monitor, and it executes, use the Measures in a chart or to configure incidents.