Details

    Description

      Script to get lighttpd stats

      This script needs the mod_status module enabled in lighttpd.conf
      http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModStatus

      #lighttpd.conf
      server.modules = ( ..., "mod_status", ... )
      $HTTP["remoteip"] == "127.0.0.1" {
      status.status-url = "/server-status"

      Can someone with a busy webserver lighttpd environment test this? I did not have a good environment to get good graphs.

      Attachments

        1. lighttpd.patch
          15 kB
        2. lighttpd.png
          lighttpd.png
          0.7 kB
        3. lighttpd(869x850).png
          lighttpd(869x850).png
          522 kB

        Activity

          [OBS-681] lighttpd

          Finally committed!

          Thanks!

          adama Adam Armstrong added a comment - Finally committed! Thanks!

          Again without full path

          tromp Tromp Wezelman added a comment - Again without full path

          No.

          The patch is created with full path, and only partially applies.

          adama Adam Armstrong added a comment - No. The patch is created with full path, and only partially applies.

          Does it work now?

          tromp Tromp Wezelman added a comment - Does it work now?

          re-uploaded the patch. Patch created with the following command: svn diff dir_name_1/first.php dir_name_2/second.php > patch_file.patch

          tromp Tromp Wezelman added a comment - re-uploaded the patch. Patch created with the following command: svn diff dir_name_1/first.php dir_name_2/second.php > patch_file.patch

          if you just re-uploaded the same patch, no, that won't work.

          Some methods of making patches result in those errors, I have no idea what. If you can't apply the patch yourself to an SVN tree with "patch -p0 < $patch", then it won't work for me.

          adama Adam Armstrong added a comment - if you just re-uploaded the same patch, no, that won't work. Some methods of making patches result in those errors, I have no idea what. If you can't apply the patch yourself to an SVN tree with "patch -p0 < $patch", then it won't work for me.

          Does it work now? If not, I will make a new patch.

          tromp Tromp Wezelman added a comment - Does it work now? If not, I will make a new patch.

          patch: **** malformed patch at line 261: Index: includes/polling/applications/lighttpd.inc.php

          I'm not sure why, but this patch doesn't apply.

          adama Adam Armstrong added a comment - patch: **** malformed patch at line 261: Index: includes/polling/applications/lighttpd.inc.php I'm not sure why, but this patch doesn't apply.

          People

            adama Adam Armstrong
            tromp Tromp Wezelman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: