Code Monkey home page Code Monkey logo

external-noc's Introduction

ISAS-FSD external NOC

About

This project aims to set up a Network Operations Center (so called NOC) providing an external monitoring for our School. In short, it will set up Prometheus, Prometheus Pushgateway, Prometheus Blackbox exporter, Prometheus Alertmanager, Prometheus Node Exporter and Grafana on a server, using docker containers and deployed with Ansible. On top of that, Traefik reverse proxy / load balancer handle the HTTP requests.

Pre-requisites

We assume that the NOC will be deployed on a Ubuntu server, on which you can access with your SSH key with the root rights.

Installation

The installation is self-managed by the nocsible script, which will download the Ansible suitcase if needed. This will ensure that every member of the team will be using the same versions of the tools such as python, pip module, ansible modules, ruby, etc.

Keybase

The secrets in this project are stored on a static yaml file on the team's keybase (/keybase/team/epfl_idevfsd/idevfsd-NOC/ansible_noc_secrets.yml). An Ansible file lookup will get them, meaning that access to this file is mandatory and that it has to be mounted.

Deployment

In our case, the deployment in done on a virtual machine hosted on a OpenStack setup by SWITCHEngines. Thus, some of the explanations might be related to that, more particularly the access rules which depends on OpenStack Neutron Security Groups.

Project's bricks

Each bricks of the project is meant to be self-contained. It should be possible to deploy each brick individually, using Ansible tags.

Usage

Install

$ git clone [email protected]:epfl-si/external-noc.git
$ cd external-noc
$ ./nocsible --check

Test

./nocsible

Prod

./nocsible --prod

Links

external-noc's People

Contributors

batkem avatar domq avatar greglebarbar avatar jdelasoie avatar multiscan avatar ponsfrilus avatar zuzu59 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zuzu59 naidu-kjml

external-noc's Issues

[FR] grafana-image-renderer

[BUG] Grafana can't read `/etc/grafana/provisioning/notifiers` anymore

Describe the bug
Grafana can't read /etc/grafana/provisioning/notifiers anymore and its logs say:
t=2019-06-01T10:21:19+0000 lvl=eror msg="Can't read alert notification provisioning files from directory" logger=provisioning.notifiers path=/etc/grafana/provisioning/notifiers error="open /etc/grafana/provisioning/notifiers: no such file or directory"

Note that 349a86b is probably the reason.

TODO: restic alert should be changed

The query (time()-restic_success)>175000 doesn't consider a successful backup therefore as site might never has been backuped. This alert rule should become (restic_start-restic_success)>175000 to be sure that every sites have a least one successful backup.

[BUG] disk full after some time

Describe the bug
Le disque se rempli rapidement après un certain temps !

C'est le dossier data/prometheus qui se rempli.

Faut regarder pourquoi ?

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.