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 07:19 AM . Last Modified: 2024-03-07 11:14 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 07:19 AM . Last Modified: 2024-03-07 11:14 PM
I'm working on an huge processing project and I am writing a full shutdown script for the entire operation in bash. I was wondering if anyone knew any way to encorporate a manual shutdown of the UPS unit using either SNMP or SSH?
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 07:19 AM . Last Modified: 2024-03-07 11:14 PM
If your UPS' have APC's network management card installed on them, then you can use SNMP. Check out this item from the [PowerNet MIB|http://support.ipmonitor.com/mibs/POWERNET-MIB/oids.aspx]:
upsAdvControlUpsOff: 1.3.6.1.4.1.318.1.1.1.6.2.1
Values:
1) noTurnUpsOff
2) turnUpsOff
3) turnUpsOffGracefully
4) turnUpsSyncGroupOff
5) turnUpsSyncGroupOffAfterDelay
6) turnUpsSyncGroupOffGracefully
As an example, if your NMC has SNMP v1 enabled and allows the public community write-access to the device, then you could to this with the [Net-SNMP|http://net-snmp.sourceforge.net/] set of tools:
snmpset -c public -v 1 IP_of_ups 1.3.6.1.4.1.318.1.1.1.6.2.1.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-06-30 07:19 AM . Last Modified: 2024-03-07 11:14 PM
If your UPS' have APC's network management card installed on them, then you can use SNMP. Check out this item from the [PowerNet MIB|http://support.ipmonitor.com/mibs/POWERNET-MIB/oids.aspx]:
upsAdvControlUpsOff: 1.3.6.1.4.1.318.1.1.1.6.2.1
Values:
1) noTurnUpsOff
2) turnUpsOff
3) turnUpsOffGracefully
4) turnUpsSyncGroupOff
5) turnUpsSyncGroupOffAfterDelay
6) turnUpsSyncGroupOffGracefully
As an example, if your NMC has SNMP v1 enabled and allows the public community write-access to the device, then you could to this with the [Net-SNMP|http://net-snmp.sourceforge.net/] set of tools:
snmpset -c public -v 1 IP_of_ups 1.3.6.1.4.1.318.1.1.1.6.2.1.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.