Comments (7)
Can you turn on DEBUG level logging in the config and paste in a few cycles of stats (need at least 2 minutes) so I can see what is going on?
from newrelic-plugin-agent.
I am also not seeing any metrics for apache
root@dev-01:~# apache2ctl -v
Server version: Apache/2.2.14 (Ubuntu)
Server built: Mar 8 2013 16:46:38
Log output:
INFO 2013-06-19 17:12:51 6478 MainProcess MainThread clihelper run L382 : newrelic_plugin_agent 1.0.11 started
INFO 2013-06-19 17:12:51 6478 MainProcess MainThread newrelic_plugin_agent.agent process L91 : Polling
DEBUG 2013-06-19 17:12:51 6478 MainProcess MainThread newrelic_plugin_agent.agent thread_process L272 : Polling apache_httpd, <class 'newrelic_plugin_agent.plugins.apache_httpd.ApacheHTTPD'>, {'path': '/server-status', 'host': 'localhost', 'name': 'dev-01.dev', 'port': 80}, 60
INFO 2013-06-19 17:12:51 6478 MainProcess MainThread newrelic_plugin_agent.plugins.apache_httpd poll L98 : Polling ApacheHTTPD via http://localhost:80//server-status?auto
INFO 2013-06-19 17:12:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _new_conn L202 : Starting new HTTP connection (1): localhost
DEBUG 2013-06-19 17:12:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _make_request L296 : "GET //server-status?auto HTTP/1.1" 200 76
INFO 2013-06-19 17:12:51 6478 MainProcess MainThread newrelic_plugin_agent.plugins.apache_httpd poll L105 : Polling complete in 0.02 seconds
DEBUG 2013-06-19 17:12:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_data_to_newrelic L166 : Done, will send remainder of 0 metrics
INFO 2013-06-19 17:12:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_components L174 : Sending 0 metrics to NewRelic
DEBUG 2013-06-19 17:12:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_components L176 : {'components': [{'duration': 60, 'metrics': {}, 'guid': 'com.meetme.newrelic_apache_httpd_agent', 'name': 'dev-01.dev'}], 'agent': {'host': 'dev-01', 'version': '1.0.11', 'pid': 6478}}
INFO 2013-06-19 17:12:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _new_conn L549 : Starting new HTTPS connection (1): platform-api.newrelic.com
DEBUG 2013-06-19 17:12:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _make_request L296 : "POST /platform/v1/metrics HTTP/1.1" 200 16
DEBUG 2013-06-19 17:12:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_components L183 : Response: 200: '{"status":"ok"}'
INFO 2013-06-19 17:12:51 6478 MainProcess MainThread newrelic_plugin_agent.agent process L105 : All stats processed in 0.18 seconds, next wake in 59.82
INFO 2013-06-19 17:13:51 6478 MainProcess MainThread newrelic_plugin_agent.agent process L91 : Polling
DEBUG 2013-06-19 17:13:51 6478 MainProcess MainThread newrelic_plugin_agent.agent thread_process L272 : Polling apache_httpd, <class 'newrelic_plugin_agent.plugins.apache_httpd.ApacheHTTPD'>, {'path': '/server-status', 'host': 'localhost', 'name': 'dev-01.dev', 'port': 80}, 60
INFO 2013-06-19 17:13:51 6478 MainProcess MainThread newrelic_plugin_agent.plugins.apache_httpd poll L98 : Polling ApacheHTTPD via http://localhost:80//server-status?auto
INFO 2013-06-19 17:13:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _new_conn L202 : Starting new HTTP connection (1): localhost
DEBUG 2013-06-19 17:13:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _make_request L296 : "GET //server-status?auto HTTP/1.1" 200 74
INFO 2013-06-19 17:13:51 6478 MainProcess MainThread newrelic_plugin_agent.plugins.apache_httpd poll L105 : Polling complete in 0.00 seconds
DEBUG 2013-06-19 17:13:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_data_to_newrelic L166 : Done, will send remainder of 0 metrics
INFO 2013-06-19 17:13:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_components L174 : Sending 0 metrics to NewRelic
DEBUG 2013-06-19 17:13:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_components L176 : {'components': [{'duration': 60, 'metrics': {}, 'guid': 'com.meetme.newrelic_apache_httpd_agent', 'name': 'dev-01.dev'}], 'agent': {'host': 'dev-01', 'version': '1.0.11', 'pid': 6478}}
INFO 2013-06-19 17:13:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _new_conn L549 : Starting new HTTPS connection (1): platform-api.newrelic.com
DEBUG 2013-06-19 17:13:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _make_request L296 : "POST /platform/v1/metrics HTTP/1.1" 200 16
DEBUG 2013-06-19 17:13:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_components L183 : Response: 200: '{"status":"ok"}'
INFO 2013-06-19 17:13:51 6478 MainProcess MainThread newrelic_plugin_agent.agent process L105 : All stats processed in 0.15 seconds, next wake in 59.85
INFO 2013-06-19 17:14:51 6478 MainProcess MainThread newrelic_plugin_agent.agent process L91 : Polling
DEBUG 2013-06-19 17:14:51 6478 MainProcess MainThread newrelic_plugin_agent.agent thread_process L272 : Polling apache_httpd, <class 'newrelic_plugin_agent.plugins.apache_httpd.ApacheHTTPD'>, {'path': '/server-status', 'host': 'localhost', 'name': 'dev-01.dev', 'port': 80}, 60
INFO 2013-06-19 17:14:51 6478 MainProcess MainThread newrelic_plugin_agent.plugins.apache_httpd poll L98 : Polling ApacheHTTPD via http://localhost:80//server-status?auto
INFO 2013-06-19 17:14:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _new_conn L202 : Starting new HTTP connection (1): localhost
DEBUG 2013-06-19 17:14:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _make_request L296 : "GET //server-status?auto HTTP/1.1" 200 76
INFO 2013-06-19 17:14:51 6478 MainProcess MainThread newrelic_plugin_agent.plugins.apache_httpd poll L105 : Polling complete in 0.00 seconds
DEBUG 2013-06-19 17:14:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_data_to_newrelic L166 : Done, will send remainder of 0 metrics
INFO 2013-06-19 17:14:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_components L174 : Sending 0 metrics to NewRelic
DEBUG 2013-06-19 17:14:51 6478 MainProcess MainThread newrelic_plugin_agent.agent send_components L176 : {'components': [{'duration': 60, 'metrics': {}, 'guid': 'com.meetme.newrelic_apache_httpd_agent', 'name': 'dev-01.dev'}], 'agent': {'host': 'dev-01', 'version': '1.0.11', 'pid': 6478}}
INFO 2013-06-19 17:14:51 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _new_conn L549 : Starting new HTTPS connection (1): platform-api.newrelic.com
DEBUG 2013-06-19 17:14:57 6478 MainProcess MainThread requests.packages.urllib3.connectionpool _make_request L296 : "POST /platform/v1/metrics HTTP/1.1" 200 16
DEBUG 2013-06-19 17:14:57 6478 MainProcess MainThread newrelic_plugin_agent.agent send_components L183 : Response: 200: '{"status":"ok"}'
INFO 2013-06-19 17:14:57 6478 MainProcess MainThread newrelic_plugin_agent.agent process L105 : All stats processed in 6.29 seconds, next wake in 53.71
curling server-status provides the following:
root@dev-01:~# curl 'http://localhost:80//server-status?auto'
BusyWorkers: 1
IdleWorkers: 49
Scoreboard: W.......................................................................................................___________________.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
from newrelic-plugin-agent.
curling server-status provides the following:
root@dev-01:~# curl 'http://localhost:80//server-status?auto'
BusyWorkers: 1
IdleWorkers: 49
You need to set ExtendedStatus to On in your Apache config for the pattern match to work
from newrelic-plugin-agent.
Thanks that did the trick. The read me should be updated to reflect the fact you need extend status on.
Richard Calosso
Streetline
[email protected]
From: Iain <[email protected]mailto:[email protected]>
Reply-To: MeetMe/newrelic-plugin-agent <[email protected]mailto:[email protected]>
Date: Thu, 20 Jun 2013 03:30:43 -0700
To: MeetMe/newrelic-plugin-agent <[email protected]mailto:[email protected]>
Cc: Richard Calosso <[email protected]mailto:[email protected]>
Subject: Re: [newrelic-plugin-agent] Apache requests graph blank (#20)
curling server-status provides the following:
root@dev-01:~# curl 'http://localhost:80//server-status?auto'
BusyWorkers: 1
IdleWorkers: 49
You need to set ExtendedStatus to On for the pattern match to work
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-19743234.
from newrelic-plugin-agent.
@rcalosso any chance you could make that update to the README and make a pull request?
from newrelic-plugin-agent.
Created pull request.
Richard Calosso
Streetline
[email protected]
From: Cooper Marcus <[email protected]mailto:[email protected]>
Reply-To: MeetMe/newrelic-plugin-agent <[email protected]mailto:[email protected]>
Date: Thu, 20 Jun 2013 09:41:07 -0700
To: MeetMe/newrelic-plugin-agent <[email protected]mailto:[email protected]>
Cc: Richard Calosso <[email protected]mailto:[email protected]>
Subject: Re: [newrelic-plugin-agent] Apache requests graph blank (#20)
@rcalossohttps://github.com/rcalosso any chance you could make that update to the README and make a pull request?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-19765531.
from newrelic-plugin-agent.
Thanks all!
from newrelic-plugin-agent.
Related Issues (20)
- Unble to featch the data from bluemix instance
- Bad link on pypi page
- Request : Reconnect upon "connection reset by peer" condition
- mongodb database roles for newrelic user to monitor database
- force https for rabbitmq HOT 1
- newrelic and redis are running on server and generating logs but on newrelic console am not able to see the hostname under redis plugin
- Support pgbouncer over 1.8.0
- newrelic-plugin-agent issue on linux server
- L235 ConnectTimeoutError
- Enable 'php_apc' crashed newrelic_plugin_agent HOT 1
- New relic Plugin Agent Not starting
- Meetme Plugin Error - No metrics to send to NewRelic this interval HOT 2
- plugin does not seem to work with couch 2 stats format
- Startup fails with "AttributeError: 'tuple' object has no attribute 'major'"
- ImportError: No module named 'Queue' HOT 1
- not authorized on db to execute command { serverStatus: 1 }, but my user is full admin
- Not receiving data?
- Newrelic PostgreSQL Plugin agent failing HOT 2
- AttributeError: 'module' object has no attribute 'Controller' HOT 2
- Proposing a PR to fix a few small typos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newrelic-plugin-agent.