Hi Team,
we are trying to monitor the AWS cloudwatch with nagios-cloudwatch-metrics-master
we downloaded the plugin and extracted into the nagios server. While trying to run the plugin, we are getting an error as below.
./check_cloudwatch.sh --timeout=30 --region="us-east-2" --namespace="CWAgent" --metric="disk_used_percent" --statistics="Average" --mins="15" --dimensions="Name=InstanceId,Value=i-0b0dc3b61a0304265" --warning=50 --critical=100
/root/.local/lib/python2.6/site-packages/urllib3/util/ssl_.py:369: SNIMissingWarning: An HTTPS request has been made, but the SNI (Server Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/lates ... l-warnings
SNIMissingWarning
UNKNOWN - Name=InstanceId,Value=i-0b0dc3b61a0304265 disk_used_percent (15 min Average): null null - No metric value known. | perf=nullnull;50;100;0.000000
[root@monitoring nagios-cloudwatch-metrics-master]# ls
check_cloudwatch.sh get-pip.py LICENSE README.md
[root@monitoring nagios-cloudwatch-metrics-master]# python --version
Python 2.6.6
[root@monitoring nagios-cloudwatch-metrics-master]# pip
Please give us solutions to fix this issue, its very critical
Regards
CentricIT
Getting error while setup the cloudwatch plugin
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Getting error while setup the cloudwatch plugin
Hello @CentricIT,
The plugin requires jq, awscli and bc. However, urlib3 being used within this plugin and requires python 2.7.
What distribution and version of Linux are you currently using?
The plugin requires jq, awscli and bc. However, urlib3 being used within this plugin and requires python 2.7.
What distribution and version of Linux are you currently using?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Getting error while setup the cloudwatch plugin
Hi benjaminsmith,
Thank you for your quick response.
We are using Centos 6.9 on our Nagiosxi server.
Regards
CentricIT
Thank you for your quick response.
We are using Centos 6.9 on our Nagiosxi server.
Regards
CentricIT
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Getting error while setup the cloudwatch plugin
Helllo @CentricIT,
Your Nagios XI license is valid for 3 installs.
Nagios XI - License Entitlements
It looks like CentOS 6.9 base repositories only support python up to version 2.6.6. If possible, I would recommend setting up a Nagios XI test server and migrate the server to CentOS 7 which supports python 2.7.x.We are using Centos 6.9 on our Nagiosxi server.
Your Nagios XI license is valid for 3 installs.
Nagios XI - License Entitlements
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!