Goal of this tutorial
Explain host and performance monitoring. AppMon uses Agents to query the data source and monitor your system health. Each Agent, except for the Node.js Agent and Web Server Master Agent, provides CPU, memory, network, and disk metrics for the host that the 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.
Use the AppMon installation and the easyTravel demo application to learn about various AppMon features and functions.
Agent is installed
If you have an Agent installed, it's already delivering host monitoring data. You're all set.
Node.js Agent and Web Server Master Agent don't deliver host monitoring data. If you don't have any other Agents installed on the machine, you have to install additional Host Monitoring Agent.
To access the Host health monitoring dashboard:
- AppMon 2017 May In the Cockpit, expand the Status Overview node, and double-click Infrastructure. The double-click the required server in the list.
- AppMon 2018 Ferbruary In the Server section of the sidebar, click Infrastructure. The double-click the required server in the list.
Agent is not installed
AppMon monitors your database server, backend server, and all other hosts. To install and configure an Agent on a machine, follow these steps:
- Install an Agent.
- Configure this Agent this Agent to connect to your AppMon Server.
- Map this Agent to your System Profile.
- Give Agent some time to gather the data. Open the Host health dashboard, as described above.
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. Visit 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. By default, the Windows Collector service runs as LocalSystem user. This service cannot open remote connections. Change this to a user with permission to open net use connections. See How to Retrieve Performance Metrics with Windows Performance Monitor to learn how.
Schedule the Windows Performance Monitor to run on that Windows Collector service.
- Open the System Profile Preferences dialog box, and select the Monitors item.
- Click Create to create a new Windows Monitor, or open an existing one for editing.
- When creating a new monitor, give it a meaningful name and specify the target hosts. In the Hosts pane, click +, and select the required hosts or/and hostgroups from the list.
- Click Schedule tab.
- Select the Run scheduled radiobutton, and select Every Minute schedule.
- If needed, select Business hours.
- Select the target collector from the Execute on list.
- Save your changes.
In the System Profile Preferences dialog box, click Apply to save and enable the new Windows Performance Monitor.
Monitor Unix systems
To configure a Unix Monitor, follow these basic steps:
- Make sure a collector service is running.
- Schedule the Unix Monitor to run on that collector in the same way, as described above for Windows, but don't close the Scheduled Monitor Editor dialog box.
- Click Monitor tab
- In the Settings pane, set the Method as SSH on all of the machines that you monitor.
- Configure the User and Password settings for SSH to a user with permission to connect to all monitored machines.
- Save and enable the Unix Monitor. AppMon automatically monitors each host that contains an Agent.
See Unix System Monitoring for more information.
Add more hosts to AppMon
- Click Settings > Dynatrace Server > Infrastructure menu.
- At the Host tab click Create.
- In the Add Host dialog box, specify the host parameters. See Infrastructure - Hosts for the parameters description.
Make sure that the host is 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. Find more in the Using Host and Hostgroups for Large System Monitoring tutorial.
Analyze system monitoring data
The data that the Agents capture is available in the Host Health dashboard, as previously shown. These values are also available as regular Measures that you can add to any custom dashboard or configure incidents.