vps-buddy
v1.0.7
Published
A simple VPS monitoring tool using PM2
Downloads
17
Readme
VPS Buddy
A simple VPS monitoring tool using PM2.
Installation
Install vps-buddy globally:
npm install -g vps-buddy
Install 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-key
If 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-key
with 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-buddy
To restart vps-buddy:
pm2 restart vps-buddy
To view logs:
pm2 logs vps-buddy
To monitor all processes:
pm2 monit
Note
Make sure to keep your secret key confidential to prevent unauthorized access to your VPS stats.