Daniel Green
2015-Oct-12 20:52 UTC
[Nut-upsuser] APC Back-UPS ES 650 connected to a Synology DS411slim
All, I recently connected my UPS to my NAS. The NAS detected the UPS, and I checked the "Enable network UPS server" option and added relevant IPs to the "Permitted DiskStation devices" option. The NAS is running DSM 5.2-5592 Update 4, with a NUT version of SDS5-2-2015Q1branch-5579-15061. I then attempted to connect my desktop via SNMP. My desktop is running Arch Linux, with a NUT version of 2.7.3. I seem to be able to connect to the NAS, but snmp-ups errors out with the following message: No matching MIB found for sysOID '.1.3.6.1.4.1.8072.3.2.10'! Please report it to NUT developers, with an 'upsc' output for your device. Going back to the classic MIB detection method. No supported device detected Here is the output of upsc on the NAS: battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.date: not set battery.mfr.date: 2004/11/16 battery.runtime: 1170 battery.runtime.low: 120 battery.type: PbAc battery.voltage: 13.4 battery.voltage.nominal: 12.0 device.mfr: APC device.model: Back-UPS ES 650 device.serial: QB0447141575 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 5 driver.parameter.port: auto driver.version: SDS5-2-2015Q1branch-5579-150611 driver.version.data: APC HID 0.95 driver.version.internal: 0.38 input.sensitivity: high input.transfer.high: 138 input.transfer.low: 88 input.voltage: 118.0 input.voltage.nominal: 120 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.firmware: 818.w1.D ups.firmware.aux: w1 ups.load: 8 ups.mfr: APC ups.mfr.date: 2004/11/16 ups.model: Back-UPS ES 650 ups.productid: 0002 ups.serial: QB0447141575 ups.status: OL ups.timer.reboot: 0 ups.timer.shutdown: -1 ups.vendorid: 051d I've even extracted the contents of the attached zip file (from Synology's web site) into /usr/share/snmp/mibs/. Using the exact same configuration options, I can successfully connect from Windows XP using WinNUT 2.0.0.4. Any ideas? Thanks, Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20151012/caaf4b80/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: Synology_MIB_File.zip Type: application/zip Size: 8491 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20151012/caaf4b80/attachment.zip>
Charles Lepple
2015-Oct-14 02:58 UTC
[Nut-upsuser] APC Back-UPS ES 650 connected to a Synology DS411slim
[please use reply-all to include the list.]> On Oct 12, 2015, at 4:52 PM, Daniel Green <ddgreen at gmail.com> wrote: > > I recently connected my UPS to my NAS. The NAS detected the UPS, and I checked the "Enable network UPS server" option and added relevant IPs to the "Permitted DiskStation devices" option. The NAS is running DSM 5.2-5592 Update 4, with a NUT version of SDS5-2-2015Q1branch-5579-15061.Hmm, that "NUT version" seems to be an internal Git ID for Synology, not an actual NUT version number. Do they post their source code publicly? (It's probably at least NUT 2.7.2, but it would be handy to know what other changes were included, in case some of our standard assumptions no longer hold true.)> I then attempted to connect my desktop via SNMP. My desktop is running Arch Linux, with a NUT version of 2.7.3. I seem to be able to connect to the NAS, but snmp-ups errors out with the following message: > > No matching MIB found for sysOID '.1.3.6.1.4.1.8072.3.2.10'! > Please report it to NUT developers, with an 'upsc' output for your device. > Going back to the classic MIB detection method. > No supported device detectedDo you specifically need SNMP support, or can you use the NUT protocol for monitoring the UPS on the NAS? Hopefully, the Synology firmware also has options that correspond to the upsd.users file in NUT, which would allow upsmon on your desktop box to log in directly to the NUT upsd process on the NAS. It would be possible to extend snmp-ups to talk to the NAS, but that would add an extra upsd and snmp-ups driver process on your desktop, and I'm not sure what benefits that would have over connecting directly using the NUT protocol.> Using the exact same configuration options, I can successfully connect from Windows XP using WinNUT 2.0.0.4.WinNUT, to the best of my knowledge, only uses the NUT network protocol. -- Charles Lepple clepple at gmail
Daniel Green
2015-Oct-14 04:01 UTC
[Nut-upsuser] APC Back-UPS ES 650 connected to a Synology DS411slim
I found their source code for what appears to be the previous version of DSM (their OS), the most recent entry in the NUT Changelog is: 2012-05-31 Arnaud Quette <arnaud.quette at free.fr> * [r3643] NEWS, UPGRADING, configure.in, docs/website/news.txt: Final update for 2.6.4 release Ah ha. Nevermind the above, I tried just running upsmon and that worked (with settings taken from upsd.users on the NAS). Somehow I didn't realize upsd was not required. However, I do have a follow on question. The only entry in upsd.users on the NAS has 'upsmon master'. Can I run upsmon on my desktop as a slave, or do I need to create another user in upsd.users on the NAS with 'upsmon slave'? Thanks, Dan On Tue, Oct 13, 2015 at 10:58 PM, Charles Lepple <clepple at gmail.com> wrote:> [please use reply-all to include the list.] > > > On Oct 12, 2015, at 4:52 PM, Daniel Green <ddgreen at gmail.com> wrote: > > > > I recently connected my UPS to my NAS. The NAS detected the UPS, and I > checked the "Enable network UPS server" option and added relevant IPs to > the "Permitted DiskStation devices" option. The NAS is running DSM 5.2-5592 > Update 4, with a NUT version of SDS5-2-2015Q1branch-5579-15061. > > Hmm, that "NUT version" seems to be an internal Git ID for Synology, not > an actual NUT version number. Do they post their source code publicly? > (It's probably at least NUT 2.7.2, but it would be handy to know what other > changes were included, in case some of our standard assumptions no longer > hold true.) > > > I then attempted to connect my desktop via SNMP. My desktop is running > Arch Linux, with a NUT version of 2.7.3. I seem to be able to connect to > the NAS, but snmp-ups errors out with the following message: > > > > No matching MIB found for sysOID '.1.3.6.1.4.1.8072.3.2.10'! > > Please report it to NUT developers, with an 'upsc' output for your > device. > > Going back to the classic MIB detection method. > > No supported device detected > > Do you specifically need SNMP support, or can you use the NUT protocol for > monitoring the UPS on the NAS? > > Hopefully, the Synology firmware also has options that correspond to the > upsd.users file in NUT, which would allow upsmon on your desktop box to log > in directly to the NUT upsd process on the NAS. > > It would be possible to extend snmp-ups to talk to the NAS, but that would > add an extra upsd and snmp-ups driver process on your desktop, and I'm not > sure what benefits that would have over connecting directly using the NUT > protocol. > > > Using the exact same configuration options, I can successfully connect > from Windows XP using WinNUT 2.0.0.4. > > WinNUT, to the best of my knowledge, only uses the NUT network protocol. > > -- > Charles Lepple > clepple at gmail > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20151014/559ed34b/attachment.html>
Reasonably Related Threads
- APC Back-UPS ES 650 connected to a Synology DS411slim
- APC Back-UPS ES 650 connected to a Synology DS411slim
- APC Back-UPS ES 650 connected to a Synology DS411slim
- Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
- Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)