Skip to content

Commit

Permalink
drivers/snmp-ups.c: add a TODO for multi-MIB approach [networkupstool…
Browse files Browse the repository at this point in the history
…s#2036]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
  • Loading branch information
jimklimov committed Sep 5, 2023
1 parent d7678dd commit 6569b97
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/snmp-ups.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,13 @@ void upsdrv_initups(void)

/* FIXME: first test if the device is reachable to avoid timeouts! */

/* FIXME: with the argument called "mibs" (plural) it could make
* sense to actually support a list of MIBs to try to get info
* from, in order of preference, e.g. both a vendor MIB and the
* IETF MIB for missing data points. Or even several vendor MIBs
* for devices from companies with a long heritage.
*/

/* Load the SNMP to NUT translation data */
load_mib2nut(mibs);

Expand Down

0 comments on commit 6569b97

Please sign in to comment.