Feature #1358

Patch to add scoreboard info to ?auto in mod_status

Added by Anonymous over 12 years ago. Updated over 3 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Missing in 1.5.x:


The attached patch adds the scoreboard to the text output generated by mod_status when requested with ?auto.

The added code is pretty much a copy and paste of the code the generates the scoreboard for the HTML generated page (the only difference is that it doesn't output a newline after every 50 items). In otherwords, it would be straight forward to create a common function both versions can use.

This code makes the output from mod_status?auto a little closer to that generated by apache and makes it easier to use some of the apache-focused monitoring tools with lighttpd.

I've used this patch for the last year on some heavily traffic sites (daily average of about 100req/s with peaks up to 1000req/s) with all versions of lighttpd since 1.4.13.

We use it with a custom lighttpd plugin for collectd ( If this patch gets acccepted into the lighttpd code base, I will be submitting that plugin as well as a second one for server-statistics to the collectd project.

Ultimately, I would like to create modules for lighttpd that gathers the necessary information and sends it to collectd, rather than having collectd request the server-status and server-statistics pages. That's for another day.

-- lighttpd


mod_status-text-scoreboad.patch (891 Bytes) mod_status-text-scoreboad.patch /usr/local/src/lighttpd/lighttpd-1.4.18/src/mod_status-text-scoreboad.patch Anonymous, 2007-09-12 23:46

Updated by gstrauss over 3 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes

FYI: the scoreboard is included with mod_status text output in lighttpd 1.4.40. lighttpd 1.4.40 also contains a mod_status json output option.


Updated by gstrauss over 3 years ago

  • Status changed from New to Obsolete

Also available in: Atom