Important Announcement: Community Back to Full Functionality
Dear Members, we are thrilled to announce that our Community is back to full functionality and that posts publication is now enabled again! We appreciate your patience during the last weeks. Learn more about our Community Guidelines. Thank you, Schneider Electric Community Team.
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.
Link copied. Please paste this link to share this article on your social media post.
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
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
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.
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
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.
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 forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.