Coder Social home page Coder Social logo

nazmul56 / cloudly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ninetian/cloudly

0.0 2.0 0.0 76.69 MB

A free, open-source, cross-platform servers monitoring.

Home Page: https://projectcloudly.org/demo

License: MIT License

Python 4.45% Shell 0.02% CSS 21.92% JavaScript 64.09% HTML 4.32% PHP 5.19%

cloudly's Introduction

Cloudly

Codacy Badge

Project Cloudly is "The Easiest To Setup" software to Monitor and to control your servers. It's a first line of defence for your servers and also the ultimate Management Dashboard for your Cloud. It saves you money and the energies by taking away most of the usual servers monitoring complexities allowing you to focus more on control and better use of your infrastructure.

Cloudly can scale to writing millions of data per 'second' on commodity servers with regular spinning hard drives. This is due and thanks to the technologies it utilises (e.g. Hadoop/OpenTSDB to begin with).

Cloudly is fully automated and does the servers monitoring for you with close to nothing to setup.

Installation Instructions

In order to run this project in what we call the "Enterprise Mode", please follow the installation instructions below.

Install various python modules and git
$ apt-get install git
$ apt-get install python-dev
$ apt-get install python-django
$ apt-get install python-openssl
$ apt-get install python-pip
Download the latest version of the Cloudly Project from github
$ sudo adduser cloudly
$ su - cloudly
$ git clone https://github.com/ProjectCloudly/cloudly cloudly
$ cd cloudly
Define project settings

We have prepared an example configuration, just copy it over and modify to meet your specific requirements.

$ cp -f cloudly/settings.py.sample cloudly/settings.py
Install the MongoDB and its python connectors
$ apt-get install mongodb
$ pip install pymongo
$ mongoimport --db cloudly --collection services_tags data/services_tags.json

..and configure your server to meet your specific requirements.

Install MySQL server and Create the ORM database and tables
$ apt-get install mysql-server python-mysqldb
$ sudo pip install pymysql
$ mysql -u root -p
mysql> create database cloudly;
mysql> exit;
$ python manage.py migrate --run-syncdb

Optionally configure your MySQL server to meet your specific requirements.

As for the user/password, this one needs to match the entries in the cloudly/cloudly/settings.py file.

If you get an error saying "Access denied for user 'root'@'localhost" then you'd need to edit the cloudly/settings.py and setup the DB section accordingly to your present DB settings.

Assuming this operation succeded, Django will ask you the following:

You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): no

Answer "no" to this question.

Enable Unicode on the SQL database
$ mysql -u root -p
mysql> use cloudly;
mysql> ALTER DATABASE cloudly charset=utf8;
mysql> ALTER TABLE userprofile_profile CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
  • please note that the MySQL is used only to store users profiles and sessions information.
Run the MongoDB
$ sudo mkdir /data
$ sudo mkdir /data/db
$ mongod

..and configure your server to meet your specific requirements.

Run the development server

At this point you should be able to run the administration dashboard (Django App):

$ echo Never run this as user root!
$ ./run_devel.sh

Now that you have the User Interface (Admin Dashboard) up and running you'd need to get the API started. You can do so by following the instructions in the next step.

Run the API

API server runs off of Flask therefore you'd need to install Python Flask first. To do so simply copy and paste the following into your terminal window:

$ apt-get install python-flask

Once you have the Flask installed, simply run the API like so:

$ python api.py

DB Backends

Install OpenTSDB

Cloudly runs off of Hadoop and is powered by the OpenTSBD. Please refer to the official OpenTSDB documentation for installation instructions - http://opentsdb.net/docs/build/html/installation.html

..and that's that! :)

Enjoy!

Screenshots & Live Demo

alt screen0

Demo

This project can be currently seen on https://projectcloudly.org/demo

cloudly's People

Contributors

ondrejkopal avatar martinnigel avatar mecirt avatar silvioman avatar tarikozket avatar

Watchers

James Cloos avatar Nazmul Haque 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.