Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84262members
353367posts

Run commands against a PDU remotely over ssh?

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.

Solved
cameronredux_apc
Cadet
0 Likes
3
764

Run commands against a PDU remotely over ssh?

This was originally posted on APC forums on 8/17/2015


We have about 40 APC PDUs consisting of ap8841, ap8858 and ap8868.

I would like to build a little bash script that will run out to each PDU and get bkReading and devReading pf for multi bank PDUs and phReading all current for single bank PDUs but I can't access that info remotely over ssh like I can if trying to access a server remotely to gather remote data.

I have to actually log in manually and enter the command.

Is there a way to run commands against the PDU remotely over ssh?

Is ther a way to upload a public SSH key to the PDU so passwords are not required?

Tags (3)

Accepted Solutions
Terry_Kennedy_apc
Commander
Commander
0 Likes
0
764

Re: Run commands against a PDU remotely over ssh?

This was originally posted on APC forums on 8/19/2015


You probably want to use a protocol with lower overhead like SNMP.

See Answer In Context

3 Replies 3
Terry_Kennedy_apc
Commander
Commander
0 Likes
0
765

Re: Run commands against a PDU remotely over ssh?

This was originally posted on APC forums on 8/19/2015


You probably want to use a protocol with lower overhead like SNMP.

BillP
Administrator Administrator
Administrator
0 Likes
0
764

Re: Run commands against a PDU remotely over ssh?

This reply was originally posted by Jordan on APC forums on 8/20/2015


Hi Cameron,

I would suggest reviewing the document in the link below which may answer many of your questions:

http://www2.schneider-electric.com/resources/sites/SCHNEIDER_ELECTRIC/content/live/FAQS/156000/FA156...

Regards,

cameronredux_apc
Cadet
0 Likes
0
764

Re: Run commands against a PDU remotely over ssh?

This was originally posted on APC forums on 8/20/2015


Thanks Terry,

I was going about this the wrong way. SNMP is a better route and I am having success getting the data I need over SNMP v3.

Narrowing down the right OIDs on the AP88xx line and building my little bash script is on my tasklist for today 🙂

This will let me calculate the sum of the loads of a primary/secondary pair of PDUs to ensure I am not breaching a combined 80% in case we loose a circuit and all load rolls to the other pair member. Tying that into a cron every 10 min or so and sending an email alert into our noc will give me a little peace of mind 🙂

Off topic but next step will be getting all the PDUs into cacti. Are there any templates for the AP88xx series of PDUs?