Hi Noah,
thanx for your guides; interesting read.
for everyone else:
there bis a nagios-plguin to monitor the stub/status - outputs:
https://bitbucket.org/maresystem/dogtown-nagios-plugins/overview
beside monitoring it also extracts all date from the status page and returns
them as performance-data for graphing and as sources for warning/critival - notifications
Performancedata:
NginxStatus.Check OK | ac=1;acc=64; han=64; req=64; err=0; rpc=1; rps=0; cps=0; dreq=1;
dcon=1; read=0; writ=1; wait=0; ct=6ms;
ac -> active connections
acc -> totally accepted connections
han -> totally handled connections
req -> total requests
err -> diff between acc - han, thus errors
rpc -> requests per connection (req/han)
rps -> requests per second (calculated) from last checkrun vs actual values
cps -> connections per (calculated) from last checkrun vs actual values
dreq -> request-delta from last checkrun vs actual values
dcon -> accepted-connection-delta from last checkrun vs actual values
read -> reading requests from clients
writ -> reading request body, processes request, or writes response to a client
wait -> keep-alive connections, actually it is ac - (read + writ)
ct -> checktime (connection time) for this check
cheers,
mex