Displaying 2 results from an estimated 2 matches for "mge_hid2nut".
2017 Sep 19
0
Bug or feature? polling frequency = (pollfreq + pollinterval)
...I would expect it to be closer to 30 seconds, though.
If you run the driver with a few "-D" options, you will see a timestamp at the beginning of each line, and you should be able to follow the various Quick and Full update cycles.
You could comment out some of the mapping lines in the mge_hid2nut table if you don't want to waste time reading certain values:
https://github.com/networkupstools/nut/blob/v2.7.4/drivers/mge-hid.c#L1083
Note that there are some duplicates - your UPS will not have every one of those HID PDC usages (4th column).
2017 Sep 19
2
Bug or feature? polling frequency = (pollfreq + pollinterval)
Hi,
Context of my question:
* OS name and version,
Synology's distributed Linux: Linux DS 3.10.102 #15152 SMP Fri Sep 1
11:15:03 CST 2017 x86_64 GNU/Linux
* exact NUT version,
Tricky... the installed tools display:
$ /usr/sbin/upsd -V
Network UPS Tools upsd DSM6-1-15114-170518
while the one I've compiled, and its not running, displays:
$ /opt/sbin/upsd -V
Network UPS Tools upsd