继续上一个问题(LWP::Protocol::https::Socket: connect: timeout error)我在这里创建新主题。
我正在尝试使用在执行期间抛出错误的AWS云监视脚本。请找到以下Stout命令,以查看是否仍然安装了所需的模块以及脚本执行错误。
[root@ip-10-175-82-195 aws-scripts-mon]# perl -MIO::Socket::SSL -e
No code specified for -e.
[root@ip-10-175-82-195 aws-scripts-mon]# perl -MLWP::Protocol::https -e 'warn $LWP::Protocol::https::VERSION'
6.06 at -e line 1.
[root@ip-10-175-82-195 aws-scripts-mon]# perl -MIO::Socket::SSL=debug4 ./mon-put-instance-data.pl --mem-util --mem-used --mem-avail --aws-credential-file=/root/.aws/awscreds
ERROR: Failed to call CloudWatch: HTTP 500. Message: SSL negotiation failed: at /usr/local/share/perl5/LWP/Protocol/http.pm line 27.
at /usr/local/share/perl5/LWP/Protocol/http.pm line 27.
; at /usr/local/share/perl5/LWP/Protocol/http.pm line 27.
; at /usr/local/share/perl5/LWP/Protocol/http.pm line 27.
For more information, run 'mon-put-instance-data.pl --help'