<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
matthieu,<br><br>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.<br><br>Anybody know an alternative?<br><br>Regards,<br><br>Joseph<br><br><div><div id="SkyDrivePlaceholder"></div>> From: matthieu.tourne@gmail.com<br>> Date: Tue, 5 Jun 2012 11:26:51 -0700<br>> Subject: Re: Graph nginx by error codes and requests per second? Cacti? or some other?<br>> To: nginx@nginx.org<br>> CC: tsunanet@gmail.com<br>> <br>> On Tue, Jun 5, 2012 at 10:26 AM, Joseph Cabezas <tdgh2323@hotmail.com> wrote:<br>> > Does anybody have a monitoring system in place by nginx error code... 500,<br>> > 200, 404, 444.... and did you do this with cacti or php4nagios?<br>> ><br>> <br>> Hi,<br>> <br>> You can take a look at the nginx-lua module (on the logby branch) :<br>> https://github.com/chaoslawful/lua-nginx-module/tree/logby<br>> <br>> There is an example in the README :<br>> https://github.com/chaoslawful/lua-nginx-module/blob/logby/README<br>> Look for log_by_lua, and log_by_lua_file.<br>> <br>> You can use it to aggregate values, and use another location to report<br>> aggregated data (using content_by_lua) and feed it in your own system.<br>> <br>> We use OpenTSDB (http://opentsdb.net/) to keep aggregating data in time series.<br>> <br>> Hope that helps,<br>> <br>> Matthieu.<br>> <br>> _______________________________________________<br>> nginx mailing list<br>> nginx@nginx.org<br>> http://mailman.nginx.org/mailman/listinfo/nginx<br></div> </div></body>
</html>