Unable to modify poller packages through the Monitoring Locations UI

Description

When testing the remote poller on latest snapshot of Meridian 2017.1.0, I found that it was not working.

The reason is that the Angular UI that manages the Monitoring Locations is not able to add poller packages to the server. I can see an error on FireBug:

XML Parsing Error: no root element found Location: http://192.168.205.187:8980/opennms/api/v2/monitoringLocations/RDU Line Number 1, Column 1:

If I go to the database, and add poller packages directly to the appropriate table and restart, for example:

insert into from monitoringlocationspollingpackages values ('RDU','raleigh');

The remote poller works without issues.

So, the problem seems to be a limitation of the UI.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed September 12, 2017 at 5:19 PM

Merged to foundation-2017

Seth Leger September 7, 2017 at 4:39 PM

This was caused by mistaken removal of the update() method in AbstractDaoRestService in commit c17136a956b3da79257e2bd435d43a212ba6afff:

https://github.com/OpenNMS/opennms/commit/c17136a956b3da79257e2bd435d43a212ba6afff

Based on this, it should only affect foundation-2017 and develop.

Alejandro Galue September 1, 2017 at 9:12 PM

The solution should be placed on foundation-2017. I'm not sure if Horizon suffers this problem but worth try it.

Fixed

Details

Assignee

Reporter

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created September 1, 2017 at 9:11 PM
Updated September 12, 2017 at 10:14 PM
Resolved September 12, 2017 at 5:19 PM

Flag notifications