https://github.com/team-tritan/vps-ws-agent
grab data from vps' for uptime page using ws & node.
https://github.com/team-tritan/vps-ws-agent
node typescript websocket ws ws-agent ws-server
Last synced: about 1 month ago
JSON representation
grab data from vps' for uptime page using ws & node.
- Host: GitHub
- URL: https://github.com/team-tritan/vps-ws-agent
- Owner: Team-Tritan
- Created: 2022-09-14T03:47:05.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-20T03:33:44.000Z (over 3 years ago)
- Last Synced: 2025-02-15T12:44:28.126Z (over 1 year ago)
- Topics: node, typescript, websocket, ws, ws-agent, ws-server
- Language: TypeScript
- Homepage:
- Size: 221 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# VPS Info Agent
The purpose of this project is to grab data from pc's and send it to the server which stores it in MongoDB and is sorted by hostnames. (soonTM) will display on a site probably as a uptime page for vps'.
Currently grabs the following data from client: time, hostname, ip, platform, uptime, memory_free, total_memory.
Install scripts are located in ./scripts, they will literally automate the entire docker installation process as well as starting services in docker.
# Startup:
## **Agent**
**Run in dev:**
- npm run dev-agent
**Run in prod:**
- docker-compose up agent
OR
- npm run agent (have pm2 installed globally\*)
## **Server**
**Run in dev:**
- npm run dev-server
**Run in prod:**
- docker-compose up server
OR
- npm run server (have pm2 installed globally\*)
## **Web Companion**
**Run in dev:**
- npm run dev-web
**Run in prod:**
- docker-compose up web
OR
- npm run web (have pm2 installed globally\*)
# Contributing
Feel free to do any changes or submit any PR's :p
# License
No license kek