Skip to content

Latest commit

 

History

History
62 lines (36 loc) · 2.41 KB

README.md

File metadata and controls

62 lines (36 loc) · 2.41 KB

vps-status

A Server (VPS) Monitor that I made to quickly check the status of my FlipHost VPS. Uses SolusVM Client API. Your VPS provider must provide this, if it's not something they have, this is probably of zero interest to you.

What It Does

Shows you weather or not your chosen server is online, disk usage, RAM usage, and bandwidth usage. You can see a demo on Heroku. Click the button to refresh the page. You can also press the 'r' key on your keyboard to refresh.

There's also an option in config.php to enable live updating of values via ajax. To enable, set $dynamicUpdates = true; in config.php and refresh your page.

What It Doesn't Do

It won't notify you about anything.

How To Use It

Upload the files to your webserver. Change values in config.php to match your client api URL, enter API key and hash. Save, upload to server. Now open browser and visit server. If you uploaded index.php and the other files to the /status/ folder on your server, visit http://yourdomain.com/status/.

A Note On Memory Usage

Memory usage in the Solus API is apparently broken. The values they're reporting for usage include the cache and other things, which it shouldn't contain. iKeyZ on reddit says he reported it to Solus a while ago and they said they'd fix it, but apparently haven't followed through.

To-Do

  1. Secure folder with .htaccess logins.
  2. Update to Bootstrap 3.

I used

PHP, SolusVM Client API, Twitter Bootstrap, Flatly Bootswatch, jQuery Keymapper Plugin, and FlipHost.

How To Contribute

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Have A Picture

Here's an "Online" screenshot: Pretty Picture

And here's an "Offline" screenshot: Another Pretty Picture