Page 1 of 1
Monitor Amazon AWS RDS ...
Posted: Wed Jun 26, 2019 10:56 am
by xpertech
Does NagiosXI wizard Amazon EC2 & Amazon S3 not support to monitor AWS RDS? (it need to install AWS RDS plugin?)
I search forum and notice the link below, it seems easier to setup than the plugin Check_AWS_CloudWatch_metrics?
the plugin Check_AWS_CloudWatch_metrics get data from CloudWatch while pmp-check-aws-rds.py get data directly from RDS?
https://support.nagios.com/forum/viewto ... =6&t=52216
I had installed the plugin pmp-check-aws-rds.py, but don't know how to setup(although there's a help file), could you share the steps how to setup to monitor RDS?
Re: Monitor Amazon AWS RDS ...
Posted: Thu Jun 27, 2019 10:38 am
by lmiltchev
I am not familiar with this plugin, but you could view some examples of the usage here:
https://www.percona.com/doc/percona-mon ... ds.py.html
and view the help by passing the "-h" flag:
Code: Select all
[root@main-nagios-xi libexec]# ./pmp-check-aws-rds.py -h
Usage: pmp-check-aws-rds.py [options]
Options:
-h, --help show this help message and exit
-l, --list list of all DB instances
-n PROFILE, --profile=PROFILE
AWS profile from ~/.boto or /etc/boto.cfg. Default:
None, fallbacks to "[Credentials]".
-r REGION, --region=REGION
AWS region. Default: us-east-1. If set to "all", we
try to detect the instance region across all of them,
note this will be slower than if you specify the
region explicitly.
-i IDENT, --ident=IDENT
DB instance identifier
-p, --print print status and other details for a given DB instance
-m METRIC, --metric=METRIC
metric to check: [status, load, storage, memory]
-w WARN, --warn=WARN warning threshold
-c CRIT, --crit=CRIT critical threshold
-u UNIT, --unit=UNIT unit of thresholds for "storage" and "memory" metrics:
[percent, GB].Default: percent
-t TIME, --time=TIME time period in minutes to query. Default: 5
-a AVG, --avg=AVG time average in minutes to request. Default: 1
-f, --forceunknown force alerts on unknown status. This prevents issues
related to AWS Cloudwatch throttling limits Default:
False
-d, --debug enable debug output
Once you test the plugin from the command line, and make sure it works, you can add a new command, and a service to Nagios XI. To learn more on how to manage plugins in Nagios XI, please review our documentation on the topic here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf