From 704a51d3b2a357cf90e0ffa8f9f3a0897dc84c72 Mon Sep 17 00:00:00 2001 From: tth Date: Sat, 5 Jan 2019 00:19:12 +0100 Subject: [PATCH] finalement RRD c'est pas si mal --- doc/dd2-monitoring.tex | 18 ++++++++++++++++-- gnocchi/README.md | 3 +++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/doc/dd2-monitoring.tex b/doc/dd2-monitoring.tex index 801da9f..1f2819a 100644 --- a/doc/dd2-monitoring.tex +++ b/doc/dd2-monitoring.tex @@ -69,9 +69,10 @@ par exemple si des algues\footnote{ou des pleurotes.} tentent de s'échapper. Pour entreposer toutes ces valeurs numériques, il existe plusieurs choix, et nous allons en évaluer quelques uns : + \texttt{rrdb}\index{rrdb} (page \pageref{rrdb}), -\texttt{influxdb}\index{influxdb} (page \pageref{influxdb}), -\texttt{gnocchi}\index{gnocchi}... +\texttt{influxdb}\index{Influxdb} (page \pageref{influxdb}), +\texttt{gnocchi}\index{Gnocchi} (page \pageref{gnocchi}) \subsection{Affichage} @@ -120,6 +121,7 @@ Je suis parti sur quelques scripts shell, pour créer, mettre à jour et analyser les enregistrements d'une valeur de type \textsc{gauge}. \subsection{Create} + \begin{lstlisting} #!/bin/bash @@ -136,6 +138,8 @@ rrdtool create $RRDB \ \subsection{Update} \index{rrdtool} Une fois la base créée, il faut bien la remplir. +Dans cet exemple, nous allons utiliser le \textit{load} +de notre Linux. \begin{lstlisting} #!/bin/bash @@ -189,6 +193,16 @@ comme tous ces trucs de d'jeunz d'aujourd'hui\dots Au programme : écriture d'un injecteur en Perl\index{Perl}, en suivant plus ou moins l'exemple de rrdb.. +Ceci dit, en Debian stable, on n'a que la version 1.0, qui ne +correspond plus trop à l'actualité. Et la \textit{current} est +trop fatiguante à compiler pour ce soir. + +% ------------------------------------------------------------------- + +\section{Gnocchi} \label{gnocchi} \index{Gnocchi} + +\texttt{pip install gnocchi[postgresql,ceph,keystone]}, finalement, +çe ne me donne pas trop envie. % ------------------------------------------------------------------- diff --git a/gnocchi/README.md b/gnocchi/README.md index e8ad94e..7f9a5a6 100644 --- a/gnocchi/README.md +++ b/gnocchi/README.md @@ -10,3 +10,6 @@ Gnocchi takes all of that into account._ Bref, il faut essayer ce truc. Un de ces jours... +`pip install gnocchi[postgresql,ceph,keystone]` +bon, on va peut-être attendre :) +