Coder Social home page Coder Social logo

bluet / vmonitor Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 35 KB

VirtualMachine and Service monitor for vSphere (VMware ESXi Cluster)

License: GNU Affero General Public License v3.0

JavaScript 96.36% CSS 0.73% Shell 1.10% Pug 1.81%
monitoring vm vmware vsphere vsphere-sdk status nodejs vmware-esxi-cluster virtualmachine service-monitor

vmonitor's Introduction

vMonitor

VirtualMachine and Service monitor for vSphere (VMware ESXi Cluster)

Installation

1. Clone the repo (or download)

git clone https://github.com/BlueT/vMonitor.git
cd vMonitor

2. Setup vsphere-vm-monitor

npm install
cp config.json.example config.json

# Edit config.json

3. Install vSphere SDK for JavaScript in vendor/vsphere-sdk/ folder

Download vsphere-1.x.x-src.tgz from https://labs.vmware.com/flings/vsphere-sdk-for-javascript (for example vsphere-1.1.0-src.tgz)
Save in vendor/vsphere-sdk/, extract it and install.

mkdir -p vendor/vsphere-sdk/
cd vendor/vsphere-sdk/

# download vsphere-1.x.x-src.tgz and save here

tar zxvf vsphere-1.1.0-src.tgz
npm install

4. Prepare Database

# Go back to project folder
cd ../../

# Prepare data folder
mkdir ./rethinkdb-data

# Start RethinkDB in docker
docker run --name rethinkdb -v "$PWD/rethinkdb-data:/data" -d rethinkdb

5. Run it

npm start

6. Check VM info

List all instance ID

Get VM instance info

Change state (Boot / Reboot / Shutdown) (Not implement yet)

vmonitor's People

Contributors

bluet avatar snyk-bot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.