Welcome to the new Schneider Electric Community

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

Close
Important Announcement: WELCOME to the new Schneider Electric Community! Community is now no longer part of Exchange, and is now rebranded under se.com. If you have any bookmarks and links saved, we request you to update them to ensure that you continue accessing our community from this new location. For any issues that you might encounter as part of this change, please reach out to SchneiderCommunity.Support@se.com, and the team will help to get your issues resolved.
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
82629members
350279posts

What is needed to configure a smart-UPS to work with apcupsd

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.

StefanTh
Crewman
Crewman

What is needed to configure a smart-UPS to work with apcupsd

ubuntu 21.2

apcupsd

UPS:
    SRT 10K RMXLI
    Smart-USB SRT 10000

 

We have trouble to make apcupsd to communicate with our UPS, STR 10000 over Ethernet.

On a host machine we have Ubuntu 21.1, impish with latest apcupsd installed.

https is used to manage the UPS web-ui, the UPS web-ui is accessible from the host machine.

 

Any ideas why apcupsd is not able to get in touch with the UPS?

 

Do we have to add the host machine's ip address in the UPS web-ui somewhere?

Should "Required authentication cookie" be off?

 

Regards

 

"error" message from apctest

>apctest
...
...
Setting up Port
apctest FATAL ERROR in apctest.c at line 319
Unable to open UPS device.

 

 

 

The configuration file for apcups look like this

UPSTYPE pcnet
DEVICE 10.0.0.10:readonly:<long password>

 

 

UPS: Smart-UPS STR 10000, UPS is from late last year, firmware is 12.0

 

Configuration -> Security -> local users -> management

user: readonly

is enabled

type set to "readonly"

password is longer than 15 characters

 

Configuration -> network -> web access

http is off

https is on

Required authentication cookie is on

 

Configuration -> Security -> remote users -> authentication 

"Local Authentication only" is selected

No configured RADIUS server have been added

 

Configuration -> Security -> local users -> RADIUS

Two "servers exists" with IP address 0.0.0.0, it is not possible to add more

 

Tags (2)
1 Reply 1
StefanTh
Crewman
Crewman
0 Likes
0
192

Re: What is needed to configure a smart-UPS to work with apcupsd

apcupsd can be used,

 

Depending on how the UPS is configured, it is possible to apcupsd to listen in to the messages from the UPS if DEVICE parameter in the apcupsd configuration filed is comment away.

 

In this case apcupsd will accept any message with the right structure (but apcupsd will ignore the hash checksum calculation) and apcupsd can detect low battery.

 

But apcupsd have no way to detect a malacious package or if an attacker is sending false messages (like a DOS attack, battery time left = 0, the servers is shutting down)

 

If the hash calculation should be used, it is necessary with the DEVICE parameter in the apcupsd configuration file but then it must be matched with the designated user in the UPS.

 

 

Tags (1)