nut-scanner reports each connection type separately, sanity-check suffers #1813
Labels
Data multipathing
This tag is for issues about multiple data paths to same device (multiplexing different media, MIBs)
enhancement
nut-scanner
USB-duplicate-devices
Track bugs and issues about monitoring several devices that seem identical to NUT or libusb
Milestone
Follows up from #1811 / #1810
As found during work on #1811 the nut-scanner parses each "nutdev" chains for each discovered type independently, not only for (parallelized, media/protocol-dependent) discovery, but also for final reporting, and the chains are freed just afterwards, e.g.:
On one hand, since the "nutdev" strings are emitted by virtue of a static
nutdev_num
counter innutscan_display_ups_conf()
, the matching device naming in sanity-check methods becomes opportunistic (we do try to use same counter initially, but it may generally still depend on the order we run code or skip variants).On another hand, we can not provide sanity-checks like "you have two drivers to monitor same device" (e.g. USB and SNMP, based on "serial number" and/or other data) which may be a configuration problem or not; perhaps if we make a multi-pathing driver eventually - its config should be proposed instead => #273
This issue proposes to explore changing the data and code structure to:
nutscan_display_ups_conf()
) to have reliable and definitive naming for the current runThe text was updated successfully, but these errors were encountered: