Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

AP7920 remote access via web\ssh in script

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.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • AP7920 remote access via web\ssh in script
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Teken
Spock Teken
114
Erasmus_apc
Sisko Erasmus_apc
112
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
Anonymous user
Not applicable

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

0 Likes
4
1922
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

AP7920 remote access via web\ssh in script

Hi! I stuck with some scripting here. My goal is getting any access to AP7920 outlets actions via direct link or POST like:

curl http://username:password@api.somesite.com/test/blah?reboot=true

But I don't see any way to do it.

Second my try is failed as well because ssh troubles. I updated firmware to apc_hw02_aos390_rpdu374 but this didn't resolve the issue.

The questions - Does apc have any ways to reboot outlet from script?

Many thanks!

Labels
  • Labels:
  • Racks, Rack Accessories, & Cooling
  • Tags:
  • ap7920
  • api
  • ssh
  • web
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
voidstar_apc
Janeway voidstar_apc
Janeway

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

0 Likes
0
1921
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

Get a copy of the PowerNet MIB from here (Listed as "Firmware Upgrades: MIB"):

http://www.apc.com/us/en/tools/download/

Also get a copy of GetIF:

http://www.wtcs.org/snmp4tpc/getif.htm

Put the PowerNetMIB in GetIF's MIB folder. Then you can use GetIF (MBrowser tab after entering the NMC's IP) to walk the device (iso should be selected, just hit "start") and see what it provides over SNMP. The MIB documents all variables provided across all APC devices so the walk narrows things down to just what your device supports. GetIF also allows you to get and set individual variables, so you can play around with what you're automating.

Actual scripting depends on your platform. If you're using Windows, Net-SNMP is a good choice:

https://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/

See Answer In Context

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Replies 4
Anonymous user
Not applicable

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

0 Likes
0
1921
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

Whatever. I used "expect" and it works. But this feature with direct links (api) in web would be very usable in the automation (e.g. testing)

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

voidstar_apc
Janeway voidstar_apc
Janeway

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

0 Likes
0
1923
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

We recommend using SNMP for automation.

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

0 Likes
0
1923
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

Do you have link on docs or examples?

Thank you

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

voidstar_apc
Janeway voidstar_apc
Janeway

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

0 Likes
0
1922
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-27 11:41 PM . Last Modified: ‎2024-03-19 12:00 AM

Get a copy of the PowerNet MIB from here (Listed as "Firmware Upgrades: MIB"):

http://www.apc.com/us/en/tools/download/

Also get a copy of GetIF:

http://www.wtcs.org/snmp4tpc/getif.htm

Put the PowerNetMIB in GetIF's MIB folder. Then you can use GetIF (MBrowser tab after entering the NMC's IP) to walk the device (iso should be selected, just hit "start") and see what it provides over SNMP. The MIB documents all variables provided across all APC devices so the walk narrows things down to just what your device supports. GetIF also allows you to get and set individual variables, so you can play around with what you're automating.

Actual scripting depends on your platform. If you're using Windows, Net-SNMP is a good choice:

https://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of