Welcome! Log In Create A New Profile

Advanced

Re: Graph nginx by error codes and requests per second? Cacti? or some other?

Matthieu Tourne
June 05, 2012 02:28PM
On Tue, Jun 5, 2012 at 10:26 AM, Joseph Cabezas <tdgh2323@hotmail.com> 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.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Graph nginx by error codes and requests per second? Cacti? or some other?

Joseph Cabezas June 05, 2012 01:28PM

Re: Graph nginx by error codes and requests per second? Cacti? or some other?

Matthieu Tourne June 05, 2012 02:28PM

RE: Graph nginx by error codes and requests per second? Cacti? or some other?

Joseph Cabezas June 05, 2012 04:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready