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-28 02:47 AM . Last Modified: 2024-02-14 10:45 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 02:47 AM . Last Modified: 2024-02-14 10:45 PM
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
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-28 02:47 AM . Last Modified: 2024-02-14 10:45 PM
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.
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-28 02:47 AM . Last Modified: 2024-02-14 10:45 PM
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.
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.