dev-master
9999999-devOVH VPS/Cloud Monitoring via OVH API
GPL-3.0
The Requires
by Anmol Nagpal
OVH VPS/Cloud Monitoring via OVH API
OVH VPS/Cloud Monitoring via OVH API using PHP., (*1)
, (*2)
Create credentials : https://api.ovh.com/createToken/index.cgi?GET=/vps*&GET=/cloud*&GET=/status*, (*3)
Create monitoring.ini
file :, (*4)
application_key = your_application_key application_secret = your_application_secret endpoint = ovh-eu consumer_key = your_consumer_key
composer create-project anmolnagpal/ovh-api-monitoring
Create monitoring.ini
file next to public
directory (see Configuration)., (*5)
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
Create monitoring.ini
file (see Configuration)., (*9)
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)
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)
OVH VPS/Cloud Monitoring via OVH API
GPL-3.0