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

          Jesse Glick created issue -
          Lucie Votypkova made changes -
          Assignee Original: vjuranek [ vjuranek ] New: Lucie Votypkova [ lvotypkova ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 150591 ] New: JNJira + In-Review [ 177698 ]
          Oliver Gondža made changes -
          Assignee Original: Lucie Votypkova [ lvotypkova ]

          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.
          Jesse Glick made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: