Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
shinken [Le 14/11/2015, 14:23] – [Ubuntu 14.04] 78.127.91.52 | shinken [Le 09/12/2020, 16:09] (Version actuelle) – [Installation] 82.127.40.104 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | {{tag> | ||
+ | ---- | ||
+ | {{ : | ||
+ | <note important> | ||
+ | ====== Shinken ====== | ||
+ | Shinken (Katana authentique) | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | |||
+ | Jean Gabès son développeur l'a développé à l' | ||
+ | |||
+ | Il maintient la compatibilité avec les modules d' | ||
+ | |||
+ | * Architecture distribué grâce à Python, PYRO, JSON, MongoDB, memcached | ||
+ | * Interface aux données via l'API Livestatus | ||
+ | * Langage de programmation accessible et puissant, le Python | ||
+ | * Grande vélocité de développement et d' | ||
+ | * Intégration complète des bases de données du projet Graphite | ||
+ | * " | ||
+ | * et bien plus. | ||
+ | |||
+ | ===== Pré-requis ===== | ||
+ | |||
+ | * Disposer des [[: | ||
+ | * Disposer d'une connexion à Internet configurée et activée. | ||
+ | |||
+ | ===== Installation ===== | ||
+ | <code bash> | ||
+ | apt-get install python-pycurl python-setuptools nagios-plugins | ||
+ | adduser shinken | ||
+ | wget https:// | ||
+ | tar -xvzf 2.4.3.tar.gz | ||
+ | cd shinken-2.4.3 | ||
+ | python setup.py install | ||
+ | </ | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | ==== Ubuntu 14.04 ==== | ||
+ | === Interface WebUI === | ||
+ | <code bash> | ||
+ | |||
+ | chmod u+s / | ||
+ | ln -s / | ||
+ | |||
+ | |||
+ | su - shinken | ||
+ | |||
+ | shinken --init | ||
+ | shinken install webui | ||
+ | shinken install auth-cfg-password | ||
+ | shinken install sqlitedb | ||
+ | </ | ||
+ | |||
+ | <code bash>vi / | ||
+ | |||
+ | |||
+ | <file bash webui.cfg> | ||
+ | modules auth-cfg-password, | ||
+ | </ | ||
+ | |||
+ | <code bash>vi / | ||
+ | |||
+ | <file bash broker-master.cfg> | ||
+ | modules webui | ||
+ | </ | ||
+ | |||
+ | <code bash>/ | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | === Superviser via SNMP === | ||
+ | |||
+ | |||
+ | <code bash> | ||
+ | |||
+ | <code bash>vi / | ||
+ | |||
+ | <file bash ubuntu14.cfg> | ||
+ | define host{ | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | Sur la machine à superviser | ||
+ | <code bash> | ||
+ | <code bash>vi / | ||
+ | |||
+ | <file bash snmpd.conf> | ||
+ | # Listen for connections from the local system only | ||
+ | # | ||
+ | # Listen for connections on all interfaces (both IPv4 *and* IPv6) | ||
+ | agentAddress udp: | ||
+ | |||
+ | [...] | ||
+ | |||
+ | # rocommunity public defaut -V systemonly | ||
+ | rocommunity public | ||
+ | </ | ||
+ | |||
+ | <code bash>/ | ||
+ | |||
+ | |||
+ | ===== Références ===== | ||
+ | * Guide d' | ||
+ | * Nouvelles sur le projet (anglais) : [[http:// | ||
+ | * Tutorial de mise en place : [[http:// | ||
+ | * Tutoriaux complet de mise en place et d' | ||
+ | ===== Liens ===== | ||
+ | * **en** [[http:// | ||
+ | * **en** [[http:// | ||
+ | * **en** [[wpfr> | ||
+ | ---- | ||
+ | // |