You are here

Integrations

AWS - EC2 - Instance States

Download version    6.0    5.x

Included in Opsview Monitor 5.x
Included in Opsview Monitor 6.0
check_circle
Opsview Supported

AWS EC2 Instance States Opspack

Amazon Web Services (AWS) provides a massive array of cloud services to users across multiple territories. The cloud services provided by AWS incorporate everything from databases, servers and now even extend into artificial intelligence.

Users are attracted to the provider’s reliability, scalability and the potential cost-effective cloud computing services of a pay-per-usage basis. The main consensus behind the cloud movement is to allow you, the user, additional free up time to focus on your applications and business.

What You Can Monitor

Opsview Monitor has multiple Opspacks available for AWS monitoring. This Opspack checks for the status of all your AWS EC2 instances for a specific region.

Service Checks

Service Check Description
EC2 Instance States Check state of all Amazon EC2 instances in a specific region

AWS EC2 Instance States Opspack

Amazon Web Services (AWS) provides a massive array of cloud services to users across multiple territories. The cloud services provided by AWS incorporate everything from databases, servers and now even extend into artificial intelligence.

Users are attracted to the provider’s reliability, scalability and the potential cost-effective cloud computing services of a pay-per-usage basis. The main consensus behind the cloud movement is to allow you, the user, additional free up time to focus on your applications and business.

What You Can Monitor

Opsview Monitor has multiple Opspacks available for AWS monitoring. This Opspack checks for the status of all your AWS EC2 instances for a specific region.

Service Checks

Service Check Description
EC2 Instance States Check state of all Amazon EC2 instances in a specific region

Prerequisites

There are two ways of adding your authentication credentials to the host. We recommend adding the access key and secret key directly using the variable 'AWS_EC2_CREDENTIALS'. You can also add the access key and secret key to a file (default /usr/local/nagios/etc/aws_credentials.cfg) in the following format:

[default]
aws_access_key_id = "ACCESS_KEY"
aws_secret_access_key = "SECRET_ACCESS_KEY"

Setup and Configuration

To configure and utilize this Opspack, you need to add the 'Cloud - AWS - EC2 States' Opspack to the host running the EC2 software.

Step 1: Add the host template

Add host template

Step 2: Add and configure variables required for this host

AWS_EC2_CREDENTIALS - Set a default name for this value * File Path - Option to override the default file path to specify another (Default: /usr/local/nagios/etc/aws_credentials.cfg) * Access Key - Option to override the Access key from the configuration file * Secret Key - Option to override the Secret key from the configuration file * Region - Option to override the default region (Default: eu-west-1)

Add host template

Step 3: Change the Host Check Command

Under Advanced options on the host tab, change Host Check Command to Always assumed to be UP otherwise a dependancy failure will be displayed

Add host template

Step 4: Reload and view the EC2 statistics

Add host template

Prerequisites

There are two ways of adding your authentication credentials to the host. We recommend adding the access key and secret key directly using the variable 'AWS_EC2_CREDENTIALS'. You can also add the access key and secret key to a file (default /usr/local/nagios/etc/aws_credentials.cfg) in the following format:

[default]
aws_access_key_id = "ACCESS_KEY"
aws_secret_access_key = "SECRET_ACCESS_KEY"

Setup and Configuration

To configure and utilize this Opspack, you need to add the 'Cloud - AWS - EC2 States' Opspack to the host running the EC2 software.

Step 1: Add the host template

Add host template

Step 2: Add and configure variables required for this host

AWS_EC2_CREDENTIALS - Set a default name for this value * File Path - Option to override the default file path to specify another (Default: /usr/local/nagios/etc/aws_credentials.cfg) * Access Key - Option to override the Access key from the configuration file * Secret Key - Option to override the Secret key from the configuration file * Region - Option to override the default region (Default: eu-west-1)

Add host template

Step 3: Change the Host Check Command

Under Advanced options on the host tab, change Host Check Command to Always assumed to be UP otherwise a dependancy failure will be displayed

Add host template

Step 4: Reload and view the EC2 statistics

Add host template

v1.0-opsview-5

ODI-473 - AWS EC2 States Opspack

Initial release for AWS EC2 States Opspack

v2.0-opsview-6

ODI-1154 Release Opspacks for Opsview Monitor 6.0

Initial release of Opspack to work with Opsview Monitor 6.0