From: Zdeněk Šustr Date: Mon, 10 Oct 2011 08:48:12 +0000 (+0000) Subject: Quis probat ipsos probatores X-Git-Tag: merge_30_head_src~6 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b64485ce33bb29fa26aaeeb0212ecd01c385a635;p=jra1mw.git Quis probat ipsos probatores --- diff --git a/org.glite.lb.doc/src/LBTP-Introduction.tex b/org.glite.lb.doc/src/LBTP-Introduction.tex index 7fd0278..d647bcd 100644 --- a/org.glite.lb.doc/src/LBTP-Introduction.tex +++ b/org.glite.lb.doc/src/LBTP-Introduction.tex @@ -111,7 +111,7 @@ Nagios\footnote{\url{http://www.nagios.org}} is a host and service monitor designed to inform you of network problems before your clients, end-users or managers do. -%\TODO{ruda: More about Nagios. How LB is integrated - LB sensors for Nagios} +There is a Nagios plugin that tests the status of the \LB server. It is discussed in detail in section~\ref{s:nagios}, page \pageref{s:nagios}. \subsubsection{ETICS} diff --git a/org.glite.lb.doc/src/LBTP-Tests.tex b/org.glite.lb.doc/src/LBTP-Tests.tex index d469761..a7cba80 100644 --- a/org.glite.lb.doc/src/LBTP-Tests.tex +++ b/org.glite.lb.doc/src/LBTP-Tests.tex @@ -73,6 +73,8 @@ Besides pure System Functionality Tests, this list also includes In-the-Wild tes \hline {\tt lb-test-permissions.sh} & Implemented & Check ownership and permission settings for config and runtime files \\ \hline +{\tt lb-test-nagios-probe.sh} & Implemented & Run the nagios probe and check results \\ +\hline \end{tabularx} \subsubsection{Event logging examples} @@ -532,6 +534,23 @@ including the checks. \result\ The status of all files should match the pre-determined mask. +\subsubsection{Nagios probe} +\label{permissions} +\req\ All \LB\ services configured and running, nagios probe\footnote{see also page \pageref{s:nagios}} installed. + +\what +\begin{enumerate} +\item Check probe for presence +\item Run the probe +\item Check if text and exit code are OK or at least consistent +\end{enumerate} + +\how\ \ctblb{lb-test-nagios-probe.sh} + +\result\ The probe has returned OK and exit code was 0. + +\note\ The probe includes artificial delays. The test takes approx. 10\,s to finish. + \section{LB ``In the Wild''---Real-World WMS Test} \req\ All \LB services running, working grid infrastructure accessible (including permissions).