Help with lighttpd

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Post Reply
Digraph
Posts: 1
Joined: Sun Apr 05, 2026 1:24 am

Help with lighttpd

Post by Digraph »

Hi , Someone have a guide to setup with lighhtpd and not apache2. I have a raspberry4.
.
User avatar
jmichaelson
Posts: 388
Joined: Wed Aug 23, 2023 1:02 pm

Re: Help with lighttpd

Post by jmichaelson »

We don't have one specifically, but if I were going to do it, I'd start with this completely off the cuff and untested method

Configure lighttpd to send logs in the Apache combined log format (Google gave me this: https://www.google.com/search?q=lighttp ... &gws_rd=cr)
Restart lightttpd on the Pi
Start with the Apache logs as a base. Clone the Apache filter and change it to look for a new tag (lighttpd_access/error?)
Get rsyelog installed on your Pi if it isn't already there.
Use the same script as though you were setting up Apache Logs (from the Apache help page on your Log Server).
Change the conf file that gets generated to point to the lighttpd logs (and change apache_access/apache_error to whatever you used in the filter created above).
Restart rsyslogd on the Pi.

I'm glad to see that we have customers using other web servers than Apache. I'd like to add documentation to set these up into Nagios Log Server in the future (lighttpd and nginx come to mind). While I can't promise anything, I'll definitely look into it.
Please let us know if you have any other questions or concerns.

-Jason
Post Reply