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-07-01 01:23 AM . Last Modified: 2024-03-06 01:48 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 01:23 AM . Last Modified: 2024-03-06 01:48 AM
Hello,
I have a SUA750RM1U with the AP9630 UPS Network management card 2. I need to just send a simple power off/on commands. I see that it has a telnet interface, but I was hoping there was an even easier way. Are there any tcp commands I can send it to control its power? I am using Linux, and there are no computers connected to the UPS just some equipment.
Thanks,
Bob
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-07-01 01:23 AM . Last Modified: 2024-03-06 01:48 AM
Hi Bob,
SNMP is pretty easy once it's set up. Make sure you have the net-snmp utilities for your linux distro. You'll also need a copy of [the PowerNet MIB|http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=SFPMIB405].
Then you can take a look at upsAdvControlUpsOff (.1.3.6.1.4.1.318.1.1.1.6.2.1), upsAdvControlTurnOnUPS (.1.3.6.1.4.1.318.1.1.1.6.2.6), and other useful SNMP commands in the same branch.
As an example, if your NMC has SNMP v1 enabled and allows the public community write-access to the device, then you could do this with the Net-SNMP set of tools:
# Turn the UPS off
snmpset -c public -v 1 IP_of_ups 1.3.6.1.4.1.318.1.1.1.6.2.1.0 i 3
# Turn the UPS on
snmpset -c public -v 1 IP_of_ups 1.3.6.1.4.1.318.1.1.1.6.2.6.0 i 2
I hope that helps.
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-07-01 01:23 AM . Last Modified: 2024-03-06 01:48 AM
hi bob,
i am not aware of any other way to do it besides interacting with the AP9630 either via telnet/ssh/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-07-01 01:23 AM . Last Modified: 2024-03-06 01:48 AM
Hi Bob,
SNMP is pretty easy once it's set up. Make sure you have the net-snmp utilities for your linux distro. You'll also need a copy of [the PowerNet MIB|http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=SFPMIB405].
Then you can take a look at upsAdvControlUpsOff (.1.3.6.1.4.1.318.1.1.1.6.2.1), upsAdvControlTurnOnUPS (.1.3.6.1.4.1.318.1.1.1.6.2.6), and other useful SNMP commands in the same branch.
As an example, if your NMC has SNMP v1 enabled and allows the public community write-access to the device, then you could do this with the Net-SNMP set of tools:
# Turn the UPS off
snmpset -c public -v 1 IP_of_ups 1.3.6.1.4.1.318.1.1.1.6.2.1.0 i 3
# Turn the UPS on
snmpset -c public -v 1 IP_of_ups 1.3.6.1.4.1.318.1.1.1.6.2.6.0 i 2
I hope that helps.
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.