2017 © Pedro Peláez
 

project ovh-api-monitoring

OVH VPS/Cloud Monitoring via OVH API

image

anmolnagpal/ovh-api-monitoring

OVH VPS/Cloud Monitoring via OVH API

  • Thursday, June 22, 2017
  • by anmolnagpal
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

OVH-Monitoring

OVH VPS/Cloud Monitoring via OVH API using PHP., (*1)

Screenshot, (*2)

Configuration

First step

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

Second step

Create monitoring.ini file :, (*4)

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 anmolnagpal/ovh-api-monitoring

Second step

Create monitoring.ini file next to public directory (see Configuration)., (*5)

Install using Docker

First step

Build image from GitHub:, (*6)

docker build --rm -t anmolnagpal/ovh-api-monitoring https://github.com/anmolnagpal/ovh-api-monitoring.git

OR, (*7)

Pull image from Docker Hub:, (*8)

docker pull anmolnagpal/ovh-api-monitoring

Second step

Create monitoring.ini file (see Configuration)., (*9)

Third step

Run Docker container with your monitoring.ini mount as volume:, (*10)

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

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

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., (*12)

The Versions

22/06 2017

dev-master

9999999-dev

OVH VPS/Cloud Monitoring via OVH API

  Sources   Download

GPL-3.0

The Requires

 

by Anmol Nagpal