APC UPS Data Center & Enterprise Solutions Forum
Schneider Electric support forum for our Data Center and Business Power UPS, UPS Accessories, Software, Services, and associated commercial products designed to share knowledge, installation, and configuration.
Posted: 2021-06-28 02:47 AM
This was originally posted on APC forums on 1/23/2008
I am looking for some code to control my PDU. C++ would be great, but I could always use a batch script. I tried to create a batch script but I ended up running into problems because I cant provide a password for telnet. All I want to accomplish is to turn everything on and off by code. Maybe turn off delay.
Any help would be appreciated.
Thanks,
Steve
Posted: 2021-06-28 02:47 AM
This was originally posted on APC forums on 1/24/2008
The best way to programmatically control APC devices in my opinion is through SNMP. Once turned on, SNMP provides an interface for you to get and set variables controlling the operation of your PDU.
The [Cuddletech SNMP Paper|http://www.cuddletech.com/articles/snmp/snmp_paper.html] is an overview of the net-snmp command line toolset and its C programming API. It's a bit short on details on setting SNMP variables. For that, please refer to an earlier post on this board: [AppleScript solutions for APC interface|http://forums.isxusergroups.com/thread.jspa?threadID=1458&tstart=0].
[net-snmp|http://www.net-snmp.org/] comes with many operating systems such as Debian linux and MacOS X. They also offer a windows version for download. Lastly, GetIF is a nice tool for exploring the SNMP capabilities of your APC device.
I hope this helps.
Posted: 2021-06-28 02:47 AM
This was originally posted on APC forums on 1/24/2008
The best way to programmatically control APC devices in my opinion is through SNMP. Once turned on, SNMP provides an interface for you to get and set variables controlling the operation of your PDU.
The [Cuddletech SNMP Paper|http://www.cuddletech.com/articles/snmp/snmp_paper.html] is an overview of the net-snmp command line toolset and its C programming API. It's a bit short on details on setting SNMP variables. For that, please refer to an earlier post on this board: [AppleScript solutions for APC interface|http://forums.isxusergroups.com/thread.jspa?threadID=1458&tstart=0].
[net-snmp|http://www.net-snmp.org/] comes with many operating systems such as Debian linux and MacOS X. They also offer a windows version for download. Lastly, GetIF is a nice tool for exploring the SNMP capabilities of your APC device.
I hope this helps.
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.