We're updating the issue view to help you get more done. 

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

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.

Environment

None

Status

Assignee

Nuno Oliveira

Reporter

Nuno Oliveira

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium