<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Le blog de NicoLargo &#187; Nagios</title> <atom:link href="http://blog.nicolargo.com/category/open-source/nagios-open-source/feed" rel="self" type="application/rss+xml" /><link>http://blog.nicolargo.com</link> <description>&#34;La connaissance est la seule chose qui s&#039;accroit lorsqu&#039;on la partage.&#34;</description> <lastBuildDate>Thu, 02 Sep 2010 08:38:02 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Nagios 3.2.2 est disponible, les scripts Nicolargo aussi !</title><link>http://blog.nicolargo.com/2010/09/nagios-3-2-2-est-disponible-les-scripts-nicolargo-aussi.html</link> <comments>http://blog.nicolargo.com/2010/09/nagios-3-2-2-est-disponible-les-scripts-nicolargo-aussi.html#comments</comments> <pubDate>Thu, 02 Sep 2010 08:26:38 +0000</pubDate> <dc:creator>NicoLargo</dc:creator> <category><![CDATA[Nagios]]></category> <category><![CDATA[Open-source]]></category> <category><![CDATA[Reseau]]></category> <category><![CDATA[3.2.2]]></category> <category><![CDATA[installation]]></category> <category><![CDATA[mise à jour]]></category> <category><![CDATA[script]]></category><guid
isPermaLink="false">http://blog.nicolargo.com/?p=3499</guid> <description><![CDATA[C&#8217;est la rentrée des classes dans le mini-monde de la supervision: en bon élève Nagios sort une nouvelle version de son coeur (Nagios Core 3.2.2). Pour une liste complète des nouveautés et corrections de bugs, je vous conseille la lecture de cette page. En parallèle j&#8217;ai modifié les scripts d&#8217;installation et de mise à jour de Nagios [...]]]></description> <content:encoded><![CDATA[<p><img
style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  class="alignright size-full wp-image-529" title="Nagios logo" src="http://blog.nicolargo.com/wp-content/uploads/2007/10/smalllogo7.png" alt="" width="160" height="119" />C&#8217;est la rentrée des classes dans le mini-monde de la supervision: en bon élève Nagios sort une nouvelle version de son coeur (Nagios Core 3.2.2). Pour une liste complète des nouveautés et corrections de bugs, je vous conseille <a
href="http://www.nagios.org/development/history/core-3x">la lecture de cette page</a>.</p><p>En parallèle j&#8217;ai modifié les scripts <a
href="http://blog.nicolargo.com/2010/01/script-dinstallation-automatique-de-nagios.html">d&#8217;installation</a> et de <a
href="http://blog.nicolargo.com/2010/03/script-de-mise-a-jour-automatique-de-nagios.html">mise à jour</a> de Nagios pour qu&#8217;il prenne en compte cette nouvelle version.</p><p>Si vous avez suivi <a
href="http://blog.nicolargo.com/2009/01/le-serveur-de-supervision-libre-part-2.html">mon tutoriel d&#8217;installation de Nagios</a> (ou que vous avez utilisé <a
href="http://blog.nicolargo.com/2010/01/script-dinstallation-automatique-de-nagios.html">le script</a>), il suffit de saisir les commande suivantes pour effectuer une mise à jour de votre serveur:</p><blockquote><p>wget http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiosautoupdate-ubuntu.sh</p><p>chmod a+x nagiosautoupdate-ubuntu.sh</p><p>sudo ./nagiosautoupdate-ubuntu.sh</p></blockquote><p><span
style="text-decoration: underline;">Attention</span>: cette méthode de mise à jour ne fonctionnera pas si vous avez installé Nagios à partir des dépôts officiels de votre distribution.</p><p>Et hop !</p><div
id="aspdf"> <a
href="http://blog.nicolargo.com/wp-content/plugins/as-pdf/generate.php?post=3499"> <span> </span> </a></div> ]]></content:encoded> <wfw:commentRss>http://blog.nicolargo.com/2010/09/nagios-3-2-2-est-disponible-les-scripts-nicolargo-aussi.html/feed</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Nouvelle version 1.4.15 pour les plugins Nagios</title><link>http://blog.nicolargo.com/2010/07/nouvelle-version-1-4-15-pour-les-plugins-nagios.html</link> <comments>http://blog.nicolargo.com/2010/07/nouvelle-version-1-4-15-pour-les-plugins-nagios.html#comments</comments> <pubDate>Wed, 28 Jul 2010 11:29:17 +0000</pubDate> <dc:creator>NicoLargo</dc:creator> <category><![CDATA[Nagios]]></category> <category><![CDATA[Open-source]]></category> <category><![CDATA[1.4.15]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[script]]></category> <category><![CDATA[ubuntu]]></category><guid
isPermaLink="false">http://blog.nicolargo.com/?p=3384</guid> <description><![CDATA[Nagios, l&#8217;outil de supervision libre, se base sur un système de plugin pour surveiller les éléments de votre réseau. Une nouvelle version (1.4.15) vient d&#8217;être mise à disposition (voir la liste des nouveautés ici). Pour mettre à jour votre serveur, deux solutions: suivre cette procédure que j&#8217;avais écrite il y a quelques temps utiliser le script [...]]]></description> <content:encoded><![CDATA[<div><p
style="text-align: center;"><img
style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter" title="Nagios plugins" src="http://blog.nicolargo.com/wp-content/uploads/2009/09/screenshot_001.png" alt="Nagios plugins" width="607" height="226" /></p><p><a
href="http://blog.nicolargo.com/nagios-tutoriels-et-documentations">Nagios</a>, l&#8217;outil de supervision libre, se base sur un système de plugin pour surveiller les éléments de votre réseau. Une nouvelle version (1.4.15) vient d&#8217;être mise à disposition (voir <a
href="http://www.monitoring-fr.org/2010/07/nagios-plugins-1-4-15/">la liste des nouveautés ici</a>).</p><p>Pour mettre à jour votre serveur, deux solutions:</p><ul><li><a
href="http://blog.nicolargo.com/2008/07/mise-a-jour-des-plugins-dans-nagios.html">suivre cette procédure</a> que j&#8217;avais écrite il y a quelques temps</li><li>utiliser le script shell <a
href="http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiospluginsautoupdate-ubuntu.sh">nagiospluginsautoupdate-ubuntu.sh</a></li></ul><p>Dans ce deuxième cas, il faut suivre les étapes suivantes:</p><h1>Récupération du script</h1><p>On lance la commande suivante pour télécharger le script sur son serveur et le rendre exécutable:</p><pre class="brush: bash;">

wget http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiospluginsautoupdate-ubuntu.sh

chmod a+x nagiospluginsautoupdate-ubuntu.sh
</pre><p>PS: vous pouvez télécharger le script directement par l&#8217;URL suivante:</p><p
style="text-align: center;"><a
href="http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiospluginsautoupdate-ubuntu.sh">http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiospluginsautoupdate-ubuntu.sh</a></p><h1>Lancement du script</h1><p>Il suffit ensuite de lancer le script et de répondre aux questions posées par le système:</p><pre class="brush: bash;">
sudo ./nagiospluginsautoupdate-ubuntu.sh
</pre><h1>Et si la mise à jour se passe mal ?</h1><p>Le script archive la configuration n-1, il suffit donc d&#8217;ouvrir un terminal et de saisir les commandes suivantes pour revenir dans l&#8217;ancienne version:</p><pre class="brush: bash;">
cd /
sudo tar zxvf /tmp/nagiosplugins-backup.tgz
</pre><h1>Informations sur la mise à jour</h1><p>Si tout est ok, le message suivant devrait s&#8217;afficher:</p><pre>Nagios Plugins version   1.4.15</pre><p>Bonne upgrade !</p></div><div
id="aspdf"> <a
href="http://blog.nicolargo.com/wp-content/plugins/as-pdf/generate.php?post=3384"> <span> </span> </a></div> ]]></content:encoded> <wfw:commentRss>http://blog.nicolargo.com/2010/07/nouvelle-version-1-4-15-pour-les-plugins-nagios.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Script de mise à jour automatique de Nagios</title><link>http://blog.nicolargo.com/2010/03/script-de-mise-a-jour-automatique-de-nagios.html</link> <comments>http://blog.nicolargo.com/2010/03/script-de-mise-a-jour-automatique-de-nagios.html#comments</comments> <pubDate>Mon, 22 Mar 2010 14:17:39 +0000</pubDate> <dc:creator>NicoLargo</dc:creator> <category><![CDATA[Developpement]]></category> <category><![CDATA[Nagios]]></category> <category><![CDATA[Open-source]]></category> <category><![CDATA[Reseau]]></category> <category><![CDATA[Systeme]]></category> <category><![CDATA[mise à jour]]></category> <category><![CDATA[nagios]]></category> <category><![CDATA[script]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[update]]></category><guid
isPermaLink="false">http://blog.nicolargo.com/?p=2855</guid> <description><![CDATA[Aprés l&#8217;installation automatique, voici un nouveau script shell &#8220;maison&#8221; permettant de mettre simplement à jour votre serveur Nagios (core et plugins inclus). Ce script est une synthése des articles &#8220;Comment mettre à jour son serveur Nagios ?&#8221; et &#8220;Mise à jour des plugins Nagios&#8220;. Le script est distribué sous licence GPL. Libre à vous de [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://blog.nicolargo.com/wp-content/uploads/2008/10/nagios-logo.png" rel="lightbox[2855]"><img
style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  class="alignright" title="nagios-logo.png" src="http://blog.nicolargo.com/wp-content/uploads/2008/10/nagios-logo.png" alt="" width="287" height="77" /></a>Aprés <a
href="http://blog.nicolargo.com/2010/01/script-dinstallation-automatique-de-nagios.html">l&#8217;installation automatique</a>, voici un nouveau script shell &#8220;maison&#8221; permettant de mettre simplement à jour votre serveur Nagios (core et plugins inclus). Ce script est une synthése des articles &#8220;<a
href="../2008/04/comment-mettre-a-jour-son-serveur-nagios.html">Comment  mettre à jour son serveur Nagios ?&#8221;</a> et &#8220;<a
href="../2008/07/mise-a-jour-des-plugins-dans-nagios.html">Mise  à jour des plugins Nagios</a>&#8220;. Le script est distribué sous licence GPL.  Libre à vous de le modifier pour l&#8217;adapter à vos besoins. Si des  âmes charitables veulent modifier le script pour l&#8217;adapter à d&#8217;autres  distribution GNU/Linux ou BSD, je suis preneur pour les mettre en  téléchargement sur mon serveur.</p><h1>Récupération du script</h1><p>On lance la commande suivante pour télécharger le script sur son  serveur et le rendre exécutable:</p><blockquote><p>wget http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiosautoupdate-ubuntu.sh</p><p>chmod a+x nagiosautoupdate-ubuntu.sh</p></blockquote><p>PS: vous pouvez télécharger le script directement par l&#8217;URL suivante:</p> <address
style="text-align: center;"><a
href="http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiosautoupdate-ubuntu.sh">http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiosautoupdate-ubuntu.sh</a></address><h1>Lancement du script</h1><p>Il suffit ensuite de lancer le script et de répondre aux questions  posées par le système:</p><blockquote><p>sudo ./nagiosautoupdate-ubuntu.sh</p></blockquote><h1>Et si la mise à jour se passe mal ?</h1><p>Le script archive la configuration n-1, il suffit donc d&#8217;ouvrir un terminal et de saisir les commandes suivantes pour revenir dans l&#8217;ancienne version:</p><blockquote><p>cd /</p><p>sudo tar zxvf /tmp/nagios-backup.tgz</p></blockquote><h1>Informations sur la mise à jour</h1><p>Dans la version 0.1 du script la mise à jour se fera vers:</p><pre>Nagios Core version      3.2.2
Nagios Plugins version   1.4.15</pre><div
id="aspdf"> <a
href="http://blog.nicolargo.com/wp-content/plugins/as-pdf/generate.php?post=2855"> <span> </span> </a></div> ]]></content:encoded> <wfw:commentRss>http://blog.nicolargo.com/2010/03/script-de-mise-a-jour-automatique-de-nagios.html/feed</wfw:commentRss> <slash:comments>21</slash:comments> </item> <item><title>Soutien à Nagios-FR</title><link>http://blog.nicolargo.com/2010/02/soutient-a-nagios-fr.html</link> <comments>http://blog.nicolargo.com/2010/02/soutient-a-nagios-fr.html#comments</comments> <pubDate>Tue, 23 Feb 2010 10:21:30 +0000</pubDate> <dc:creator>NicoLargo</dc:creator> <category><![CDATA[Nagios]]></category> <category><![CDATA[Open-source]]></category> <category><![CDATA[nagios]]></category> <category><![CDATA[nagios-fr]]></category><guid
isPermaLink="false">http://blog.nicolargo.com/?p=2772</guid> <description><![CDATA[La communauté libre de Nagios-FR est en ébullition depuis les échanges de mails entre Ethan (le concepteur de Nagios), sa femme Marry (qui s&#8217;occupe de l&#8217;administration Nagios Enterprise) et Olivier Jan (de Nagios-FR). Bien que je trouve la réaction d&#8217;Olivier un peu trop excessive par rapport au premier mail de Marry, c&#8217;est celle d&#8217;Ethan qui [...]]]></description> <content:encoded><![CDATA[<p>La communauté libre de Nagios-FR est en ébullition depuis <a
href="http://www.nagios-fr.org/2010/02/accuse-nagios-fr-org-levez-vous/">les échanges de mails </a>entre Ethan (le concepteur de Nagios), sa femme Marry (qui s&#8217;occupe de l&#8217;administration Nagios Enterprise) et Olivier Jan (de Nagios-FR). Bien que je trouve la réaction d&#8217;Olivier un peu trop excessive par rapport au premier mail de Marry, c&#8217;est celle d&#8217;Ethan qui me choque le plus mais sans me surprendre.</p><p>Comme vous avez pu le constater je parle de moins en moins de Nagios (même si <a
href="http://blog.nicolargo.com/nagios-tutoriels-et-documentations">la page réunissant les billets sur le sujet</a> reste la plus consulté de mon blog).  Même si la raison principale est que, de part mon activité professionnelle, je m&#8217;intéresse moins à la supervision système/réseau, je suis de moins en moins positif par rapport aux orientations prise par Nagios. Les priorités ne sont pas mises aux bons endroits, en effet, &#8220;Nagios Enterprise&#8221; met de coté les aspects techniques (évolution du produit, prise en compte des demandes des utilisateurs) par rapport aux cotés &#8220;business&#8221; (support, maintenance, gestion de la marque (c) Nagios, communication&#8230;).</p><p>Nous retombons ici sur l&#8217;éternel problème de l&#8217;industrialisation d&#8217;une solution libre. Je ne pense pas que les méthodes de &#8220;Nagios Enterprise&#8221; soient les bonnes. L&#8217;avenir nous le dira. Il serait dommage que les 10 ans d&#8217;efforts d&#8217;Ethan pour développer une solution libre et ouverte de supervision réseau soient réduit à néant. D&#8217;autant plus que la concurrence avance de son coté (voir par exemple <a
href="http://www.zabbix.com/">Zabbix</a>).</p><p>A suivre&#8230;</p><div
id="aspdf"> <a
href="http://blog.nicolargo.com/wp-content/plugins/as-pdf/generate.php?post=2772"> <span> </span> </a></div> ]]></content:encoded> <wfw:commentRss>http://blog.nicolargo.com/2010/02/soutient-a-nagios-fr.html/feed</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Superviser l&#8217;espace disque avec Nagios via SNMP</title><link>http://blog.nicolargo.com/2010/01/superviser-lespace-disque-avec-nagios-via-snmp.html</link> <comments>http://blog.nicolargo.com/2010/01/superviser-lespace-disque-avec-nagios-via-snmp.html#comments</comments> <pubDate>Fri, 22 Jan 2010 14:17:56 +0000</pubDate> <dc:creator>NicoLargo</dc:creator> <category><![CDATA[Nagios]]></category> <category><![CDATA[Open-source]]></category> <category><![CDATA[disque]]></category> <category><![CDATA[nagios]]></category> <category><![CDATA[snmp]]></category><guid
isPermaLink="false">http://blog.nicolargo.com/2010/01/superviser-lespace-disque-avec-nagios-via-snmp.html</guid> <description><![CDATA[Voici une méthode simple rapide et efficace (enfin plus rapide à mettre en place que NRPE) pour surveiller l&#8217;espace disque disponible de ses machines Linux/BSD/Windows à partir de Nagios en utilisant le protocole SNMP. Les pré-requis sont les suivants: avoir un Nagios correctement installé la machine à surveiller doit héberger un serveur SNMP dont la [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://blog.nicolargo.com/wp-content/uploads/2010/01/disquedur-e1264169068723.png" rel="lightbox[2674]"><img
style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-full wp-image-2673" title="disquedur" src="http://blog.nicolargo.com/wp-content/uploads/2010/01/disquedur-e1264169068723.png" alt="Disque dur" width="580" height="166" /></a></p><p>Voici une méthode simple rapide et efficace (enfin plus rapide à mettre en place que NRPE) pour surveiller l&#8217;espace disque disponible de ses machines Linux/BSD/Windows à partir de Nagios en utilisant le protocole SNMP.</p><p>Les pré-requis sont les suivants:</p><ul><li>avoir un <a
href="http://blog.nicolargo.com/nagios-tutoriels-et-documentations">Nagios</a> correctement installé</li><li>la machine à surveiller doit héberger <a
href="http://blog.nicolargo.com/2008/02/installation-dun-serveur-snmp-sous-linux.html">un serveur SNMP</a> dont la configuration permette au serveur Nagios de lire les informations (l&#8217;accès read-only v1/v2 de SNMP est suffisant)</li><li>suivre la suite de ce billet <img
src='http://blog.nicolargo.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></li></ul><h1>Configuration de la machine à surveiller</h1><p>Après avoir installé et configuré son serveur SNMP, il faut ajouter la ligne suivante au fichier de configuration snmpd.conf (la localisation de ce dernier est os dépendant):</p><pre class="brush: bash;">
disk / 100000
</pre><p><em>PS: le deuxième paramètre permet de fixer le seuil en dessous duquel une alerte SNMP est remontée. Il n&#8217;est pas très important pour nous car c&#8217;est Nagios qui va générer cette alerte avec nos propres valeurs.</em></p><p>On doit bien sûr relancer le service snmpd pour lire la configuration, par exemple:</p><pre class="brush: bash;">
/etc/init.d/snmpd restart
</pre><h1>Configuration du serveur Nagios</h1><p>La première chose à faire est de vérifier que l&#8217;on arrive bien à récupérer les informations SNMP sur la machine à surveiller (d&#8217;adresse IP 192.168.0.200 dans notre exemple). Pour cela on peut utiliser la commande suivante:</p><pre class="brush: bash;">
snmpget -v 1 -c public 192.168.0.200 .1.3.6.1.4.1.2021.9.1.9.1
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 32
</pre><p>La commande a réussi. On a bien récupéré la valeur 32 par SNMP. Donc On a 32% d&#8217;espace disque occupé sur le disque de la machine 192.168.0.200.</p><p>On configure Nagios de la manière suivante, on édite le fichier commands.cfg:</p><pre class="brush: bash;">
#################
# check_snmp_disk
#################

# Check free disk space using SNMP (add the &quot;disk 1000000&quot; line to the snmpd.conf)

define command{

command_name	check_snmp_disk

command_line	$USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.2021.9.1.9.1 -C $ARG1$ -w $ARG2$ -c $ARG3$ -u &quot;% used&quot;

}
</pre><p>Puis on configure le service pour la machine à surveiller (dans un autre fichier comme par exemple services.cfg):</p><pre class="brush: bash;">

define service{
use			generic-service
host_name               Ma_Machine_192.168.0.200
service_description 	DISK SPACE
check_command 		check_snmp_disk!public!90!95
}
</pre><p>La fonction check_snmp_disk prend 3 paramètres:</p><ul><li>le nom de la communauté SNMP (public)</li><li>le seuil au dessus duquel un warning est généré par Nagios (<span
style="color: #ff6600;">90%</span>)</li><li>le seuil au dessus duquel un error est généré par Nagios (<span
style="color: #ff0000;">95%</span>)</li></ul><p>Il ne reste plus qu&#8217;a relancer Nagios pour prendre en compte la configuration !</p><div
id="aspdf"> <a
href="http://blog.nicolargo.com/wp-content/plugins/as-pdf/generate.php?post=2674"> <span> </span> </a></div> ]]></content:encoded> <wfw:commentRss>http://blog.nicolargo.com/2010/01/superviser-lespace-disque-avec-nagios-via-snmp.html/feed</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Script d&#8217;installation automatique de Nagios</title><link>http://blog.nicolargo.com/2010/01/script-dinstallation-automatique-de-nagios.html</link> <comments>http://blog.nicolargo.com/2010/01/script-dinstallation-automatique-de-nagios.html#comments</comments> <pubDate>Wed, 06 Jan 2010 09:36:31 +0000</pubDate> <dc:creator>NicoLargo</dc:creator> <category><![CDATA[Developpement]]></category> <category><![CDATA[Nagios]]></category> <category><![CDATA[Open-source]]></category> <category><![CDATA[Reseau]]></category> <category><![CDATA[Systeme]]></category> <category><![CDATA[installation]]></category> <category><![CDATA[nagios]]></category> <category><![CDATA[script]]></category><guid
isPermaLink="false">http://blog.nicolargo.com/?p=2555</guid> <description><![CDATA[Il y a plusieurs méthodes pour installer Nagios, le système de supervision libre, sur un nouveau serveur. La plus simple est d&#8217;utiliser les dépôts officiels de votre distribution GNU/Linux, avec le désavantage de ne pas avoir les dernières versions disponibles. La seconde est de suivre pas à pas mon tutoriel (PART 1 et 2) qui [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://blog.nicolargo.com/wp-content/uploads/2008/10/nagios-logo.png" rel="lightbox[2555]"><img
style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  class="alignright size-full wp-image-1399" title="nagios-logo.png" src="http://blog.nicolargo.com/wp-content/uploads/2008/10/nagios-logo.png" alt="" width="287" height="77" /></a>Il y a plusieurs méthodes pour installer Nagios, le système de supervision libre, sur un nouveau serveur. La plus simple est d&#8217;utiliser les dépôts officiels de votre distribution GNU/Linux, avec le désavantage de ne pas avoir les dernières versions disponibles. La seconde est de suivre pas à pas mon tutoriel (<a
href="http://blog.nicolargo.com/2009/01/le-serveur-de-supervision-libre-part-1.html">PART 1</a> et <a
href="http://blog.nicolargo.com/2009/01/le-serveur-de-supervision-libre-part-2.html">2</a>) qui permet de faire une compilation depuis les sources. Je vous propose dans ce billet une troisième voie, qui mixe la simplicité de la première méthode et la finesse de la seconde.</p><p>J&#8217;ai développé un petit script (sous licence GPL) permettant d&#8217;automatiser l&#8217;installation d&#8217;un serveur Nagios complet sur une distribution GNU/Linux Ubuntu (j&#8217;ai validé le script sur Ubuntu 9.10). Libre à vous de modifier ce script pour l&#8217;adapter à vos besoins. Si des âmes charitables veulent modifier le script pour l&#8217;adapter à d&#8217;autres distribution GNU/Linux ou BSD, je suis preneur pour les mettre en téléchargement sur mon SVN.</p><h1>Récupération du script</h1><p>On lance la commande suivante pour télécharger le script sur son serveur et le rendre exécutable:</p><p
style="padding-left: 30px;">wget http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiosautoinstall-ubuntu.sh</p><p
style="padding-left: 30px;">chmod a+x nagiosautoinstall-ubuntu.sh</p><p>PS: vous pouvez télécharger le script directement par l&#8217;URL suivante:</p> <address
style="text-align: center;"><a
href="http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiosautoinstall-ubuntu.sh">http://svn.nicolargo.com/nagiosautoinstall/trunk/nagiosautoinstall-ubuntu.sh</a></address><h1>Lancement du script</h1><p>Il suffit ensuite de lancer le script et de répondre aux questions posées par le système:</p><blockquote><p>sudo ./nagiosautoinstall-ubuntu.sh</p></blockquote><h1>Informations sur l&#8217;installation</h1><p>Dans la version 0.1 du script la configuration finale est la suivante:</p><pre>Nagios Core version      3.2.2
Nagios Plugins version   1.4.15
Utilisateur système:     nagios
Groupe système:          nagios
<span style="color: #808080;">URL de l'interface Web:  </span><a href="http://localhost/nagios/"><span style="color: #808080;"><span style="color: #000000;">http://localhost/nagios/</span></span></a>
Utilisateur pour l'interface Web: nagiosadmin</pre><div
id="aspdf"> <a
href="http://blog.nicolargo.com/wp-content/plugins/as-pdf/generate.php?post=2555"> <span> </span> </a></div> ]]></content:encoded> <wfw:commentRss>http://blog.nicolargo.com/2010/01/script-dinstallation-automatique-de-nagios.html/feed</wfw:commentRss> <slash:comments>28</slash:comments> </item> <item><title>Centreon 2.1 est disponible</title><link>http://blog.nicolargo.com/2009/09/centreon-2-1-est-disponible.html</link> <comments>http://blog.nicolargo.com/2009/09/centreon-2-1-est-disponible.html#comments</comments> <pubDate>Tue, 22 Sep 2009 11:26:46 +0000</pubDate> <dc:creator>NicoLargo</dc:creator> <category><![CDATA[Nagios]]></category> <category><![CDATA[Open-source]]></category> <category><![CDATA[Reseau]]></category> <category><![CDATA[Systeme]]></category> <category><![CDATA[centreon]]></category><guid
isPermaLink="false">http://blog.nicolargo.com/?p=2246</guid> <description><![CDATA[Centreon, le très controversé complément de Nagios vient de sortir en version 2.1.  Je rappelle que la procédure d&#8217;installation de Centreon est disponible ici. (update: Pierre-Yves a dégoté quelques nouvelles fonctions&#8230;) Voici la liste complète des fonctionnalités/corrections de bugs (en Anglais, désolé pas le temps de traduire&#8230;)&#8230; add Timezone Management in check period for hosts and services [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: center;"><img
style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-large wp-image-2247" title="Centreon" src="http://blog.nicolargo.com/wp-content/uploads/2009/09/screenshot_005-1024x283.png" alt="Centreon" width="717" height="198" /></p><p>Centreon, le très controversé complément de Nagios vient de sortir en version 2.1.  Je rappelle que la procédure d&#8217;installation de Centreon <a
href="http://blog.nicolargo.com/2009/01/le-serveur-de-supervision-libre-part-3.html">est disponible ici</a>. (<em>update</em>: Pierre-Yves a dégoté <a
href="http://blog.admin-linux.org/supervision/centreon-2-1-vient-de-sortir">quelques nouvelles fonctions</a>&#8230;)</p><p>Voici la liste complète des fonctionnalités/corrections de bugs (en Anglais, désolé pas le temps de traduire&#8230;)&#8230;</p><p><span
id="more-2246"></span></p><ul><li><span
style="background-color: #ffffff;">add Timezone Management in check period for hosts and services</span></li><li><span
style="background-color: #ffffff;">add Timezone Management in notifications period for hosts and services</span></li><li><span
style="background-color: #ffffff;">add Timezone Management for user view</span></li><li><span
style="background-color: #ffffff;">add Configuration changelog</span></li><li><span
style="background-color: #ffffff;">add Action ACL</span></li><li><span
style="background-color: #ffffff;">add update current user ACL view</span></li><li><span
style="background-color: #ffffff;">Improve MySQL request in monitoring</span></li><li><span
style="background-color: #ffffff;">Improve Centstorage status DB generation</span></li><li><span
style="background-color: #ffffff;">add unhandled view in service monitoring page</span></li><li><span
style="background-color: #ffffff;">add unhandled view in host monitoring page</span></li><li><span
style="background-color: #ffffff;">add search in treeviews</span></li><li><span
style="background-color: #ffffff;">add custom colors for host/service acknowledgement status in monitoring</span></li><li><span
style="background-color: #ffffff;">add custom colors for host/service downtime status in monitoring</span></li><li><span
style="background-color: #ffffff;">add new menu ajax for a better navigation</span></li><li><span
style="background-color: #ffffff;">add shortcut for autologin</span></li><li><span
style="background-color: #ffffff;">improve LDAP management</span></li><li><span
style="background-color: #ffffff;">add user login/logout log</span></li><li><span
style="background-color: #ffffff;">add log for sql requets.</span></li><li><span
style="background-color: #ffffff;">improve generation for configuration files</span></li><li><span
style="background-color: #ffffff;">improve restart message</span></li><li><span
style="background-color: #ffffff;">add toolbar with activity message (loading, messsage sent&#8230;)</span></li><li><span
style="background-color: #ffffff;">add ajax for external command in object details in monitoring</span></li><li><span
style="background-color: #ffffff;">add nagios poller interface (nagios style)</span></li><li><span
style="background-color: #ffffff;">add env var view for nagios poller</span></li><li><span
style="background-color: #ffffff;">fix problem with colors in eventlogs</span></li><li><span
style="background-color: #ffffff;">fix problem with multi version upgrade</span></li><li><span
style="background-color: #ffffff;">improve nagios statistics graphs color</span></li><li><span
style="background-color: #ffffff;">fix problem with data in nagios statistics graphs</span></li><li><span
style="background-color: #ffffff;">fix problem with sql upgrade script</span></li><li><span
style="background-color: #ffffff;">change color of configuration and administration tab</span></li><li><span
style="background-color: #ffffff;">remove problem with duplicate function require</span></li><li><span
style="background-color: #ffffff;">fix bug with init script for nagios path</span></li><li><span
style="background-color: #ffffff;">improve translation</span></li><li><span
style="background-color: #ffffff;">add option -p (snmp port) on SNMP plugins</span></li><li><span
style="background-color: #ffffff;">fix pb with HG pages (toolbar more action not working for enable / disable)</span></li><li><span
style="background-color: #ffffff;">remove warning on centstorage</span></li><li><span
style="background-color: #ffffff;">fix problem wit &#8211;del on centcore for rsync</span></li><li><span
style="background-color: #ffffff;">fix: error on host configuration page</span></li><li><span
style="background-color: #ffffff;">fix: error on service configuration page</span></li><li><span
style="background-color: #ffffff;">fix: error with color of status in eventlog</span></li><li><span
style="background-color: #ffffff;">enhancement: add status type on host and service monitoring page</span></li><li><span
style="background-color: #ffffff;">fix: remove hardcoded path in install</span></li><li><span
style="background-color: #ffffff;">fix: remove error in DB class</span></li><li><span
style="background-color: #ffffff;">fix: remove error durint shelle install</span></li><li><span
style="background-color: #ffffff;">fix: remove problems with accents in image management pages</span></li><li><span
style="background-color: #ffffff;">fix: remove warning in csv export of reporting</span></li><li><span
style="background-color: #ffffff;">fix: generation of SNMP traps definition files</span></li><li><span
style="background-color: #ffffff;">fix: nagios debug_level works</span></li><li><span
style="background-color: #ffffff;">fix: AJAXed div&#8217;s were not translated</span></li><li><span
style="background-color: #ffffff;">enhancement : new CentreonLang class that manages user&#8217;s language and charset</span></li><li><span
style="background-color: #ffffff;">fix: remove problem with generation of service by hostgroup</span></li><li><span
style="background-color: #ffffff;">fix: remove problem with ACL and function getHostService</span></li><li><span
style="background-color: #ffffff;">fix: remove ACL in hostgroups</span></li><li><span
style="background-color: #ffffff;">fix: remove warning in censtorage</span></li><li><span
style="background-color: #ffffff;">fix: remove warning in cencore</span></li><li><span
style="background-color: #ffffff;">fix: english wording</span></li><li><span
style="background-color: #ffffff;">fix: remove ldap import pb</span></li><li><span
style="background-color: #ffffff;">fix: change scaled problem by default</span></li><li><span
style="background-color: #ffffff;">fix: slope mode in graph is enabled by default</span></li><li><span
style="background-color: #ffffff;">fix: fix date period selection in reporting</span></li><li><span
style="background-color: #ffffff;">Task #1009 :  [Configuration] &gt; [Commands] : Better behavior of forms</span></li><li><span
style="background-color: #ffffff;">fix #1001 : Centstorage Incorrect masks applied on created directories</span></li><li><span
style="background-color: #ffffff;">fix #999 : GMT Bug (period not defined)</span></li><li><span
style="background-color: #ffffff;">fix #998 : Pagination bug</span></li><li><span
style="background-color: #ffffff;">fix #950 : Bug in Centstorage</span></li><li><span
style="background-color: #ffffff;">fix #925 : Removes spaces in beginning and end of translatable strings</span></li><li><span
style="background-color: #ffffff;">fix #340 : Configuration generator problems</span></li><li><span
style="background-color: #ffffff;">fix #379 : Meta Services bugs</span></li><li><span
style="background-color: #ffffff;">Adds icons in Eventlogs &amp; Graph views search bars</span></li><li><span
style="background-color: #ffffff;">fix: remove use of rsync due to protocol problem with different version of rsync</span></li><li><span
style="background-color: #ffffff;">fix: improve log use in centcore</span></li><li><span
style="background-color: #ffffff;">fix: improve requests performance in monitoring</span></li><li><span
style="background-color: #ffffff;">fix #1089 : Problem with host and service configuration form on &#8220;view&#8221; mode</span></li><li><span
style="background-color: #ffffff;">fix #1089 : Media/Images issue</span></li><li><span
style="background-color: #ffffff;">fix #1088 : Duplication problem</span></li><li><span
style="background-color: #ffffff;">fix #1040 : ArchiveDayLog scripted could be executed twice in a day because of an NTP sync</span></li><li><span
style="background-color: #ffffff;">fix #1038 : Entered LDAP passwords were logged in a log file in case of a login failure</span></li><li><span
style="background-color: #ffffff;">fix #1032 : Incorrect values in flash charts due to translations</span></li><li><span
style="background-color: #ffffff;">fix #1023 : New Acknowledgement System</span></li><li><span
style="background-color: #ffffff;">fix #1021 : Nagios files were generated even on de activated pollers</span></li><li><span
style="background-color: #ffffff;">fix: improve monitoring sql request</span></li><li><span
style="background-color: #ffffff;">fix: Add ACL for Meta services</span></li><li><span
style="background-color: #ffffff;">fix: add foreign keys for hg and sg relations table for ACL</span></li><li><span
style="background-color: #ffffff;">fix: add foreign keys actions rules table on ACL</span></li><li><span
style="background-color: #ffffff;">fix: error in graph (4 graphs view)</span></li><li><span
style="background-color: #ffffff;">fix: escalation generation in distributed mode</span></li><li><span
style="background-color: #ffffff;">fix: issue when we add a service -&gt; request problem</span></li><li><span
style="background-color: #ffffff;">fix: generation problem for host template</span></li><li><span
style="background-color: #ffffff;">fix: configuration changlog insert problem</span></li><li><span
style="background-color: #ffffff;">fix: configuration &gt; plugins page Options</span></li></ul><div
id="aspdf"> <a
href="http://blog.nicolargo.com/wp-content/plugins/as-pdf/generate.php?post=2246"> <span> </span> </a></div> ]]></content:encoded> <wfw:commentRss>http://blog.nicolargo.com/2009/09/centreon-2-1-est-disponible.html/feed</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Nouvelle version 1.4.14 pour les plugins Nagios</title><link>http://blog.nicolargo.com/2009/09/nouvelle-version-1-4-14-pour-les-plugins-nagios.html</link> <comments>http://blog.nicolargo.com/2009/09/nouvelle-version-1-4-14-pour-les-plugins-nagios.html#comments</comments> <pubDate>Thu, 17 Sep 2009 09:05:36 +0000</pubDate> <dc:creator>NicoLargo</dc:creator> <category><![CDATA[Nagios]]></category> <category><![CDATA[Open-source]]></category><guid
isPermaLink="false">http://blog.nicolargo.com/?p=2232</guid> <description><![CDATA[Nagios, l&#8217;outil de supervision libre, se base sur un système de plugin pour surveiller les éléments de votre réseau. Une nouvelle version (1.4.14) vient d&#8217;être mise à disposition (voir la liste des nouveautés ici).  Pour mettre à jour votre serveur, il suffit de suivre cette procédure que j&#8217;avais écrite il y a quelques temps. Bonne [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: center;"><img
style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-full wp-image-2233" title="Nagios plugins" src="http://blog.nicolargo.com/wp-content/uploads/2009/09/screenshot_001.png" alt="Nagios plugins" width="607" height="226" /></p><p><a
href="http://blog.nicolargo.com/nagios-tutoriels-et-documentations">Nagios</a>, l&#8217;outil de supervision libre, se base sur un système de plugin pour surveiller les éléments de votre réseau. Une nouvelle version (1.4.14) vient d&#8217;être mise à disposition (voir <a
href="http://nagios-fr.org/2009/09/nagios-plugin-1414">la liste des nouveautés ici</a>).  Pour mettre à jour votre serveur, il suffit de <a
href="http://blog.nicolargo.com/2008/07/mise-a-jour-des-plugins-dans-nagios.html">suivre cette procédure</a> que j&#8217;avais écrite il y a quelques temps.</p><p>Bonne upgrade !</p><div
id="aspdf"> <a
href="http://blog.nicolargo.com/wp-content/plugins/as-pdf/generate.php?post=2232"> <span> </span> </a></div> ]]></content:encoded> <wfw:commentRss>http://blog.nicolargo.com/2009/09/nouvelle-version-1-4-14-pour-les-plugins-nagios.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Un nouveau livre en Francais sur Nagios 3.0</title><link>http://blog.nicolargo.com/2009/08/un-nouveau-livre-en-francais-sur-nagios-3-0.html</link> <comments>http://blog.nicolargo.com/2009/08/un-nouveau-livre-en-francais-sur-nagios-3-0.html#comments</comments> <pubDate>Tue, 25 Aug 2009 12:47:48 +0000</pubDate> <dc:creator>NicoLargo</dc:creator> <category><![CDATA[Nagios]]></category> <category><![CDATA[Open-source]]></category> <category><![CDATA[Reseau]]></category> <category><![CDATA[Systeme]]></category> <category><![CDATA[livre]]></category> <category><![CDATA[nagios]]></category><guid
isPermaLink="false">http://blog.nicolargo.com/2009/08/un-nouveau-livre-en-francais-sur-nagios-3-0.html</guid> <description><![CDATA[Je viens d&#8217;apprendre (merci Sacha) la sortie d&#8217;un nouveau livre traitant de la supervision système et réseau et de Nagios en particulier. L&#8217;auteur est Jean Gabès, administrateur système de profession et qui a également écrit quelques bons articles dans le fameux Linux magazine. Le titre du livre est &#8220;Nagios 3 pour la supervision et la [...]]]></description> <content:encoded><![CDATA[<p>Je viens d&#8217;apprendre (merci Sacha) la sortie d&#8217;un nouveau livre traitant de la supervision système et réseau et de <a
href="http://blog.nicolargo.com/nagios-tutoriels-et-documentations">Nagios</a> en particulier. L&#8217;auteur est <a
href="http://www.gabes.fr/jean/">Jean Gabès</a>, administrateur système de profession et qui a également écrit quelques bons articles dans le fameux Linux magazine. Le titre du livre est &#8220;Nagios 3 pour la supervision et la métrologie : Déploiement, configuration et optimisation&#8221; aux éditions Eyrolles.</p><p
style="text-align: center;"><a
href="http://www.amazon.fr/gp/product/2212124732?ie=UTF8&amp;tag=leblogdenico-21&amp;linkCode=as2&amp;camp=1642&amp;creative=19458&amp;creativeASIN=2212124732"><img
src="http://ecx.images-amazon.com/images/I/51dIdu7LQ1L._SL160_.jpg" border="0" alt="" /></a></p><p>Je viens de commander ce livre, je vous fait un retour dès que je l&#8217;aurai entre les mains.</p><div
id="aspdf"> <a
href="http://blog.nicolargo.com/wp-content/plugins/as-pdf/generate.php?post=2126"> <span> </span> </a></div> ]]></content:encoded> <wfw:commentRss>http://blog.nicolargo.com/2009/08/un-nouveau-livre-en-francais-sur-nagios-3-0.html/feed</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Mise à jour de Nagios 3.2.0</title><link>http://blog.nicolargo.com/2009/08/mise-a-jour-de-nagios-3-2-0.html</link> <comments>http://blog.nicolargo.com/2009/08/mise-a-jour-de-nagios-3-2-0.html#comments</comments> <pubDate>Mon, 17 Aug 2009 08:31:07 +0000</pubDate> <dc:creator>NicoLargo</dc:creator> <category><![CDATA[Nagios]]></category> <category><![CDATA[Open-source]]></category> <category><![CDATA[Reseau]]></category> <category><![CDATA[3.2.0]]></category> <category><![CDATA[core]]></category> <category><![CDATA[nagios]]></category><guid
isPermaLink="false">http://blog.nicolargo.com/2009/08/mise-a-jour-de-nagios-3-2-0.html</guid> <description><![CDATA[L&#8217;équipe de développement de Nagios n&#8217;a pas pris de longues vacances cette année. En effet, ils ont profité de notre absence pour sortir une version 3.2.0 du cœur de leur logiciel de supervision (voir le changelog ici). Vous pouvez lire ce billet pour mettre à jour votre Nagios d&#8217;une version 3.x vers cette version 3.2.0.]]></description> <content:encoded><![CDATA[<div
align="center"><img
style="max-width: 800px;" src="http://blog.nicolargo.com/wp-content/uploads/2009/08/screenshot_001.png" /></div><p>L&#8217;équipe de développement de Nagios n&#8217;a pas pris de longues vacances cette année. En effet, ils ont profité de notre absence pour sortir une version 3.2.0 du cœur de leur logiciel de supervision (voir le <a
href="http://www.nagios.org/development/history/core-3x">changelog ici</a>). Vous pouvez <a
href="http://blog.nicolargo.com/2008/04/comment-mettre-a-jour-son-serveur-nagios.html">lire ce billet</a> pour mettre à jour votre Nagios d&#8217;une version 3.x vers cette version 3.2.0.</p><div
class="zemanta-pixie"><img
class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=85d16210-bb8c-8ad2-a02a-dbca5f6d6969" /></div><div
id="aspdf"> <a
href="http://blog.nicolargo.com/wp-content/plugins/as-pdf/generate.php?post=2098"> <span> </span> </a></div> ]]></content:encoded> <wfw:commentRss>http://blog.nicolargo.com/2009/08/mise-a-jour-de-nagios-3-2-0.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 1/40 queries in 0.011 seconds using memcached
Object Caching 894/967 objects using memcached

Served from: blog.nicolargo.com @ 2010-09-02 19:48:19 -->