Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19144

Administrative monitor for low disk space in $JENKINS_HOME

      There should be an AdministrativeMonitor which checks for a low value of File.getUsableSpace in Jenkins.getRootDir. This could be in core of course, but the Disk Usage plugin seems like a natural home.

      Note that there is a hudson.node_monitors.DiskSpaceMonitor, but this only applies to master when it is a Computer, i.e. has some executors; and you cannot take master offline anyway.

          [JENKINS-19144] Administrative monitor for low disk space in $JENKINS_HOME

          There has been such an AdministrativeMonitor in Jenkins core since March 2009: HudsonHomeDiskUsageChecker.java, HudsonHomeDiskUsageMonitor.java.

          Is it still a good idea to move that feature to a plugin?

          Kalle Niemitalo added a comment - There has been such an  AdministrativeMonitor in Jenkins core since March 2009: HudsonHomeDiskUsageChecker.java , HudsonHomeDiskUsageMonitor.java . Is it still a good idea to move that feature to a plugin?

          Jesse Glick added a comment -

          Guess I missed that? Do not recall.

          Jesse Glick added a comment - Guess I missed that? Do not recall.

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: