MeetMe / newrelic-plugin-agent

Multi-Plugin python-based Agent for NewRelic's Platform
BSD 3-Clause "New" or "Revised" License
425 stars 265 forks source link

Apache HTTPD plugin in newrelic is not reporting to monitors #531

Open schennu4 opened 7 years ago

schennu4 commented 7 years ago

we are seeing following SSL certificate issue due to this our production data is not reporting to the monitors . can you please help us in this . we have installed meet me newrelic plugin agent .

INFO 2017-08-03 10:58:03,010 26743 MainProcess MainThread newrelic_plugin_agent.agent start_plugin_polling L263 : Enabling plugin: apache_httpd INFO 2017-08-03 10:58:03,016 26743 MainProcess MainThread newrelic_plugin_agent.plugins.base finish L140 : ApacheHTTPD poll successful, completed in 0.01 seconds INFO 2017-08-03 10:58:03,016 26743 MainProcess MainThread newrelic_plugin_agent.agent send_components L220 : Sending 20 metrics to NewRelic ERROR 2017-08-03 10:58:03,069 26743 MainProcess MainThread newrelic_plugin_agent.agent send_components L235 : Error reporting stats: HTTPSConnectionPool(host='platform-api.newrelic.com', port=443): Max retries exceeded with url: / platform/v1/metrics (Caused by SSLError(SSLError(1, '_ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate ve rify failed'),)) INFO 2017-08-03 10:58:03,069 26743 MainProcess MainThread newrelic_plugin_agent.agent process L133 : Stats processed in 0.06 seconds, next wake in 59 seconds INFO 2017-08-03 10:59:03,010 26743 MainProcess MainThread newrelic_plugin_agent.agent start_plugin_polling L263 : Enabling plugin: apache_httpd INFO 2017-08-03 10:59:03,016 26743 MainProcess MainThread newrelic_plugin_agent.plugins.base finish L140 : ApacheHTTPD poll successful, completed in 0.01 seconds INFO 2017-08-03 10:59:03,016 26743 MainProcess MainThread newrelic_plugin_agent.agent send_components L220 : Sending 20 metrics to NewRelic ERROR 2017-08-03 10:59:03,070 26743 MainProcess MainThread newrelic_plugin_agent.agent send_components L235 : Error reporting stats: HTTPSConnectionPool(host='platform-api.newrelic.com', port=443): Max retries exceeded with url: / platform/v1/metrics (Caused by SSLError(SSLError(1, '_ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate ve rify failed'),)) INFO 2017-08-03 10:59:03,070 26743 MainProcess MainThread newrelic_plugin_agent.agent process L133 : Stats processed in 0.06 seconds, next wake in 59 seconds INFO 2017-08-03 11:00:03,010 26743 MainProcess MainThread newrelic_plugin_agent.agent start_plugin_polling L263 : Enabling plugin: apache_httpd INFO 2017-08-03 11:00:03,017 26743 MainProcess MainThread newrelic_plugin_agent.plugins.base finish L140 : ApacheHTTPD poll successful, completed in 0.01 seconds INFO 2017-08-03 11:00:03,017 26743 MainProcess MainThread newrelic_plugin_agent.agent send_components L220 : Sending 20 metrics to NewRelic ERROR 2017-08-03 11:00:03,072 26743 MainProcess MainThread newrelic_plugin_agent.agent send_components L235 : Error reporting stats: HTTPSConnectionPool(host='platform-api.newrelic.com', port=443): Max retries exceeded with url: / platform/v1/metrics (Caused by SSLError(SSLError(1, '_ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate ve rify failed'),)) INFO 2017-08-03 11:00:03,072 26743 MainProcess MainThread newrelic_plugin_agent.agent process L133 : Stats processed in 0.06 seconds, next wake in 59 seconds INFO 2017-08-03 11:01:03,011 26743 MainProcess MainThread newrelic_plugin_agent.agent start_plugin_polling L263 : Enabling plugin: apache_httpd INFO 2017-08-03 11:01:03,017 26743 MainProcess MainThread newrelic_plugin_agent.plugins.base finish L140 : ApacheHTTPD poll successful, completed in 0.01 seconds INFO 2017-08-03 11:01:03,017 26743 MainProcess MainThread newrelic_plugin_agent.agent send_components L220 : Sending 20 metrics to NewRelic ERROR 2017-08-03 11:01:03,071 26743 MainProcess MainThread newrelic_plugin_agent.agent send_components L235 : Error reporting stats: HTTPSConnectionPool(host='platform-api.newrelic.com', port=443): Max retries exceeded with url: / platform/v1/metrics (Caused by SSLError(SSLError(1, '_ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate ve rify failed'),)) INFO 2017-08-03 11:01:03,071 26743 MainProcess MainThread newrelic_plugin_agent.agent process L133 : Stats processed in 0.06 seconds, next wake in 59 seconds

bechhansen commented 7 years ago

I see a related problem when the plugin is trying to push status from Elasticsearch:

INFO 2017-09-07 14:48:30,733 168286 MainProcess MainThread newrelic_plugin_agent.agent init L55 : Agent v1.3.0 initialized, Linux-3.10.0-514.26.2.el7.x86_64-x86_64-with-glibc2.2.5 (CentOS Linux 7.3.1611 Core) CPython v2.7.5 INFO 2017-09-07 14:48:30,733 168286 MainProcess MainThread newrelic_plugin_agent.agent start_plugin_polling L263 : Enabling plugin: elasticsearch INFO 2017-09-07 14:48:30,829 168286 MainProcess MainThread newrelic_plugin_agent.plugins.base finish L140 : ElasticSearch poll successful, completed in 0.09 seconds INFO 2017-09-07 14:48:30,829 168286 MainProcess MainThread newrelic_plugin_agent.agent send_components L220 : Sending 42 metrics to NewRelic ERROR 2017-09-07 14:48:31,075 168286 MainProcess MainThread newrelic_plugin_agent.agent send_components L235 : Error reporting stats: HTTPSConnectionPool(host='platform-api.newrelic.com', port=443): Max retries exceeded with url: /platform/v1/metrics (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)'),)) INFO 2017-09-07 14:48:31,075 168286 MainProcess MainThread newrelic_plugin_agent.agent process L133 : Stats processed in 0.34 seconds, next wake in 59 seconds INFO 2017-09-07 14:49:30,734 168286 MainProcess MainThread newrelic_plugin_agent.agent start_plugin_polling L263 : Enabling plugin: elasticsearch INFO 2017-09-07 14:49:30,838 168286 MainProcess MainThread newrelic_plugin_agent.plugins.base finish L140 : ElasticSearch poll successful, completed in 0.10 seconds INFO 2017-09-07 14:49:30,838 168286 MainProcess MainThread newrelic_plugin_agent.agent send_components L220 : Sending 42 metrics to NewRelic ERROR 2017-09-07 14:49:31,081 168286 MainProcess MainThread newrelic_plugin_agent.agent send_components L235 : Error reporting stats: HTTPSConnectionPool(host='platform-api.newrelic.com', port=443): Max retries exceeded with url: /platform/v1/metrics (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)'),)) INFO 2017-09-07 14:49:31,082 168286 MainProcess MainThread newrelic_plugin_agent.agent process L133 : Stats processed in 0.35 seconds, next wake in 59 seconds

schennu4 commented 7 years ago

Can you please let me know the fix for this issue .

Thanks, Satish Chennu

[cid:_1_10FEB61010FEB3D0005187D385257F1D] Maricom – CSRA Company EDSC,Enterprise Portal Admin Team 7142 Ambassador Rd, Baltimore, MD 21244 Work: 443-729-1094 Cell:860-869-0388 schennu@maricom.commailto:schennu@maricom.com

From: Peer Bech Hansen [mailto:notifications@github.com] Sent: Thursday, September 7, 2017 8:54 AM To: MeetMe/newrelic-plugin-agent newrelic-plugin-agent@noreply.github.com Cc: Satish Chennu schennu@maricom.com; Author author@noreply.github.com Subject: Re: [MeetMe/newrelic-plugin-agent] Apache HTTPD plugin in newrelic is not reporting to monitors (#531)

I see a related problem when the plugin is trying to push status from Elasticsearch:

INFO 2017-09-07 14:48:30,733 168286 MainProcess MainThread newrelic_plugin_agent.agent init L55 : Agent v1.3.0 initialized, Linux-3.10.0-514.26.2.el7.x86_64-x86_64-with-glibc2.2.5 (CentOS Linux 7.3.1611 Core) CPython v2.7.5 INFO 2017-09-07 14:48:30,733 168286 MainProcess MainThread newrelic_plugin_agent.agent start_plugin_polling L263 : Enabling plugin: elasticsearch INFO 2017-09-07 14:48:30,829 168286 MainProcess MainThread newrelic_plugin_agent.plugins.base finish L140 : ElasticSearch poll successful, completed in 0.09 seconds INFO 2017-09-07 14:48:30,829 168286 MainProcess MainThread newrelic_plugin_agent.agent send_components L220 : Sending 42 metrics to NewRelic ERROR 2017-09-07 14:48:31,075 168286 MainProcess MainThread newrelic_plugin_agent.agent send_components L235 : Error reporting stats: HTTPSConnectionPool(host='platform-api.newrelic.com', port=443): Max retries exceeded with url: /platform/v1/metrics (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)'),)) INFO 2017-09-07 14:48:31,075 168286 MainProcess MainThread newrelic_plugin_agent.agent process L133 : Stats processed in 0.34 seconds, next wake in 59 seconds INFO 2017-09-07 14:49:30,734 168286 MainProcess MainThread newrelic_plugin_agent.agent start_plugin_polling L263 : Enabling plugin: elasticsearch INFO 2017-09-07 14:49:30,838 168286 MainProcess MainThread newrelic_plugin_agent.plugins.base finish L140 : ElasticSearch poll successful, completed in 0.10 seconds INFO 2017-09-07 14:49:30,838 168286 MainProcess MainThread newrelic_plugin_agent.agent send_components L220 : Sending 42 metrics to NewRelic ERROR 2017-09-07 14:49:31,081 168286 MainProcess MainThread newrelic_plugin_agent.agent send_components L235 : Error reporting stats: HTTPSConnectionPool(host='platform-api.newrelic.com', port=443): Max retries exceeded with url: /platform/v1/metrics (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)'),)) INFO 2017-09-07 14:49:31,082 168286 MainProcess MainThread newrelic_plugin_agent.agent process L133 : Stats processed in 0.35 seconds, next wake in 59 seconds

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MeetMe/newrelic-plugin-agent/issues/531#issuecomment-327790092, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AdRvdqRy_NcfmLvHYSEKAQMZOhv8lhzyks5sf-dSgaJpZM4OsrR2.

This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSRA to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.