Uploaded image for project: 'GeoServer'
  1. GEOS-8302

Statatus monitoring community module is failing with division by zero (NaN)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12-RC1
    • Component/s: Community modules
    • Labels:
      None

      Description

      When computing usages percentages, if the total amount of an available resource (disk space, swap memory, etc ...) is zero NaN will be produced.

      The UI, HTML and XML output formats keep responding by showing NaN:

      JSON encoding fails. Instead of NaN zero should be used.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                nmco Nuno Oliveira
                Reporter:
                nmco Nuno Oliveira
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: