1.0.7 • Published 1 year ago
vps-buddy v1.0.7
VPS Buddy
A simple VPS monitoring tool using PM2.
Installation
Install vps-buddy globally:
npm install -g vps-buddyInstall PM2 globally if you haven't already:
npm install -g pm2
Usage
Start vps-buddy:
vps-buddy pm2 [port] [secret-key]Example:
vps-buddy pm2 3000 my-secret-keyIf no port or secret key is provided, the default values (3008 and 'default-secret-key') will be used.
Enter the details into the ServerBuddy.io dashboard to monitor your VPS.
Replace
your-vps-ip,port, andyour-secret-keywith your actual VPS IP address, the port you specified (or 3008 if you didn't specify one), and your secret key.
PM2 Management
To stop vps-buddy:
pm2 stop vps-buddyTo restart vps-buddy:
pm2 restart vps-buddyTo view logs:
pm2 logs vps-buddyTo monitor all processes:
pm2 monit
Note
Make sure to keep your secret key confidential to prevent unauthorized access to your VPS stats.