<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I want to monitor nginx better: http returns (e.g., how many
500's, how many 404's, how many 200's, etc.), as well as request
rates, response times, etc. All the solutions I've found start
with "set up something to watch and parse your logs, then ..."</p>
<p>Here's one of the better examples of that:</p>
<blockquote>
<p><a class="moz-txt-link-freetext" href="https://www.scalyr.com/community/guides/how-to-monitor-nginx-the-essential-guide">https://www.scalyr.com/community/guides/how-to-monitor-nginx-the-essential-guide</a></p>
</blockquote>
<p>Perhaps I'm wrong to find this curious. It seems somewhat heavy
and inefficient to put this functionality into log watching, which
means another service and being sensitive to an eventual change in
log format.</p>
<p>Is this, indeed, the recommended solution?</p>
<p>And, for my better understanding, can anyone explain why this
makes more sense than native nginx support of sending UDP packets
to a monitor collector (in our case, telegraf)?<br>
</p>
<pre class="moz-signature" cols="72">--
Jeff Abrahamson
+33 6 24 40 01 57
+44 7920 594 255
<a class="moz-txt-link-freetext" href="http://p27.eu/jeff/">http://p27.eu/jeff/</a>
</pre>
</body>
</html>