Amazon counters allow you to view and monitor the status of your Amazon instances. The following sections describe how to set up an Amazon Web Services (AWS) user account and add an Amazon counter.
Set up an AWS user account
Complete these steps to set up an AWS user account for monitoring:
- Log in to the AWS Management Console.
- Create an Identity and Access Management (IAM) user account.
- Assign the following policies and permissions to the IAM user account:
- IAMReadOnlyAccess—used for AWS managed policies
- CloudWatchReadOnlyAccess—used for reading all metrics that appear in CloudWatch
- Enable Detailed Monitoring—used for reading instance metrics
備考:
- For ArcGIS Monitor to collect consistent metrics for 1-minute or 5-minute intervals, detailed monitoring must be enabled for each instance.
- CloudWatch may not provide all of the counters you want to monitor by default. Refer to Amazon CloudWatch Monitoring Scripts for Microsoft Windows for more information.
Add Amazon counters
Confirm you have the IAM user Access Key and Secret Key before you add Amazon counters.
- Start Monitor Administrator.
The Connections view appears.
- Click Open on the Monitor Server application connection to which you want to add the counter.
The collection pane appears.
- In the tree view, expand the collection and monitor service to which you want to add the counter.
- Click Amazon in the tree view to choose it.
- Right-click Amazon and click Add.
- Expand Amazon in the tree view and click New Amazon.
The Config tab appears.
- Type a name for the counter in the Name text box.
- Click Add Credential.
The Add Amazon Credential dialog box appears.
- Type a name for the credential in the Name text box.
- Type the IAM Access Key in the Access Key text box.
- Type the IAM Secret Key in the Secret Key text box.
- Click Add.
- Click the Select a credential drop-down arrow and choose a credential.
- Choose a sample interval from the Sample Interval drop-down menu.
備考:
It is recommended that you not use sample intervals greater than 5 minutes for critical alerts as this can skew availability statistics. For more information, see View collection availability.
- Optionally type a description in the Description text box.
- Click the Add button for the region where your Amazon instance is located.
The Amazon region is added to the Selected Amazon Regions to Monitor list.
- Click Test to test the counter.
The test results are displayed below the Test button.
- Click Save to save the counter.
Now you can configure alerts for the counter. You can also view and analyze counter status and metrics in the ArcGIS Monitor Server application by clicking Categories > Infrastructure.
For more information about available metrics and definitions, refer to the AWS documentation.