-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poor Support for Minuteman UPS over SNMP? #2760
Comments
Whoa-whoa, what "this plugin", for which appliance/ecosystem? We here are about the upstream NUT project... Generally I'd ask about logs from the NUT driver, started with debug verbosity settings, as well as NUT version involved and if you have a chance to custom-build current code to test with it. Can still come to that, if we'd need to dig deeper later. At the moment, since your UPS has logins with passwords and not plain old communities, you definitely should try the settings for SNMPv3 - those sort of credentials are its concepts. |
Sorry, Its the Unraid plugin I instleed form the app store and for support it linked me kere. If i use the unraid built in one as seen in the secon set of screenshots, it pulls the info without user name and passwords. In the 3rd set of screenshots is this plugin and even with user name and password entered it will not pull the battery levels and runtime. Not sure what you need or if this is the right place. |
Then I'm also CC'ing @desertwitch to chime in here :) Alas, GitHub won't open me the images in a new tab as such, so I have to make do with the tiny ones in the ticket. Anyhow... The first pair of screenshots (with driver 3.14.14 from 2016) apparently refers to The second pair exposes a recent NUT release 2.8.2, so it should be capable of SNMPv3 and various types of crypto that come with it. Check the Examples section in https://networkupstools.org/historic/v2.8.2/docs/man/snmp-ups.html
Devices are expected to implement the IETF MIB as the lowest common denominator, this is the last lock pick a driver tries in automatic mode. More/different information may be available from vendor extension branches of SNMP OID tree, and NUT subdrivers are coded to know about some such branches and the data points they deliver (and this mapping may be getting out of date as new vendor MIB versions are released and supported by their firmwares). In your case the "delta_ups" MIB seems to have been served and thus used, see https://github.com/networkupstools/nut/blob/v2.8.2/drivers/delta_ups-mib.c#L94 for the maximum of information that it can deliver today, which is frankly not much - most of the data points (discovered in a data walk back knows when) are tucked away as "unmapped". Maybe more can be discovered from the newer device following https://github.com/networkupstools/nut/blob/master/docs/snmp-subdrivers.txt instructions. Ultimately, this needs someone to take a look at contents of these data points, give a proper name (and maybe measurement scaling) according to https://github.com/networkupstools/nut/blob/v2.8.2/docs/nut-names.txt, ideally test it with a local build of NUT - not necessarily on the same appliance, SNMP can run from anywhere, and submit a pull request. That's how open-source works, especially as nobody has all the devices under hand. FWIW, the Minuteman (note the name is with "e") is not explicitly mentioned in SNMP drivers, but is in USB, as "Delta/Minuteman" in Tripplite HID subdriver, so the discovered MIB for SNMP looks right. |
Also, the issue was a bit of misnomer: "No support" is when we can't get info from a device (e.g. unknown protocol) or it is apparently bogus (like always on battery) - so also unknown protocol to an extent. Here the served data seems reasonable, just there's not too much of it. Support does exist, it's just poor :) |
That worked, mostly. I had to change the SNMP Version to v1, else it would failt to load. (And UPS Output was close, mine is 800w) Thanks so much fo your help.
|
But still, if you are in position to roll up the sleeves to make Delta MIB more useful - that would be great and welcome too :) |
Let me know how I can help, more than willing to (just need to guide me) |
Primarily check https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests about build prerequisites and general procedure to check out and build NUT (for your case, plain You can use any interactive VM or container for this, not necessarily a production machine, as long as you can get by network from it to the UPS. |
Unable to get any connection working to my Minutman UPS with this plugin. If I stop this one and use the Unraid one, that can connect and report status.
Would like to use this plugin instead of unraids. Are we able to get support for the Minutman UPS
This is from the auto Config: (Even with this added for manual config, it still does not connect.)
This is in the unraid log:
The text was updated successfully, but these errors were encountered: