Does anybody have a monitoring system in place by nginx error code…
500, 200, 404, 444… and did you do this with cacti or php4nagios?
Regards,
Joseph
Does anybody have a monitoring system in place by nginx error code…
500, 200, 404, 444… and did you do this with cacti or php4nagios?
Regards,
Joseph
On Tue, Jun 5, 2012 at 10:26 AM, Joseph C. [email protected]
wrote:
Does anybody have a monitoring system in place by nginx error code… 500,
200, 404, 444… and did you do this with cacti or php4nagios?
Hi,
You can take a look at the nginx-lua module (on the logby branch) :
https://github.com/chaoslawful/lua-nginx-module/tree/logby
There is an example in the README :
https://github.com/chaoslawful/lua-nginx-module/blob/logby/README
Look for log_by_lua, and log_by_lua_file.
You can use it to aggregate values, and use another location to report
aggregated data (using content_by_lua) and feed it in your own system.
We use OpenTSDB (http://opentsdb.net/) to keep aggregating data in time
series.
Hope that helps,
Matthieu.
matthieu,
Thanks! If you are using it to graph nginx by error code… would you
have any screenshot example without any sensitive data that you can
share of the final outcome of this? Iam no way familiar with the things
you quoted.
Anybody know an alternative?
Regards,
Joseph
Hello!
On Wed, Jun 6, 2012 at 2:26 AM, Matthieu T. >
You can take a look at the nginx-lua module (on the logby branch) :
https://github.com/chaoslawful/lua-nginx-module/tree/logby
BTW, The “logby” branch is going to be merged into “master” in the
next few days or so (after more aggressive testing)
Special thanks go to Matthieu T. for the work on this branch
Best regards,
-agentzh
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs