#SImulate SNMP UPS in order to trigger NAS shutdown

1 messages · Page 1 of 1 (latest)

flint bramble
#

Has anyone implemented a NAS shutdown solution using a simulated UPS reporting SNMP low battery messages to a NAS (Synology)?

I got something kind of wotking with NUT where I could change the .dev file for a dummy-ups and it would shutdown the NAS but couldn't finx an easy way to use that in an automation so I started to look at using SNMP. I setup the NAS as using WebServer.

Using pysnmp and snmp-sim I was able to get a basic setup but the NAS would never connect to the SNMP server.

If anyone has any experience in connecting a NAS to a simulated UPS using SNMP please post.

Regards

plucky cloak
#

You will have to contact their/Synology technical support for further assistance. At least from their documentation around SNMP like https://kb.synology.com/en-me/DSM/help/DSM/AdminCenter/system_snmp?version=7 Nothing is mentioned about monitoring incoming SNMP notifications (TRAP/INFORM) from a UPS device (simulated or not). It might not support that functionality over SNMP. But since your NAS has a web server, you might want to see if writing a web app on it and changing the needed files via that web app. Then your simulated UPS can call that web app over HTTP to shut NAS down.

cobalt hazel
flint bramble