Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
Nagios plugin for monitoring AWS EC2 EBS snapshot creation via AWS CLI, written in bash.
Current Version
0.1.0
Last Release Date
2017-04-10
Owner
tommarshall
Download URL
https://github.com/tommarshall/nagios-check-aws-ec2-backup
License
MIT
Compatible With
Example AWS IAM policy document.
Install: Install the AWS CLI and configure the credentials for the Nagios service's user. See `IAM-policy-example.json` for an example IAM policy document for the Nagios user's AWS credentials. Usage: ./check_aws_ec2_backup -r -v [options] Examples: # exit WARNING the if most recent snapshot older than 24hrs 15mins, CRITICAL if older than 48hrs 15mins ./check_aws_ec2_backup -r eu-west-1 -v vol-123abcd0 # exit WARNING the if most recent snapshot older than 24hrs, CRITICAL if older than 1 week ./check_aws_ec2_backup -r eu-west-1 -v vol-123abcd0 -c 604800 # exit WARNING the if most recent snapshot older than 1 week, CRITICAL if older than 2 weeks ./check_aws_ec2_backup -r eu-west-1 -v vol-123abcd0 -w 604800 -c 1209600 # set an AWS CLI config profile ./check_aws_ec2_backup -r eu-west-1 -v vol-123abcd0 -p foo-profile # set full path to AWS CLI ./check_aws_ec2_backup -r eu-west-1 -v vol-123abcd0 -a /usr/local/bin/aws Options: -r, --region AWS region to use -v, --volume-id AWS volume ID to check -p, --profile AWS CLI config profile to use -w, --warning snapshot age in seconds to treat as WARNING -c, --critical snapshot age in seconds to treat as CRITICAL -a, --aws-cli-path set path to AWS CLI, if not on $PATH -V, --version output version -h, --help output help information Dependencies: * bash * AWS CLI (https://aws.amazon.com/cli/).
You must be logged in to submit a review.
To:
From: