Code Monkey home page Code Monkey logo

ovh-monitoring's Introduction

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.

ovh-monitoring's People

Contributors

jbelien avatar renovate[bot] avatar dependabot[bot] avatar jeremie-lesage avatar scrutinizer-auto-fixer avatar dependabot-support avatar

Watchers

Chokri B.A. avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.