From the original site:
vpsinfo is a Linux server monitoring script, written in PHP, that provides web access to system status information. It gathers the output from several common Linux commands into one web page, providing a quick overview of the system's current state.
This script coded by Doubles T. Robbins was coded for VPS (Virtual Private Servers) based on Virtuozzo and OpenVZ systems, and for that reason does not work properly on VServer systems, used by Dreamhost PS.I have made a few patches on the original script (version 2.3.2) to enable all those features that were not working on our PS and I'm sharing this patched version.Clicking in the following picture you may see an example of the look and feel of vpsinfo under a Dreamhost PS:
To enable mysql reports, you need to configure these variables at the vpsinfo.php file:
// MyTop/mysqlreport needs MySQL access to read the processlist.
// You may use any MySQL database.
// If you don't use MyTop or mysqlreport just ignore this.
$my_db = "";
$my_user = "";
$my_pass = "";
$my_host = "";
And also copy in the same location (as the vpsinfo.php) the mysqlreport tool. You can download both here: [download=1] [download=2]It should run smooth on any PS, but if you find any problem don't hesitate to post a comment or a message in the forum.
Update: I seriously recommend uploading vpsinfo.php to a private location secured by a .htaccess. VPSInfo provides internal system information about your PS, and also meanwhile the page is loaded will consume some of your resources as it needs to execute several tools to generate the reports.
0 Responses to “vpsinfo: your PS status in a browser”