SNMP connection setup help needed #190
-
Synology effectively blew me off with respect to updating their NUT driver(s). See #189. I decided to bypass the NAS and try to talk directly to the UPS via SNMP to see if I can fix the erroneous data display. I bought a CyberPower RMCard205 for my CP1500PFCLCDa and everything appears to work when I view UPS info in a browser, but I can't get WinNUT to talk to the UPS. I keep getting this in the log file:
and I get this error message at the bottom of the WinNut client window:
I can see a lot of OIDs when I run FrameFlow SNMP browser, so SNMP on the UPS appears to be working. Does anyone have any idea what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Hi again @Grumpy-Old-Engineer! Sorry again about the difficulties with Synology. Someone else here was using SNMP (and the same management card as well) in #126 in case that's of any use to you. I spent a few minutes looking into this further, and while that management card does support many protocols, critically it does not support the NUT protocol which is what WinNUT relies on to talk to a NUT server. I honestly would've expected a different error from WinNUT, although the idea's the same. Conveniently however, the NUT server does appear to have an SNMP driver so you can connect your NUT server to the UPS that way, then hook WinNUT back up to the NUT server. My search query was RMCard205 nut which returned several discussion threads of people getting their NUT server to talk to the UPS. I feel bad about all of the effort you're going through to fix this bug... are you sure something small like a Pi wouldn't be sufficient for running a vanilla build of NUT and monitoring your UPS by USB? |
Beta Was this translation helpful? Give feedback.
-
Yes, this is correct, I can access the UPS using a web browser. My SNMP browser shows me 486 OIDs from the UPS, so I believe that the RMCard's SNMP functionality is working.
OK, this means I missed the boat. I was under the impression that WinNut was using SNMP, and could connect directly to any UPS that supported SNMP.
Chuckle chuckle.... I actually tried this before I got an RMCard. Whatever Synology is doing to translate the UPS/SNMP data and deliver it via their Nut server provides even worse results than their UPS/USB implementation. When I configured the NAS to access the UPS using SNMP, the only non-zero values on the WinNut Client display were Frequency and Battery Voltage. UPS/USB and UPS/SNMP, Synology's performance is severely lacking. @gbakeman - I greatly appreciate the advice you've provided and the patience you've shown. Based on all of your comments, both here and in #189, it looks like I (still) either deal with displays that are crippled by Synology's lackluster performance, or I figure out how to build my own Nut server and pick somewhere to run it. |
Beta Was this translation helpful? Give feedback.
-
While sometimes it's enjoyable to gripe about other/additional problems, I started this discussion "just" asking for help to get Nut to talk SNMP to a CyberPower UPS that's using a CyberPower RMCard205 card. It seems like everybody that has provided any kind of tutorial was using USB, not SNMP, but because of Synology's antiquated Nut in DSM I wanted to find another way to do things. After spending too much time web searching and getting nowhere I went back to basics - RTFM. After several dozen iterations of [read this, try that, go back and RTFM again] I painfully realized that there doesn't appear to be any room for not-quite-right in the UPS definitions in ups.conf. Until I got to this point nothing worked for me: This looks simple now, but hindsight is usually 20/20.
I'm finally running well enough to start contemplating how I want to set up all of my upsmon.conf settings. Hopefully that will go smoother. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
While sometimes it's enjoyable to gripe about other/additional problems, I started this discussion "just" asking for help to get Nut to talk SNMP to a CyberPower UPS that's using a CyberPower RMCard205 card. It seems like everybody that has provided any kind of tutorial was using USB, not SNMP, but because of Synology's antiquated Nut in DSM I wanted to find another way to do things.
After spending too much time web searching and getting nowhere I went back to basics - RTFM. After several dozen iterations of [read this, try that, go back and RTFM again] I painfully realized that there doesn't appear to be any room for not-quite-right in the UPS definitions in ups.conf. Until I got to this…