OVH VPS/Cloud Monitoring via OVH API
Clone or download
dependabot[bot] and jbelien Bump php from 7.2.11-apache to 7.2.12-apache (#40)
Bumps php from 7.2.11-apache to 7.2.12-apache.

Signed-off-by: dependabot[bot] <support@dependabot.com>
Latest commit 8fa0620 Dec 1, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public Update cloud.js Feb 8, 2018
.dockerignore
.gitignore Rewriting VPS monitoring May 4, 2017
Dockerfile Bump php from 7.2.11-apache to 7.2.12-apache (#40) Dec 1, 2018
LICENSE Initial commit Dec 2, 2016
README.md
composer.json Update composer.json Jan 27, 2018
index.php Apply fixes from StyleCI (#12) Jan 27, 2018
renovate.json Add renovate.json (#9) Jan 22, 2018
screenshot.png

README.md

Latest Stable Version Total Downloads Monthly Downloads Docker build Docker build

OVH-Monitoring

OVH VPS/Cloud Monitoring via OVH API using PHP.

Screenshot

Requirements

  • PHP 7.0+
  • PHP gettext extension

Configuration

First step

Create credentials : https://api.ovh.com/createToken/index.cgi?GET=/vps*&GET=/cloud*&GET=/status*

Second step

Create monitoring.ini file next to public/ folder :

application_key    = your_application_key
application_secret = your_application_secret
endpoint           = ovh-eu
consumer_key       = your_consumer_key

Install using Composer

First step

composer create-project jbelien/ovh-monitoring

Second step

Create monitoring.ini file next to public/ folder (see Configuration).

Install using Docker

First step

Build image from GitHub:

docker build --rm -t jbelien/ovh-monitoring https://github.com/jbelien/OVH-Monitoring.git

OR

Pull image from Docker Hub:

docker pull jbelien/ovh-monitoring

Second step

Create monitoring.ini file (see Configuration).

Third step

Run Docker container with your monitoring.ini mount as volume:

docker run --rm -p 80:80 -v "$PWD/monitoring.ini:/var/www/html/monitoring.ini" jbelien/ovh-monitoring

Warning: You maybe will have to fix the path to monitoring.ini file (replace $PWD/monitoring.ini by the correct path).

Fourth step

Go to http://myserver/ (using port 80) where myserver is the IP address of your server to have a look a the monitoring tool.