APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Posted: 2021-06-30 02:15 AM . Last Modified: 2024-03-10 11:54 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:15 AM . Last Modified: 2024-03-10 11:54 PM
Hi everyone,
you guys are my last hope 😉
I use an APC SmartUps 1500 UPS with my Windows Server 2016 and a Synology Disktation.
As the UPS has only one USB cable, I plugged that into my Windows Server (as the Diskstation is only backup) and installed and configured the APC PowerChute Software that allows Windows to recognize the UPS and shutdown the server once the batteries goes low.
Now I want to use the SNMP-feature that Powerchute provides to inform my Diskstation to shut down as well.
So far I have had no luck on connecting my Diskstation to my server via SNMP.
What I did so far:
-Diskstation is logged into the Windows Domain
-Windows Firewall allows all in- and outgoing connections on port 161 UDP (used for SNMP)
-installed the SNMP service on the Windows Server
-configured both PowerChute and Diskstation for hours, see attached pic
All I want is for the Powerchute-Software to send a signal to my Synology to tell it to shut down once power goes low.
Hopefully someone more knowledgeable in PowerChute and SNMP can help me out, I'm really lost at why it doens't work....
Thank you!
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:16 AM . Last Modified: 2024-03-10 11:53 PM
Hi Manfred,
The APC solution is to use the network management card (AP9630, AP9631). This works with PowerChute Network Shutdown.
Synology is running third party software called Network UPS Tools. You may be able to run that on your PCs for network shutdown.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:15 AM . Last Modified: 2024-03-10 11:54 PM
Hi,
I reviewed the Synology Knowledge Base library and did not find any information on how to set up Diskstation as a trap receiver. There is a document that discusses Diskstation Manager communication with SNMP management software. SNMP service (at Control Panel > Terminal & SNMP > SNMP) allows users to monitor Synology NAS with network management software. Currently, SNMPv1, SNMPv2c and SNMPv3 protocols are supported. https://www.synology.com/en-us/knowledgebase/DSM/help/DSM/AdminCenter/system_snmp
My recommendation is to contact Synology Inc Community. Someone in their community may have your answer. https://www.synology.com/en-us/support/community
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:15 AM . Last Modified: 2024-03-10 11:54 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:15 AM . Last Modified: 2024-03-10 11:54 PM
Hi Bill,
thank you for your reply.
I already contacted Synology, they claim it is a problem of configuring the PowerChute software.
Can you take a look at my config and tell me if I set it up correctly?
The bottom right in my screenshot-compilation is from my Synology NAS, where I configured the reception of SNMP.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:15 AM . Last Modified: 2024-03-10 11:54 PM
Hi,
I am not familiar with how Synology handles SNMP traps however I would expect the system would be listening for traps on port 162 not 161. Port 161 is used for SNMP set, get, walk.
What happens when you press trap receiver test? Do you see an error in PowerChute or does it show as trap sent? If sent does Synology list the test trap as received?
I tested with PowerSNMP Manager and see the trap sent successfully and received.
Message details were captured in PowerSNMP
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:15 AM . Last Modified: 2024-03-10 11:53 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:15 AM . Last Modified: 2024-03-10 11:53 PM
Do I have to set the Powerchute-running machine's IP in every NMS IP/Host name field?
And in "trap receiver" als well? I thought I had to set the Synology's IP as trap receiver.
Is the port in "trap receiver" supposed to be the same as in "miscellaneous"?
I received the same green verification of trap sent, but Synology cannot detect a trap sent, it doens't have this kind of feature.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:15 AM . Last Modified: 2024-03-10 11:53 PM
Hi,
On 11/15/2018 2:29 PM, Manfred said:Do I have to set the Powerchute-running machine's IP in every NMS IP/Host name field?
No. The IP can be 0.0.0.0
On 11/15/2018 2:29 PM, Manfred said:And in "trap receiver" als well? I thought I had to set the Synology's IP as trap receiver
The IP should be the trap receiver so in your case the IP of the Synology system
On 11/15/2018 2:29 PM, Manfred said:Is the port in "trap receiver" supposed to be the same as in "miscellaneous"?
I do not know what this setting is. PowerChute will send the traps to port 162
On 11/15/2018 2:29 PM, Manfred said:I received the same green verification of trap sent, but Synology cannot detect a trap sent, it doens't have this kind of feature
You should contact Synology support about this.
Below is what I found in the Synology Knowledge Base https://www.synology.com/en-us/knowledgebase/DSM/help/DSM/AdminCenter/system_hardware_ups
Your Synology NAS also supports connecting to SNMP (Simple Network Management Protocol) UPS devices. For details regarding hardware installation, please consult the user manual of your SNMP UPS device. Once the Synology NAS has been plugged into the device and connected to the same network, you can follow the steps below to enable UPS support.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:16 AM . Last Modified: 2024-03-10 11:53 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:16 AM . Last Modified: 2024-03-10 11:53 PM
Thank you for the clarification.
Synology support is working on this as well of course.
Just one question left:
in "SNMP Traps" and "Trap Receivers" do I set the port of the Trap Receiver to 162 oder 161?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:16 AM . Last Modified: 2024-03-10 11:53 PM
Hi,
Traps should use port 162.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:16 AM . Last Modified: 2024-03-10 11:53 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:16 AM . Last Modified: 2024-03-10 11:53 PM
So I finally got an answer from Synology support.
They tell me that my configuration is not supported, only direct USB to Diskstation or APC integrated networks card IN the UPS to Diskstation is ok.
Now I want to try it the other way round, attach the UPS to my Synology via USB; then use the Synology to send traps to Windows.
Can PowerChute work this way, receiving incoming SNMP traps to shutdown?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 02:16 AM . Last Modified: 2024-03-10 11:53 PM
Hi Manfred,
The APC solution is to use the network management card (AP9630, AP9631). This works with PowerChute Network Shutdown.
Synology is running third party software called Network UPS Tools. You may be able to run that on your PCs for network shutdown.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.