# OCS PSU Agent

OCS PSU Agent is a remote power-management agent that monitors power usage and temperatures, lets administrators switch equipment on or off from another device, and helps keep hardware running safely. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6034/ocs-psu-agent

## Description

OCS PSU Agent is a remote power-management agent that monitors power usage and temperatures, lets administrators switch equipment on or off from another device, and helps keep hardware running safely.

## Platform availability

Available on 0 of 10 platforms.

## Links

- Docker Hub: https://hub.docker.com/r/simonsobs/ocs-psu-agent
- Official website: https://simonsobservatory.org

## Common questions

### What configuration should be present before running the OCS Inventory server setup?

Set the database address in the setup answers file, for example OCS_DB_HOST=localhost for a local database, and choose writable folders for logs, packages, and scan data during setup.

### What details are needed to troubleshoot OCS Inventory agent errors?

Provide the server and agent operating systems, OCS server and agent versions, and agent execution logs; on Windows, logs can be generated by running ocsinventory.exe /NP /DEBUG /SERVER:you_server_address in the agent install folder.

### Why might a PSU agent show as online but still fail to execute scripts?

It can send heartbeats and appear online while script execution fails because of gRPC connection errors.

### Is there a clearly documented procedure for removing a PSU agent after its target system is deleted?

No, the source states that removing a PSU agent in that situation is not clearly documented and is the subject of a user question.

---
Source: Our Local Host (https://ourlocalhost.com/app/6034/ocs-psu-agent), the self-hosted and open-source app directory.
