Nodes with the same IP show up in the wrong categories (availability table on the index page)

Description

To reproduce:
-Create 2 different nodes with the same IP
-Assign both of these nodes to different categories say 'Production' on the first and 'Development' on the second
-Assign the same passive service to both of these nodes
-Create 2 new categories in etc/categories.xml, one filtering for 'Production' and the second for 'Development'
-Reference the 2 categories we just created in etc/surveillance-views.xml

Result:
-The 2 nodes will show up in both categories we the surveillance views.

Problem:
It appears that the nodes in these views are filtered by IP address and not by ID.
This causes problems in the scenario described above, where multiple nodes are assigned the same IP address.

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Benjamin Reed December 10, 2012 at 4:07 PM

This looks reasonable to me. Merged to 1.10.

Jesse White November 1, 2012 at 9:57 AM

Patch that addresses this problem.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created November 1, 2012 at 9:56 AM
Updated January 27, 2017 at 4:19 PM
Resolved December 10, 2012 at 4:07 PM