Configuring the KM in the PATROL Console


Use the AWS Account Configure menu command in the PATROL console to perform the initial configuration of each Amazon Web Services account. This command allows you to add, modify, and delete Amazon Web Services accounts from monitoring:

Adding Amazon Web Services accounts

With PATROL for Amazon EC2, you can monitor multiple Amazon Web Services accounts with a single PATROL Agent. Before you can monitor the Amazon Web Services accounts, you must configure them for monitoring.

Before you begin

You must know the Secret Key and the Access Key of the Amazon Web Services account that you want to monitor in PATROL for Amazon EC2.

To add an Amazon Web Services account to be monitored

  1. Right-click the Amazon Web Services icon and select KM Commands > AWS Account Configure to display the AWS Account Configuration dialog box.
  2. In the Account Label field, specify a name to identify the Amazon Web Services account.

    Note

    The Account Label field does not support using blank spaces and special characters such as /, \, &, and @.

  3. In the Access Key field, specify the access key ID provided by Amazon.
  4. In the Secret Key field, specify the secure access key provided by Amazon. 

    Note

    These keys are generated from the AWS console. Also, see Prerequisites-for-configuring-Amazon-EC2-instance.

  5. (Optional) Select the check-box Use Proxy Configuration to enable proxy configuration.

    Note

    If you enable the Use Proxy Configuration check-box, then only you have to specify Server Name, Port, User Name, and Password.

  6. In the Server Name field, specify the proxy server name.
  7. In the Port field, specify the proxy server port number.
  8. In the User Name field, specify the proxy server username.
  9. In the Password field, specify the proxy server password.
  10. (Optional) In the Select Services to monitor section, enable the services that you want to monitor and you can even enable multiple services. By default, services like Elastic Compute Cloud (EC2), Amazon Elastic Block Store (EBS), Amazon Elastic Load Balancing (ELB) are monitored.
    1. Select the check-boxto enable the monitoring of Elasticache.
    2. Select the check-box to enable the monitoring of Auto Scaling
    3. Select the check-box to enable the monitoring of Route 53
  11. (Optional) In the Region Filter section, specify the regions that should be included or excluded from monitoring and enable the Include or Exclude option accordingly.

    Example
    • To include the N. Virginia region for monitoring, specify its internal name, us-east-1 and enable the Include option. This will monitor instances only from the us-east-1 region.
    • To exclude the N. Virginia region for monitoring, specify its internal name, us-east-1 and enable the Exclude option. This will exclude the monitoring of instances from the us-east-1 region.
    • You must specify the internal name of the regions. 
    • Use a comma separator to provide more than one region in this field. 
    •  If you do not provide any value in this field, all the regions will be considered. 
  12. (Optional) In the Tag Filter section, specify EC2 tags to include exclude instances for monitoring, and enable the Include or Exclude option accordingly.
    • EC2 with tags(Key=Value) can be filtered by specifying the tag in the Tag Filter field. 
    • Use a comma separator to specify more than one tag. 
    • You can use Java Regular Expression for specifying Tag filter values. Following are the rules to buildregular expression for Tag values:
      • Tag values having word Production: Production or Prod*
      • Tag values matching to exact Production: ^Production$
      • Tag values ending with word Production: Production$

        For example; Name=Prod*, Department=Dev*

    • If you want to search for multiple values for same Tag keys, then regular expression must be used. For example; if you want the instances for Tags having Production and Development as values then, Name=Production|Developement filter can be used. You can also use Name=^Production$|Development$ filter for exact value matching.
  13. Click Add to add the Amazon Web Services account.
  14. Click Apply.
  15. Click Exit.

The Amazon Web Services account is added and the Amazon Elastic Compute Cloud (EC2), Amazon Elastic Block Store (EBS), and Amazon Elastic Load Balancing (ELB) instances are discovered.

Modifying Amazon Web Services accounts

Use this task to modify Amazon Web Services accounts that are being monitored in PATROL for Amazon EC2.

To modify an Amazon Web Services account that is being monitored

  1. Right-click the Amazon Web Services icon and select KM Commands > AWS Account Configure to display the AWS Account Configuration dialog box.
  2. Select the Amazon Web Services account that you want to modify from the Select AWS Account to Modify/Remove list and then click Modify.
    The access key and secure key stored for the selected account are displayed.
  3. Modify the access key and the secure key, as required.

    The option of modifying the Account Label is not supported.

  4. Enable the Add option to add the provided Amazon Web Services account.
  5. Click Apply.
  6. Click Exit.

Removing Amazon Web Services accounts

Use this task to remove Amazon Web Services accounts that are being monitored.

To remove an account from being monitored

  1. Right-click the Amazon Web Services icon and select KM Commands > AWS Account Configure to display the AWS Account Configuration dialog box.
  2. Select the Amazon Web Services account that you want to modify or remove from the Select AWS Account to Modify/Remove list and then click Remove.
  3. Click Apply.
    The selected Amazon Web Services account is deleted from the list of accounts and is not monitored.
  4. Click Exit.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*