vmware-archive / newrelic_pivotal_agent

MIT License
36 stars 42 forks source link

Does the plugin support SSL? #35

Closed atul-tewari closed 10 years ago

atul-tewari commented 10 years ago

I get the following error when trying to connect via SSL:

$./pivotal_agent [RabbitMQ] Exception while processing metrics. Check configuration. SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed [2014-07-20 23:49:44 UTC] ERROR: Error occurred in poll cycle: undefined method `debug' for #NewRelic::RabbitMQPlugin::Agent:0x00000001dc5f40

chuantang-zz commented 10 years ago

I am having the same problem. Is there any resolution or work around to this. I would love to have all of my application stats on the new relic dashboard.

poseyj commented 10 years ago

I am getting the same error.

wjs-broadcom commented 10 years ago

Yes SSL is supported.

The error above usually indicates that the ruby installation has outdated certificates.

atul-tewari commented 10 years ago

Thanks! We are using self-signed certificates and they are current. Does the plugin require CA verified certs?

wjs-broadcom commented 10 years ago

The plugin uses the rabbitmq_manager ruby gem which uses the faraday gem. In turn that uses openssl. There is not an existing plugin option to turn off verification. It could be added in the future. There are ways to add your certificate to openssl so that it is accepted, however, those details are environmentally specific and would be difficult for me to provide the steps directly. You should be able to find answers/direction by searching for your operating system, ruby, and openssl self signed certificates.

ashtonmjp commented 10 years ago

I am getting an below error [2014-09-16 15:46:19 UTC] ERROR: Error occurred in poll cycle: undefined method `debug' for #NewRelic::RabbitMQPlugin::Agent:0x0000000138ac10 [RabbitMQ] Exception while processing metrics. Check configuration.

Can you help us

wjs-broadcom commented 10 years ago

@ashtonmjp Please open new issues instead of commenting on old issues.