[Geoserver-devel] [JIRA] (GEOS-8302) Statatus monitoring community is failing with division by zeros

Nuno Oliveira created an issue

GeoServer / BugGEOS-8302

Statatus monitoring community is failing with division by zeros

Issue Type:

BugBug

Assignee:

Nuno Oliveira

Components:

Community modules

Created:

26/Sep/17 3:33 PM

Fix Versions:

2.12-RC1

Priority:

MediumMedium

Reporter:

Nuno Oliveira

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:

Unable to render embedded object: File (image-2017-09-26-14-33-06-787.png) not found.

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

Add Comment

Add Comment

Get JIRA notifications on your phone! Download the JIRA Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100063-sha1:c0bd8e4)

Atlassian logo