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 01:40 AM . Last Modified: 2024-03-11 12:36 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 01:40 AM . Last Modified: 2024-03-11 12:36 AM
Hi All,
May i know if theres any way to create a batch file to trigger a remote self test to an UPS?
I managed to ssh into the UPS using the below command in my batch file,
start C:\USERS\Putty\putty.exe -ssh user@apcups.com -pw password
but was unable to proceed to the stage where i can execute the self-test.
Does anyone know how can i proceed from here?
Thanks
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 01:40 AM . Last Modified: 2024-03-11 12:36 AM
>
May i know if theres any way to create a batch file to trigger a remote self test to an UPS?
>
The easiest way to do this is to enable SNMP on the network management card. Get the NetSNMP suite of command line tools from here. You may also want to download GetIF for an easy GUI for experimenting with SNMP, as well as the [PowerNet MIB|http://www.apc.com/resource/include/techspec_index.cfm?base_sku=SFPMIB403].
From the batch script, you can set the upsAdvTestDiagnostics SNMP variable to "2" to initiate a self-test. Here's an example for SNMPv1:
snmpset -c private -v 1 ip_goes_here 1.3.6.1.4.1.318.1.1.1.7.2.2.0 i 2
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 01:40 AM . Last Modified: 2024-03-11 12:36 AM
>
May i know if theres any way to create a batch file to trigger a remote self test to an UPS?
>
The easiest way to do this is to enable SNMP on the network management card. Get the NetSNMP suite of command line tools from here. You may also want to download GetIF for an easy GUI for experimenting with SNMP, as well as the [PowerNet MIB|http://www.apc.com/resource/include/techspec_index.cfm?base_sku=SFPMIB403].
From the batch script, you can set the upsAdvTestDiagnostics SNMP variable to "2" to initiate a self-test. Here's an example for SNMPv1:
snmpset -c private -v 1 ip_goes_here 1.3.6.1.4.1.318.1.1.1.7.2.2.0 i 2
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.