Elastic Cloud Gate

AWS Blog

EC2 Windows Monitoring

EC2 Windows Monitoring

EC2 Monitoring is a tool to monitor resources on Windows Server.

AWS EC2 Windows Monitoring

EC2 Monitoring requires installation of Monitoring Agent.

Monitoring Agent requirements:
- Windows Server 2008 or later 64 bit
- .NET 4.5

Installing Agent:

Go to EC2 Monitoring section and from the configuration menu select Download Agent.

Download Monitoring Agent

Unzip file on your Windows Server and run AWSMonitoringService.
This will install Monitoring Agent as Windows Service. When installation is finished, the Authenticator application will open.

Monitoring Agent Authenticator

Enter your Elastic Cloud Gate user and password and click “Verify”.
After successful verification of credentials, Monitoring Agent will try to connect to ECG system to pull configuration.

To schedule update of Monitoring Agent, when installation finished, you have to logout and login back.
After login back you will see that Agent Installer start again. When you click “Yes”, installer will be minimizing to notification area. Click on installer icon and follow wizard to schedule update.

Note: Monitoring Agent is pulling configuration every hour, therefore any configuration changes may take up to an hour to take effect. We recommend creating configuration for EC2 Instance before installing the agent – see next section.

Configurations

Agent Configuration:

To configure agent from the Configuration menu select “Monitoring”.
In the new window, go to “Monitor Actions” tab and click “Create New Action”.

Monitoring Agent Configuration

Enter action name. In addition, you can make the following configurations:

  1. To monitor disk usage, check “Monitor Disk Usage” – this option will send information about total space and free space available on every logical disk on the monitoring Windows every 10 minutes.
  2. System Counters Monitoring – select resource you want to monitor. This will send value of the monitoring resource every 1 minute.
  3. EventLog Monitoring – allows you to specify event log and log level that should be read by agent and send information back to our portal for review by users.
Monitoring Agent Configuration

When you make all configurations, click “Save Action”.
You can create multiple configurations based on your needs.
Action can be modified or delete at any time by selecting “Edit” or “Delete” in the table on the left.

Monitoring Agent Configuration

After creating action(s), switch to “Monitor Templates” tab and click “Create New Template”.

Monitoring Agent Configuration

Enter template name, select action from the drop down list and click “Create”.

Monitoring Agent Configuration

From the EC2 Instances list, check instances you want to associate with template and click “Save Resources”.

You can filter instances by region and AWS account as well as by tag assigned to instance.

Monitoring Agent Configuration

Any given EC2 Instance can be associated with template and action only once.

To modify template from the menu, select “Edit”.
To temporarily suspend monitoring you can select “Suspend”. Please keep in mind that configuration is pulled by agent once every hour so it might take up to one hour before your change takes effect. To resume suspended monitoring from the menu, select “Resume”.

To delete template from the menu, select “Delete”.

Monitoring Agent Configuration

Note: If you are planning to use Agent only for consistent backup, you can create empty action.

Alerts Configuration:

From the Configuration menu, select “Alerts”.
In the new window, go to “Manage Alerts”. From the “Action Type” drop down list select which resource you want to create the alert for and click “New”.

Monitoring Alerts Configuration

Enter all conditions which should trigger the alert and click “Save Alert”.
Over period of – this value specifies how long (in minutes) the condition needs to persist in order to trigger alert. The values range from 5 to 60 minutes – e.g. if you create alert for CPU with condition Greater Then 90 Over period of 5 minutes, this means that alert will be trigger if the average CPU usage over the last 5 minutes was bigger than 90%.

Monitoring Alerts Configuration

To edit or delete alert from the table on the left click “Edit” or “Delete”.

Monitoring Alerts Configuration

To assign alert with instance(s), go to “Manage Templates” tab and click “Create New Template”.

Monitoring Alerts Configuration

Enter template name and email of the user to whom alert notification should be send.
If you want the alert to be sent to multiple emails, you can add them under “Send CC To”, separated with commas. When you are done, click “Create”.

Monitoring Alerts Configuration

To associate or disassociate alert(s) with template you can use arrows under “Alerts” tab.
“Available Alerts” show the list of alerts you created but you didn’t associate with the current template.
“Assigned Alerts” show the list of alerts that are currently associated with the given template.

Monitoring Alerts Configuration

To assign instances to template, switch to EC2 Instances tab and check instance(s) you want to associate with template. After that, click “Save Resources”.
You can filter instances by Account and Region.

Monitoring Alerts Configuration

Note: only instances that are currently set up under monitoring will be accessible on the list.

At any time, you can edit, suspend, resume or delete template by selecting option from the Action menu.

Monitoring Alerts Configuration

Schedule Consistent Snapshot:

To schedule consistent snapshot from the Configuration menu, select Snapshots.
In the new window, go to “Manage Schedulers” and click “Create New Action”.

Schedule Consistent EBS Snapshot

Enter scheduler name as well as time/date when the snapshot of the EBS should be taken.

You can enter (optional):
- description and name of the snapshot
- select description template
- if you want to copy this snapshot to multiple regions check “Copy snapshot to Different Region” and select destination regions from the list
- in addition, you have option to assign custom tags to the snapshot

When done, click “Save Action”.

Schedule Consistent EBS Snapshot

Note: The maintenance of the snapshot needs to be set up under EC2 section, just like regular snapshots.

To associate snapshot schedulers with EBS volume, switch to “Manage Templates” and click “Create New Template”.

Schedule Consistent EBS Snapshot

Enter template name and click “Create”.

Schedule Consistent EBS Snapshot

To associate or disassociate action(s) with template you can use arrows under “Actions” tab.
“Available Actions” show the list of actions you created but you didn’t associate with the current template.
“Assigned Actions” show list of actions that are currently associated with the given template.

Schedule Consistent EBS Snapshot

To assign volume to template, switch to EBS Volumes tab and check volume(s) you want to associate with template. After that, click “Save Resources”.

Schedule Consistent EBS Snapshot

Note: Only EBS volume(s) associated with the instances that are currently set up under monitoring will be accessible on the list.

UI

Monitoring Panel

Monitoring panel allows you to take a quick look at current status of up to 4 instances.
To add instance to monitor panel, drag instance from the left hand side list and drop it to panel.

AWS EC2 Windows Monitoring

Alerts

The list of alerts that occurred within last 10 minutes can be found on the right hand side.

List Tab

AWS EC2 Monitoring

On the List tab, you will see all instances that you configured under monitoring. For each instance you can select the following options form the menu:

Monitoring Service

Monitoring service allows you to select Windows Service that you want to monitor. If agent detects that selected service is not running, it will attempt to start it.
To select services you want to monitor, switch to List tab and under given instance from the menu select “Monitor Services”. On the bottom of the list check services you want to monitor.
In the top table you will see the list of services that stopped running.

AWS EC2 Monitoring Windows Services

Counters Performance

This option will show you the chart for selected counter from selected period of time.

AWS EC2 Monitoring Chart

Disk Usage

It shows current disk usage along with average grow. Using this feature, you will be able to estimate when you need to expend your EBS volume.

AWS EC2 Monitoring EBS Free Space

Alert

This option will show all alerts that are currently active regardless when the first occurrence happened.

AWS EC2 Monitoring Alerts

EventLog

This option lists records from Windows EventLog per your configuration.

AWS EC2 Monitoring Windows EventLog

Remove

This option allows you to quickly remove given instance from monitoring. It will remove selected instance from all configurations.

, ,

Leave a Reply