The Vaddin version of the dashboard shows negative availability sometimes

Description

I just discovered this problem on 18.0.1 and a branch of develop updated today.

My test system is a VM with CentOS 7, and OpenNMS with the default configuration. I only added some nodes to the system (nothing else).

On the screenshot, you can see that the availability shown is negative for a node, even knowing that there are not outages for the node in question.

The negative availability appears as soon as the nodes are being properly categorized and dashboard is rendered.

Acceptance / Success Criteria

None

Attachments

6
  • 02 Sep 2016, 10:10 AM
  • 01 Sep 2016, 11:58 AM
  • 01 Sep 2016, 11:30 AM
  • 01 Sep 2016, 11:29 AM
  • 01 Sep 2016, 11:29 AM
  • 01 Sep 2016, 11:02 AM

Lucidchart Diagrams

Activity

Show:

Michael Batz September 2, 2016 at 10:10 AM

Works for me. Thanks for the fast fix.

Alejandro Galue September 2, 2016 at 8:48 AM

It works!!!

Alejandro Galue September 2, 2016 at 8:17 AM

I'll test it today, thanks for your fast response!

Christian Pape September 2, 2016 at 8:13 AM

The problem was an overflowing int in a computation.

Please review, test and merge:

Michael Batz September 2, 2016 at 4:02 AM

I saw the same behavior on a customer setup a few days ago, but hadn't the time to analyse it yet. It is very interessting, that the numbers "0 of 28" outages and "-128,971%" were exactly the same I saw on the customers environment.

Fixed

Details

Assignee

Reporter

Affects versions

Priority

PagerDuty

Created September 1, 2016 at 11:02 AM
Updated September 2, 2016 at 12:49 PM
Resolved September 2, 2016 at 8:49 AM

Flag notifications