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

Nginx has zero connection/request totals, but non-zero connection/request states #243

Open gthb opened 10 years ago

gthb commented 10 years ago

I've just restarted the plugin agent after it was reporting no data for a long time (apparently stuck on a timeout). Now individual nginx instances (at /accounts/X/dashboard/Y) are showing data just fine, for over 20 minutes now, but the instance list (at /accounts/X/plugins?type=4273) is still all zeros.

gthb commented 10 years ago

Oh, wait, it's not that the overview is out of sync with the instances — rather, the instances are showing data in the “Connection State” and “Request State” charts, but nothing in “Active Connections” and “Requests”:

screen shot 2014-02-14 at 19 26 48

gthb commented 10 years ago

No warnings or errors on Nginx collection in newrelic_plugin_agent.log:

INFO       2014-02-14 19:29:20,518 8536   MainProcess     MainThread newrelic_plugin_agent.agent                   start_plugin_polling      L261   : Enabling plugin: nginx
INFO       2014-02-14 19:29:20,526 8536   MainProcess     MainThread newrelic_plugin_agent.plugins.base            finish                    L143   : Nginx poll successful, completed in 0.01 seconds
INFO       2014-02-14 19:29:20,531 8536   MainProcess     MainThread newrelic_plugin_agent.plugins.base            finish                    L143   : Nginx poll successful, completed in 0.00 seconds
INFO       2014-02-14 19:29:20,535 8536   MainProcess     MainThread newrelic_plugin_agent.plugins.base            finish                    L143   : Nginx poll successful, completed in 0.00 seconds
INFO       2014-02-14 19:29:20,538 8536   MainProcess     MainThread newrelic_plugin_agent.plugins.base            finish                    L143   : Nginx poll successful, completed in 0.00 seconds
EppO commented 10 years ago

I get the same issue with plugin 1.2.3 No issue with nginx plugin coming from Nginx Inc

georgo commented 10 years ago

It looks like it's related to #167, I downgraded nginx.py and it worked now. Is there way how to configure advanced stub statistics in nginx ?

Jinkxed commented 10 years ago

Yea this is still happening far as I can see.

gmr commented 10 years ago

I don't have access to the advanced stub stats, that's with the commercial project right?