Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
AWS Cloudwatch Metrics
2.1.13
2018-09-04
- Nagios 3.x
- Nagios XI
MIT
20963
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Nagios Cloudwatch Metrics plugin
======================
This plugin allows you to check certain AWS Cloudwatch metrics and set alerts on predefined values.
The script is written in bash. It is tested on OSX and Ubuntu 16.04.
This plugin fetches the data from X minutes back until now.
It also has an option to walk back to the last known value of cloudwatch, as it is not always contains the most recent data.
Dependencies
-------
To run this script you should have installed the following packages:
jq - json processor
awscli - AWS command line interface
bc - used for working with floating point numbers
timeout or gtimeout - Used for timeout support
We assume that the user who execute this script has configured his account so that he/she can connect to Amazon.
For the full documentation and installation details, see https://github.com/level23/nagios-cloudwatch-metrics
======================
This plugin allows you to check certain AWS Cloudwatch metrics and set alerts on predefined values.
The script is written in bash. It is tested on OSX and Ubuntu 16.04.
This plugin fetches the data from X minutes back until now.
It also has an option to walk back to the last known value of cloudwatch, as it is not always contains the most recent data.
Dependencies
-------
To run this script you should have installed the following packages:
jq - json processor
awscli - AWS command line interface
bc - used for working with floating point numbers
timeout or gtimeout - Used for timeout support
We assume that the user who execute this script has configured his account so that he/she can connect to Amazon.
For the full documentation and installation details, see https://github.com/level23/nagios-cloudwatch-metrics
Reviews (2)
byfarith.miranda, January 4, 2023
I have result OK
CRITICAL - Name=DBInstanceIdentifier,Value=opcsprod-col CPUUtilization (5 min Maximum): 96.005133162 Percent - VALUE is wrong. It SHOULD BE inside the range {0 ... 90} | perf=96.005133162Percent;80;90;0.000000
OK - Name=DBInstanceIdentifier,Value=opcsprod-col CPUUtilization (5 min Maximum): 76.158333333 Percent - VALUE is ok. It is inside the range {0 ... 80} | perf=76.158333333Percent;80;90;0.000000
But, in nagios console show 0%
Please help
CRITICAL - Name=DBInstanceIdentifier,Value=opcsprod-col CPUUtilization (5 min Maximum): 96.005133162 Percent - VALUE is wrong. It SHOULD BE inside the range {0 ... 90} | perf=96.005133162Percent;80;90;0.000000
OK - Name=DBInstanceIdentifier,Value=opcsprod-col CPUUtilization (5 min Maximum): 76.158333333 Percent - VALUE is ok. It is inside the range {0 ... 80} | perf=76.158333333Percent;80;90;0.000000
But, in nagios console show 0%
Please help
bymayurkadam24, August 31, 2017
1 of 1 people found this review helpful
Hi ,
In case the CloudWatch Metrics need to be accessed via a proxy from NAGIOS, what changes do we need to do in the plugin / script ?
Please help.
In case the CloudWatch Metrics need to be accessed via a proxy from NAGIOS, what changes do we need to do in the plugin / script ?
Please help.
Owner's reply
Hi mayurkadam24, we have made a change (since version 2.1.2) which now allows you to supply a http(s) proxy. I hope this solves your problem.