This step-by-step guide explains how to setup and monitor Amazon EC2 Windows VM using CloudMonix.
In this article
1. Monitoring setup
2. Collect, understand and use your data
3. Setup verification and troubleshooting
Did you know?
CloudMonix extends native Amazon EC2 Windows VM monitoring with advanced metrics and features. Default metrics and features may vary depending on the server setup and the selected template. Metrics and features available for the basic Windows Server setup template are provided below. Noteworthy:
- CloudMonix receives data from the installed CloudMonix monitoring agent
- pre-configured metrics: Windows Event Log entries, CPU utilization, free disk space, disk idle time, disk read / write speed, virtual memory in use, free memory, process list, system event logs, system uptime, resource status
- alerts on high CPU utilization, low disk space, low memory, slow disk, instance rebooted and resource outages
- ability to reboot and restart instance using a PowerShell script
a. Run the Setup Wizard in the portal (preferred way):
This article explains how to add resources to CloudMonix via the Setup Wizard.
b. Tweak settings in the Definition tab (optional):
Definition tab for an existing resource can be accessed by clicking the resource's monitoring settings in the performance dashboard:
Definition tab provides optional settings for the resource name, agent, Amazon API key, Amazon region, server id, configuration template and categories:
Configuration Template setting provides pre-defined configuration templates available in CloudMonix by default as well as previously stored custom templates. See predefined templates for Amazon EC2 Windows VM for reference.
c. Manual setup (optional instead of the Setup Wizard route):
Click the Add New button in the top right corner of your dashboard:
Fill in required information in the Definition tab as described in the previous step.
d. Advanced configuration:
Advanced configuration tab provides additional monitoring settings, which are already set as default for most use-cases.
Collect, understand and use your data
Specific Metrics, Templates, Alerts and Automation Actions for Amazon EC2 Windows VM:
Amazon EC2 Windows VM Settings
Diagnostic data points retrieved from the monitored resource are referred to as metrics . CloudMonix provides default templates for the metrics recommended for common configurations. Metrics can be further added, removed or customized in the Metrics tab of the Amazon EC2 Windows VM resource configuration dialog:
CloudMonix features a sophisticated alert engine that allows alerts to be published for very particular conditions pre-defined by a template configuration or custom based on any of the available metrics. Alerts can be further added, removed or customized in the Alerts tab of the Amazon EC2 Windows VM resource configuration dialog:
Actions are automation features that can be configured to fire based on specific conditions or schedule. Actions can be added and configured in the Actions tab of the Amazon EC2 Windows VM resource configuration dialog:
Available actions include the ability to reboot Amazon Windows EC2 VM via PowerShell script, restart a specified Windows Service via Power Shell script and execute custom WebRequest to a specified URL.
Setup verification and troubleshooting
a. Setup verification:
Successful resource setup can be verified by clicking Test button in the resource configuration dialog and visiting the Test Results tab:
b. Troubleshooting monitoring issues:
CloudMonix provides deep insights into resource monitoring issues via the Status Dashboard screen. The screen allows to overview resources that have raised alerts and troubleshoot them by diving into the monitoring logs.
Read the full article on how to use Status Dashboard to diagnose resource monitoring issues.