Getting error while setup the cloudwatch plugin
Posted: Tue Jul 23, 2019 9:10 am
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
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