IAmFrench / EFREI-M1-APAR83-SNMP

Groupe 8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shinken

Requirements

  • Docker engine configured with linux containers
  • The docker-compose cli (should be shipped with docker)
  • >256Mb of RAM (for dockers containers)

Installation (Clone and launch the docker stack)

# First you need to clone (or download) the repository
git clone git@github.com:IAmFrench/EFREI-M1-SNMP.git

Git Clone

# Then set your working directory inside the downloaded repository
cd EFREI-M1-SNMP

cd efrei

# And finally launch the stack
# Since you don't have on your local registry the required images, docker-compose will build them for you
# PS: The initial build will take some times
docker-compose up -d

docker-compose up docker-compose up ready

Tips: You can check your the status of your stack by using the docker-compose ps command

docker-compose ps

docker-compose ps

or using the Docker Desktop Dashboard: Docker dashboard

Tips: You can listen all logs by clicking on the project stack

Docker dashboard stack details

Access

You can open the Shinken GUI at http://localhost:80

Username: admin
Password: admin

shinken webGUI login page

Then you can view our host in the host menu shinken webGUI hosts page

Open a host and check infos about it. You can see various informations collected by the snmp agent

shinken webGUI client1

Note: The TimeSync isn't available because it check a NTP agent, we only unse SNMP for this lab.

Let's open the Disks metric from our client1 host: shinken webGUI client1 Disks link

Here is the Disks page: shinken webGUI client1 Disks page

Configuration

If you want you can add or remote host to shinken, to do so, just edit the ./shinken/config/clients.cfg file

Clean-up

# To stop and remove the stack just use the docker-compose down command with -v as an argument
docker-compose down -v

About

Groupe 8


Languages

Language:Dockerfile 70.3%Language:Shell 29.7%