We've standardized on agent polling for our Cloud-hosted servers for lots of great reasons. Security, both in reduced firewall requirements as well as encryption in transit, were big drivers as was data compression, expanded functionality for Linux-based servers (no more net-snmp machine types!), not to mention the ability to get away from a service account for Windows boxes.
While doing some deployments the other day I started to dig through the database looking for some data when I realized that the UnDPs were still assigned AND collecting data for nodes that I had switched from SNMP to Agent polling. This is odd because UnDPs are not supported with the agent. Go ahead and try it for yourself. Set up a Linux box. Poll it via SNMP, assign some UnDPs and then convert to an agent. Here is what you will find.
1) Orion still thinks there is something to display even though the data is no longer being collected (the screenshot below was taken on 2017-05-27)
2) The CustomPollerAssignment table still has entries for that server
3) You can no longer see the pollers via Manage Nodes > Assign Pollers or via the Orion Universal Device Poller 32-bit application. (To be fair, you can see the assignment in the All Defined Pollers section of the 32-bit app but since you can't manage the assignments from within that view and must use the All Nodes view, and since the all nodes view doesn't show nodes that are polled by the agent, you can't actually remove the assignments to the node.)
I would love if there were a programmatic way to remove UnDP assignments but I couldn't find one. Anyone have any ideas? For nodes that are in the midst of being converted I can either a) delete the UnDP assignments before I swap them to the agent or b) delete them entirely (the historical data gets whacked anyway) and then just re-add them, but I don't have a solution for the hundred of so nodes I've already migrated.
Bueller?