mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-16 23:00:51 +00:00
| .. | ||
| Jobs | ||
| Scripts | ||
| Types | ||
| Utils | ||
| Dockerfile.tpl | ||
| Index.ts | ||
| nodemon.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| sea-config.json | ||
| tsconfig.json | ||
OneUptime Infrastructure Agent
The OneUptime Infrastructure Agent is a lightweight, open-source agent that collects system metrics and sends them to the OneUptime platform. It is designed to be easy to install and use, and to be extensible.
Installation
npm i @oneuptime/infrastructure-agent -g
# You can change the host to your own host if you're self hosting the OneUptime platform.
# You can find the secret key on OneUptime Dashboard. Click on "View Monitor" and go to "Settings" tab.
oneuptime-infrastructure-agent --secret-key=YOUR_SECRET_KEY --oneuptime-url=https://oneuptime.com
Once its up and running you should see the metrics on the OneUptime Dashboard.