Socket
Socket
Sign inDemoInstall

@oneuptime/infrastructure-agent

Package Overview
Dependencies
149
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @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.


Version published
Maintainers
1
Created

Readme

Source

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 start --secret-key=YOUR_SECRET_KEY --oneuptime-url=https://oneuptime.com

Once its up and running you should see the metrics on the OneUptime Dashboard.

Stopping the agent

oneuptime-infrastructure-agent stop

Check the status of the agent

oneuptime-infrastructure-agent status

Logs

oneuptime-infrastructure-agent logs

Uninstalling the agent

npm uninstall -g @oneuptime/infrastructure-agent

Supported Platforms

  • Linux
  • MacOS
  • Windows

Local Development

When you're developing locally, you can run the agent in development mode to send metrics to local oneuptime server.

npm run start -- --secret-key=YOUR_SECRET_KEY --oneuptime-url=http://localhost

FAQs

Last updated on 10 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc