<?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>ITbeam, blog informatique</title>
	<atom:link href="http://www.itbeam.fr/feed" rel="self" type="application/rss+xml" />
	<link>http://www.itbeam.fr</link>
	<description>Blog regroupant mes trouvailles au quotiden ainsi que des tutos concernant la virtualisation, l&#039;univers Microsoft, linux, la téléphonie sur IP et bien d&#039;autres...</description>
	<lastBuildDate>Thu, 11 Apr 2013 15:40:40 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Configuration de nagios pour utiliser Active Directory comme authentification</title>
		<link>http://www.itbeam.fr/archives/396?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=configuration-de-nagios-pour-utiliser-active-directory-comme-authentification</link>
		<comments>http://www.itbeam.fr/archives/396#comments</comments>
		<pubDate>Wed, 03 Apr 2013 14:21:09 +0000</pubDate>
		<dc:creator>kiolul</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Supervision]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.itbeam.fr/?p=396</guid>
		<description><![CDATA[Et voici un petit tuto afin de faire du SSO avec Nagios et un annuaire de type Active Directory. Les forces en présences: Nagios 3.5...]]></description>
				<content:encoded><![CDATA[<p>Et voici un petit tuto afin de faire du SSO avec Nagios et un annuaire de type Active Directory.</p>
<p>Les forces en présences:</p>
<ul>
<li>Nagios 3.5 sous Ubuntu 12.04.2 LTS</li>
<li>Un bel AD en niveau de forêt 2003</li>
</ul>
<h4>Création d&rsquo;un utilisateur Bind</h4>
<p style="text-align: justify;">Il faut dans un premier temps créer un compte dans l&rsquo;AD de &laquo;&nbsp;bind&nbsp;&raquo; avec des droits réduits afin de pouvoir vérifier les login saisis. Ce dernier pourra être réutiliser pour d&rsquo;autres SSO.</p>
<p style="text-align: justify;">Ouvrir une console Utilisateur et ordinateurs Active Directory puis créer un nouvel utilisateur:</p>
<p style="text-align: justify;"><a href="http://www.itbeam.fr/wp-content/uploads/2013/04/figure1.png" rel="lightbox[396]" title="Configuration de nagios pour utiliser Active Directory comme authentification"><img class="alignnone size-medium wp-image-397" alt="figure1" src="http://www.itbeam.fr/wp-content/uploads/2013/04/figure1-300x209.png" width="300" height="209" /></a></p>
<p style="text-align: justify;">Remplir les différents champs et saisir un nom d&rsquo;utilisateur (éviter les espaces):</p>
<p style="text-align: justify;"><a href="http://www.itbeam.fr/wp-content/uploads/2013/04/figure2.png" rel="lightbox[396]" title="Configuration de nagios pour utiliser Active Directory comme authentification"><img class="alignnone size-medium wp-image-398" alt="figure2" src="http://www.itbeam.fr/wp-content/uploads/2013/04/figure2-300x252.png" width="300" height="252" /></a></p>
<p style="text-align: justify;">Saisir un mot de passe et cocher les options &laquo;&nbsp;L&rsquo;utilisateur ne peut pas changer de mot de passe&nbsp;&raquo; et &laquo;&nbsp;Le mot de passe n&rsquo;expire jamais&nbsp;&raquo;:</p>
<p style="text-align: justify;"><a href="http://www.itbeam.fr/wp-content/uploads/2013/04/figure3.png" rel="lightbox[396]" title="Configuration de nagios pour utiliser Active Directory comme authentification"><img class="alignnone size-medium wp-image-399" alt="figure3" src="http://www.itbeam.fr/wp-content/uploads/2013/04/figure3-300x252.png" width="300" height="252" /></a></p>
<p style="text-align: justify;">Terminer l&rsquo;assistant de création d&rsquo;utilisateur. Petite astuce au passage, dans votre console vous pouvez afficher les fonctionnalités avancées (cf image) afin de pouvoir obtenir des informations supplémentaires concernant les comptes comme par exemple le distinguishedName dans l&rsquo;onglet éditeur d&rsquo;attributs. Ceci sera bien pratique pour la suite.</p>
<p style="text-align: justify;"><a href="http://www.itbeam.fr/wp-content/uploads/2013/04/Capture.png" rel="lightbox[396]" title="Configuration de nagios pour utiliser Active Directory comme authentification"><img class="alignnone size-medium wp-image-400" alt="Capture" src="http://www.itbeam.fr/wp-content/uploads/2013/04/Capture-300x153.png" width="300" height="153" /></a></p>
<p style="text-align: justify;">Nous allons maintenant donner des droits de délégations réduits à notre bind en cliquant droit sur notre domaine et délégation de contrôle:</p>
<p style="text-align: justify;"><a href="http://www.itbeam.fr/wp-content/uploads/2013/04/figure5.png" rel="lightbox[396]" title="Configuration de nagios pour utiliser Active Directory comme authentification"><img class="alignnone size-medium wp-image-401" alt="figure5" src="http://www.itbeam.fr/wp-content/uploads/2013/04/figure5-300x209.png" width="300" height="209" /></a></p>
<p style="text-align: justify;">Débuter l&rsquo;assistant et choisissez notre utilisateur bind précédemment créé:</p>
<p style="text-align: justify;"><a href="http://www.itbeam.fr/wp-content/uploads/2013/04/figure6.png" rel="lightbox[396]" title="Configuration de nagios pour utiliser Active Directory comme authentification"><img class="alignnone size-medium wp-image-402" alt="figure6" src="http://www.itbeam.fr/wp-content/uploads/2013/04/figure6-300x229.png" width="300" height="229" /></a></p>
<p style="text-align: justify;">Créer une tâche personnalisée de délégation:</p>
<p style="text-align: justify;"><a href="http://www.itbeam.fr/wp-content/uploads/2013/04/figure7.png" rel="lightbox[396]" title="Configuration de nagios pour utiliser Active Directory comme authentification"><img class="alignnone size-medium wp-image-403" alt="figure7" src="http://www.itbeam.fr/wp-content/uploads/2013/04/figure7-300x229.png" width="300" height="229" /></a></p>
<p style="text-align: justify;">Puis restreindre ce dernier aux Objets utilisateurs seulement:</p>
<p style="text-align: justify;"><a href="http://www.itbeam.fr/wp-content/uploads/2013/04/figure8.png" rel="lightbox[396]" title="Configuration de nagios pour utiliser Active Directory comme authentification"><img class="alignnone size-medium wp-image-404" alt="figure8" src="http://www.itbeam.fr/wp-content/uploads/2013/04/figure8-300x229.png" width="300" height="229" /></a></p>
<p style="text-align: justify;">Définir les droits sur lire toutes les propriétés et nous aurons notre utilisateur bind fonctionnel:</p>
<p style="text-align: justify;"><a href="http://www.itbeam.fr/wp-content/uploads/2013/04/figure9.png" rel="lightbox[396]" title="Configuration de nagios pour utiliser Active Directory comme authentification"><img class="alignnone size-medium wp-image-405" alt="figure9" src="http://www.itbeam.fr/wp-content/uploads/2013/04/figure9-300x229.png" width="300" height="229" /></a></p>
<h4 style="text-align: justify;">Modification dans apache pour communiquer avec l&rsquo;AD</h4>
<p>Il faut dans un premier temps ajouter le module ldap à apache:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>[root@ ~]# a2enmod ldap</td>
</tr>
</tbody>
</table>
<p>Puis ensuite modifier soit votre vhost si vous en avez créé un soit le fichier apache de nagios par défaut (/etc/apache2/conf.d/nagios.conf) en ajoutant ces lignes:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td style="text-align: justify;">
<p style="text-align: justify;">&#8230;</p>
<p style="text-align: justify;">&lt;Directory &laquo;&nbsp;/usr/local/nagios/sbin&nbsp;&raquo;&gt;<br />
Options ExecCGI<br />
AllowOverride None<br />
Order allow,deny<br />
Allow from all</p>
<p style="text-align: justify;">AuthType Basic<br />
AuthName &laquo;&nbsp;Network Credentials Required&nbsp;&raquo;<br />
AuthBasicProvider ldap<br />
AuthzLDAPAuthoritative on<br />
AuthLDAPURL &laquo;&nbsp;ldap://mon_dc.domain.local:389/ou=test,dc=domain,dc=local?sAMAccountName?sub?(objectClass=*)&nbsp;&raquo;<br />
AuthLDAPBindDN &laquo;&nbsp;ldapbind@domain.local&nbsp;&raquo;<br />
AuthLDAPBindPassword &laquo;&nbsp;PASSWORD&nbsp;&raquo;<br />
Require ldap-group CN=nagios_users,OU=test,DC=domain,DC=local</p>
<p style="text-align: justify;"># AuthName &laquo;&nbsp;Nagios Access&nbsp;&raquo;<br />
# AuthType Basic<br />
# AuthUserFile /usr/local/nagios/etc/htpasswd.users<br />
# Require valid-user<br />
&lt;/Directory&gt;</p>
<p style="text-align: justify;">Alias /nagios &laquo;&nbsp;/usr/local/nagios/share&nbsp;&raquo;</p>
<p style="text-align: justify;">&lt;Directory &laquo;&nbsp;/usr/local/nagios/share&nbsp;&raquo;&gt;<br />
Options FollowSymLinks<br />
AllowOverride None<br />
Order allow,deny<br />
Allow from all</p>
<p style="text-align: justify;">AuthType Basic<br />
AuthName &laquo;&nbsp;Network Credentials Required&nbsp;&raquo;<br />
AuthBasicProvider ldap<br />
AuthzLDAPAuthoritative on<br />
AuthLDAPURL &laquo;&nbsp;ldap://mon_dc.domain.local:389/ou=test,dc=domain,dc=local?sAMAccountName?sub?(objectClass=*)&nbsp;&raquo;<br />
AuthLDAPBindDN &laquo;&nbsp;ldapbind@domain.local&nbsp;&raquo;<br />
AuthLDAPBindPassword &laquo;&nbsp;PASSWORD&nbsp;&raquo;<br />
Require ldap-group CN=nagios_users,OU=test,DC=domain,DC=local</p>
<p style="text-align: justify;"># AuthName &laquo;&nbsp;Nagios Access&nbsp;&raquo;<br />
# AuthType Basic<br />
# AuthUserFile /usr/local/nagios/etc/htpasswd.users<br />
# Require valid-user<br />
&lt;/Directory&gt;</p>
<p style="text-align: justify;">&#8230;</p>
</td>
</tr>
</tbody>
</table>
<p>Le paramètre Require ldap-group permet de filtrer les utilisateurs ayant accès à l&rsquo;applicatif en devant être membre du groupe spécifié.</p>
<p style="text-align: justify;">Si vous rencontrez des problèmes durant la configuration, vous pouvez activer un mode de debug avancé en ajoutant &laquo;&nbsp;LogLevel debug&nbsp;&raquo; dans la conf du vhost.</p>
<p style="text-align: justify;">Il ne nous reste plus qu&rsquo;à modifier le fichier /usr/local/nagios/etc/cgi.cfg qui contient peut être des restrictions de droits concernant les personnes connectées.</p>
<p style="text-align: justify;">Par exemple dans le mien, seul l&rsquo;utilisateur nagiosadmin pouvait accéder au hôtes etc&#8230;</p>
<p style="text-align: justify;">Ceci se trouve dans les différents paramètres comme authorized_for_system_information=nagiosadmin.</p>
<p style="text-align: justify;">Il faut remplacer nagiosadmin par * afin que tous les utilisateurs ayant le droit de se logguer puissent avoir l&rsquo;accès.</p>
<p style="text-align: justify;">Tout devrait rouler par la suite.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itbeam.fr/archives/396/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation d&#8217;une solution de Web Conferencing Open Source</title>
		<link>http://www.itbeam.fr/archives/349?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installation-dune-solution-de-web-conferencing-open-source</link>
		<comments>http://www.itbeam.fr/archives/349#comments</comments>
		<pubDate>Mon, 28 Jan 2013 11:06:06 +0000</pubDate>
		<dc:creator>kiolul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[Web Meetings]]></category>

		<guid isPermaLink="false">http://www.itbeam.fr/?p=349</guid>
		<description><![CDATA[Après recherche et comparatif des différentes solutions disponibles (cf wikipedia), le choix c&#8217;est porté entre OpenMeetings et BigBlueButton. Le premier dispose de plus de fonctionnalité...]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">Après recherche et comparatif des différentes solutions disponibles (cf <a href="http://en.wikipedia.org/wiki/Comparison_of_web_conferencing_software">wikipedia)</a>, le choix c&rsquo;est porté entre OpenMeetings et BigBlueButton.</p>
<p style="text-align: justify;">Le premier dispose de plus de fonctionnalité surtout l&rsquo;intégration LDAP importante en entreprise mais à mon gout à une interface austère et peu &laquo;&nbsp;userfriendly&nbsp;&raquo;. Le second est beaucoup plus simple d&rsquo;utilisation mais limité en fonctionnalité malgré le fait qu&rsquo;il dispose d&rsquo;un client Android.</p>
<p style="text-align: justify;">Les 2 solutions ont de toutes façons dans leurs roadmap un passage en HTML5 au lieu de Flash actuellement ce qui devrait améliorer leurs compatibilité avec les solutions mobiles iOS, Android et WP (avec leurs pendants tablettes).</p>
<p style="text-align: justify;">Etant en entreprise nous retiendrons OpenMeetings car la connexion avec l&rsquo;AD nous est indispensable (qui a dit que les utilisateurs avaient une passoire à la place de la tête et que la multiplication des mots de passe plus complexes que &laquo;&nbsp;azerty&nbsp;&raquo; était bloquant&#8230;^^).</p>
<p style="text-align: justify;">Donc en avant pour la maquette un classique Ubuntu Serveur 12.04LTS x64 sur une machine virtuelle. On fait les mises à jours nécessaires et on commence à installer les dépendances. Je tiens à préciser que je me suis basé sur le <a href="http://www.guillaume-p.net/installation-et-configuration-serveur-visioconference-openmeeting-sur-ubuntu-lts-10-04/">tutoriel</a> de Guillaume POMENTE pour mon installation.</p>
<h3 style="text-align: justify;">Installation des dépendances</h3>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td>#sudo aptitude install unzip mysql-server  imagemagick ghostscript openoffice.org-base openoffice.org-writer openoffice.org-calc openoffice.org-impress openoffice.org-draw openoffice.org-math openoffice.org-filter-mobiledev openoffice.org-filter-binfilter msttcorefonts pstoedit libpaper-utils ttf-dejavu libart-2.0-2 libt1-5 sox libmp3lame-dev libxvidcore-dev zlib1g-dev libogg-dev sox libvorbis0a libvorbis-dev libfaac-dev libfaad-dev libgsm1 libgsm1-dev libfaad2 yasm pkg-config make checkinstall</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Pour information depuis la version d&rsquo;OpenOffice 3, nous n&rsquo;avons plus besoin d&rsquo;intégrer le paquet <strong>office.org-headless  </strong>car ceci est directement intégré.</p>
<h3 style="text-align: justify;">Installation de SWFTools</h3>
<p style="text-align: justify;">J&rsquo;ai choisi d&rsquo;ajouter le repository tiers concernant ce paquet:</p>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td>#sudo -E add-apt-repository ppa:guilhem-fr/swftools<br />
#sudo apitude update<br />
#sudo aptitude install swftools</td>
</tr>
</tbody>
</table>
<h3>Installation du JRE Sun</h3>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td>#sudo add-apt-repository ppa:webupd8team/java<br />
#sudo apt-get update<br />
#sudo apt-get install oracle-java7-installer</td>
</tr>
</tbody>
</table>
<h3>Compilation et installation de ffmpeg pour les enregistrements</h3>
<p>Téléchargement du package et installation de ce dernier depuis un dossier temporaire:</p>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td># cd /tmp<br />
# wget http://ffmpeg.org/releases/ffmpeg-0.11.1.tar.gz<br />
# tar -zxvf ffmpeg-0.11.1.tar.gz<br />
# cd ffmpeg-0.11.1<br />
# ./configure &#8211;enable-libmp3lame &#8211;enable-libxvid &#8211;enable-libvorbis &#8211;enable-libgsm &#8211;enable-libfaac &#8211;enable-gpl &#8211;enable-nonfree<br />
# make<br />
# checkinstall</td>
</tr>
</tbody>
</table>
<p>Une fois l&rsquo;installation réalisée, on peut tester via:</p>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td># ffmpeg -version</td>
</tr>
</tbody>
</table>
<p>Le résultat devrait être ffmpeg version 0.11.1</p>
<h3>Téléchargement d&rsquo;OpenMeetings</h3>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td># wget http://mirrors.linsrv.net/apache/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip<br />
# unzip apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip -d openmeetings<br />
# mv openmeetings/ /opt/red5</td>
</tr>
</tbody>
</table>
<h3>Configuration MySQL</h3>
<p style="text-align: justify;">Voici les prérequis nécessaire afin de procéder à cette connexion:</p>
<ul>
<li style="text-align: justify;">Télécharger le JConnector depuis <a href="http://www.mysql.com/downloads/connector/j/">MySQL</a> et le placer dans <tt>$red5/webapps/openmeetings/WEB-INF/lib/</tt></li>
<li style="text-align: justify;">Créer une base de donnée nommée &laquo;&nbsp;openmeetings&nbsp;&raquo; et attribuer des droits sur cette dernière à un utilisateur (attention l&rsquo;interclassement doit être en utf8_general_ci).</li>
<li style="text-align: justify;">Renommer le fichier $red5/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml en $red5/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml</li>
<li style="text-align: justify;">Editer ce dernier pour ajouter les paramètres de connexon de base de donnée MySLQ, la partie la plus importante étant:</li>
</ul>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td> &lt;property name=&nbsp;&raquo;openjpa.ConnectionProperties&nbsp;&raquo;<br />
value=&nbsp;&raquo;DriverClassName=com.mysql.jdbc.Driver<br />
, Url=jdbc:mysql://<strong>localhost</strong>:3306/openmeetings?autoReconnect=true&amp;amp;useUnicode=true&amp;amp;createDatabaseIfNotExist=true&amp;amp;characterEncoding=utf-8&amp;amp;connectionCollation=utf8_general_ci&amp;amp;cachePrepStmts=true&amp;amp;cacheCallableStatements=true&amp;amp;cacheServerConfiguration=true&amp;amp;useLocalSessionState=true&amp;amp;elideSetAutoCommits=true&amp;amp;alwaysSendSetIsolation=false&amp;amp;enableQueryTimeouts=false&amp;amp;prepStmtCacheSize=3000&amp;amp;prepStmtCacheSqlLimit=1000<br />
, MaxActive=100<br />
, MaxWait=10000<br />
, TestOnBorrow=true<br />
, poolPreparedStatements=true<br />
, Username=<strong>DatabaseUsername</strong><br />
, Password=<strong>DatabaseUsernamePassword</strong>&laquo;&nbsp;/&gt;</td>
</tr>
</tbody>
</table>
<h3>Installation d&rsquo;OpenMeetings</h3>
<p>Démarrer le serveur OpenMeetings:</p>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td># cd /opt/red5<br />
# sh ./red5.sh</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Openmeeting est maintenant lancé. Pour continuer la configuration, saisir dans un navigateur internet l’adresse suivante <a href="http://ip.de.votre.serveur:5080/openmeetings/install">http://ip.de.votre.serveur:5080/openmeetings/install</a></p>
<p style="text-align: justify;">Vous obtenez une page d&rsquo;information vous rappelant tout les modules complémentaires etc&#8230; que nous avons installé en prérequis, cliquer sur Continue with STEP1. Compléter a minima les champs UserData et Organisation. Vous pouvez aussi spécifier les paramètres SMTP mais tout ceci peut être réalisé par la suite. La phase d&rsquo;installation dure quelques minutes et ensuite vous pourrez vous logger sur l&rsquo;interface avec le compte créer précédemment.</p>
<h3>Automatisation du lancement d&rsquo;OpenMeetings</h3>
<p style="text-align: justify;">Durant l&rsquo;installation nous avions lancé le serveur manuellement&#8230; on va automatiser ceci en récupérant le code du script de startup à cette <a href="http://code.google.com/p/openmeetings/wiki/UbuntuLucidLTS">adresse </a>et le coller dans /etc/init.d/red5.</p>
<p>Effectuer ensuite les opération suivantes afin de rendre les scripts exécutables et au démarrage:</p>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td># chmod 755 /opt/red5/red5.sh /Etc/init.d/red5<br />
# update-rc.d red5 defaults</td>
</tr>
</tbody>
</table>
<p>Votre serveur devrait être opérationnel dès le prochain redémarrage.</p>
<h3>Interconnexion avec Active Directory</h3>
<p style="text-align: justify;">Nous allons maintenant configuré OpenMeetings afin que les utilisateurs de notre AD (en version 2008) puissent accéder en SSO à ce dernier.</p>
<p style="text-align: justify;">Il faut dans un premier temps créer un fichier de configuration en utilisant le template om_ldap.cfg dans /opt/red5/webapps/openmeetings/conf.</p>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td># cp /opt/red5/webapps/openmeetings/conf/om_ldap.cfg /opt/red5/webapps/openmeetings/conf/om_ad.cfg<br />
# vi /opt/red5/webapps/openmeetings/conf/om_ad.cfg</td>
</tr>
</tbody>
</table>
<p>Puis modifier les lignes suivantes suivant votre installation (attention à bien être sur des chemins AD):</p>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td># Supported values are &laquo;&nbsp;OpenLDAP&nbsp;&raquo; and &laquo;&nbsp;AD&nbsp;&raquo; for Active Directory (defaults to AD).<br />
ldap_server_type=AD<br />
ldap_conn_url=ldap://@IP_of_your_server:389 ldap://@IP_of_your_secondary_server:389<br />
#Login distinguished name (DN) for Authentification on LDAP Server &#8211; keep emtpy if not requiered<br />
# Use DN with with &laquo;&nbsp;:&nbsp;&raquo; instead of &laquo;&nbsp;=&nbsp;&raquo;. The conversion will be done in OM<br />
ldap_admin_dn=CN:Openmeetings Bind,CN:Users,DC:domain,DC:local<br />
#Loginpass for Authentification on LDAP Server &#8211; keep emtpy if not requiered<br />
ldap_passwd=your_password<br />
#base to search for userdata(of user, that wants to login)<br />
# Use DN with with &laquo;&nbsp;:&nbsp;&raquo; instead of &laquo;&nbsp;=&nbsp;&raquo;. The conversion will be done in OM<br />
ldap_search_base=DC:domain,DC:local<br />
# Fieldnames (can differ between Ldap servers)<br />
field_user_principal=userPrincipalName<br />
#  When using NONE, the Ldap server is not used for authentication<br />
ldap_auth_type=SIMPLE<br />
# Ldap-password synchronization to OM DB<br />
#  Set this to &lsquo;yes&rsquo; if you want OM to synchronize the user Ldap-password to OM&rsquo;s internal DB<br />
#  This enables local login of users if the ldap server is offline.<br />
#  If you want to disable the feature, set this to &lsquo;no&rsquo;.<br />
#  Defautl value is &lsquo;yes&rsquo;<br />
ldap_sync_password_to_om=no<br />
# Ldap ignore upper/lower case, convert all input to lower case<br />
ldap_use_lower_case=false</td>
</tr>
</tbody>
</table>
<p>Ensuite au sein de l&rsquo;interface Web dans Administration/Ldap créer une nouvelle configuration en lui attribuant un nom, le fichier de configuration et l&rsquo;option ajouter le domaine avec ce dernier de renseigné:</p>
<p><a href="http://www.itbeam.fr/wp-content/uploads/2013/01/om_ad_conf.png" rel="lightbox[349]" title="Installation d'une solution de Web Conferencing Open Source"><img class="alignnone size-medium wp-image-376" alt="om_ad_conf" src="http://www.itbeam.fr/wp-content/uploads/2013/01/om_ad_conf-300x190.png" width="300" height="190" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itbeam.fr/archives/349/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugin Nagios pour les interfaces IMM sur les Serveurs IBM</title>
		<link>http://www.itbeam.fr/archives/360?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=plugin-nagios-pour-monitorer-les-interfaces-imm-sur-les-serveurs-ibm</link>
		<comments>http://www.itbeam.fr/archives/360#comments</comments>
		<pubDate>Fri, 25 Jan 2013 11:37:44 +0000</pubDate>
		<dc:creator>kiolul</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Supervision]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.itbeam.fr/?p=360</guid>
		<description><![CDATA[L&#8217;idée de monitorer directement l&#8217;état de santé d&#8217;un serveur via son port de management (ILO, IMM etc&#8230; suivant la marque) n&#8217;est pas anodine car à...]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">L&rsquo;idée de monitorer directement l&rsquo;état de santé d&rsquo;un serveur via son port de management (ILO, IMM etc&#8230; suivant la marque) n&rsquo;est pas anodine car à l&rsquo;heure actuelle ces derniers hébergent pour la plupart des infrastructures virtuelles comme VMware et il est difficile de savoir un truc tout bête: l&rsquo;état du raid. Pour avoir testé, sur un ESXi 5.0 surveillé par le plugin de chez OP5, la dégradation volontaire du Raid ne m&rsquo;a pas été retourné&#8230; embêtant. Les plugins de surveillances des ports de management m&rsquo;ont retourné un default de santé par contre.</p>
<p style="text-align: justify;">Partant de ce fait voici la démarche à suivre pour un serveur IBM.</p>
<h3 style="text-align: justify;">Configuration SNMP de l&rsquo;IMM</h3>
<p>Pour rappel voici les identifiants par défaut de cette interface:</p>
<p><strong>User</strong> : USERID<br />
<strong>Pasword :</strong> PASSW0RD (0 = zero)</p>
<p>Ensuite configurer avec vos paramètres la partie SNMP</p>
<p><a href="http://www.itbeam.fr/wp-content/uploads/2013/01/ibm_imm_snmp.png" rel="lightbox[360]" title="Plugin Nagios pour les interfaces IMM sur les Serveurs IBM"><img class="alignnone size-medium wp-image-362" alt="ibm_imm_snmp" src="http://www.itbeam.fr/wp-content/uploads/2013/01/ibm_imm_snmp-300x241.png" width="300" height="241" /></a></p>
<h3 style="text-align: justify;">Obtention du plugin</h3>
<p>Un petit tour du coté de Nagios Exchange nous permet de torouver le plugin <a href="http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IBM/check_snmp_ibm_imm-2Esh/details">check_snmp_ibm_imm.sh</a></p>
<p>Le télécharger puis le rendre exécutable dans le répertoire libexec de votre Nagios.</p>
<p>Pour rappel ce plugin permet de surveiller:</p>
<ul>
<li>L&rsquo;état de santé du serveur</li>
<li>Les diverses tensions d&rsquo;alimentation</li>
<li>Les températures des composants</li>
<li>La vitesse de rotation des ventilateurs</li>
</ul>
<h3>Modification du fichier command</h3>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td>###########################################################################<br />
#<br />
# partie IMM &#8230;<br />
#<br />
###########################################################################</p>
<p>define command{<br />
command_name check_ibm_imm<br />
command_line $USER1$/check_snmp_ibm_imm.sh -H $ARG1$ -C $ARG2$ -T $ARG3$<br />
}</td>
</tr>
</tbody>
</table>
<h3>Déclaration dans les hosts</h3>
<table style="width: 600px;" border="1">
<tbody>
<tr>
<td># Etat du serveur via interface de managementdefine service{<br />
use                     generic-service<br />
host_name               hostname<br />
service_description     Etat du serveur ESX par IM<br />
check_command           check_ibm_imm!@IPhostimm!community!health<br />
}</p>
<p># Temperature du serveur via IMM</p>
<p>define service{<br />
use                     generic-service-hour<br />
host_name               hostname<br />
service_description     Temperature du serveur ESX par IMM<br />
check_command           check_ibm_imm! @IPhostimm! community!temperature<br />
}<br />
&#8230;</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itbeam.fr/archives/360/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugin Nagios pour les serveurs virtuels VMware</title>
		<link>http://www.itbeam.fr/archives/330?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=plugin-nagios-pour-surveiller-les-serveurs-virtuels-vmware</link>
		<comments>http://www.itbeam.fr/archives/330#comments</comments>
		<pubDate>Mon, 21 Jan 2013 15:02:22 +0000</pubDate>
		<dc:creator>kiolul</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Supervision]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.itbeam.fr/?p=330</guid>
		<description><![CDATA[Nous allons utiliser un plugin développé par OP5 afin de monitorer nos chers serveurs ESX/ESXi au sein de Nagios. Prérequis Il nous faut dans un...]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">Nous allons utiliser un plugin développé par OP5 afin de monitorer nos chers serveurs ESX/ESXi au sein de Nagios.</p>
<h3>Prérequis</h3>
<p style="text-align: justify;">Il nous faut dans un premier temps télécharger ce dernier depuis le site nagios exchange et ensuite installer le SDK Perl (attention à la dépendance avec libxml-libxml-perl) pour linux sur notre serveur Nagios. Nous pouvons télécharger la dernière version depuis le site de VMWare.</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div># aptitude install libxml-libxml-perl  libclass-methodmaker-perl libperldoc-search-perl perl-doc libuuid-perl libcrypt-ssleay-perl</div>
<div># wget le package ou le transférer avec WinSCP</p>
<div># tar -xzvf VMware-vSphere-Perl-SDK-4.1.0-254719.x86_64.tar.gz</div>
</div>
</td>
</tr>
</tbody>
</table>
<p>Avant d&rsquo;installer le SDK il faut installer des modules via CPAN:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div># perl -MCPAN -e &lsquo;install Nagios::Plugin&rsquo;</div>
<div># perl -MCPAN -e &lsquo;install Params::Validate&rsquo;</div>
<div># perl -MCPAN -e &lsquo;install Math::Calc::Units&rsquo;</div>
<p># perl -MCPAN -e &lsquo;install Config::Tiny&rsquo;</td>
</tr>
</tbody>
</table>
<p>Création des liens symboliques dans /usr/lib/perl5/:</p>
<table style="width: 600px; height: 33px;" border="1" cellspacing="1">
<tbody>
<tr>
<td>
<div>Math -&gt; /usr/local/nagios/perl/lib/Math</div>
<div>Nagios -&gt; /usr/local/nagios/perl/lib/Nagios</div>
<div>Params -&gt; /usr/local/nagios/perl/lib/Params</div>
</td>
</tr>
</tbody>
</table>
<p>Lancer l&rsquo;installation:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div># ./vmware-install.pl</div>
</td>
</tr>
</tbody>
</table>
<p>Durant l&rsquo;installation passer les paramètres suivants:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div>In which directory do you want to install the executable files?[/usr/bin] /usr/local/vmware-vsphere-perl-sdk/bin</div>
</td>
</tr>
</tbody>
</table>
<p>Comme d&rsquo;habitude on rend exécutable le plugin précédemment téléchargé:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div># chown nagios check_vmware_api.pl</div>
<div># chgrp nagios check_vmware_api.pl</div>
<div># chmod 755 check_vmware_api.pl</div>
</td>
</tr>
</tbody>
</table>
<h3>Création d&rsquo;un compte utilisateur sur les serveurs ESX/ESXi</h3>
<p style="text-align: justify;">Se connecter sur chaque serveurs ESX/ESXi avec le VIClient afin de créer un nouvel utilisateur comme ci-dessous (onglet Local Users &amp; Groups, cliquez droit puis option Add):</p>
<p><a href="http://www.itbeam.fr/wp-content/uploads/2013/01/user_vmware.png" rel="lightbox[330]" title="Plugin Nagios pour les serveurs virtuels VMware"><img class="alignnone size-medium wp-image-331" alt="user_vmware" src="http://www.itbeam.fr/wp-content/uploads/2013/01/user_vmware-211x300.png" width="211" height="300" /></a></p>
<p style="text-align: justify;">Dans l’onglet Permissions, cliquez sur l’option Add Permission…. Dans la partie Users and Groups, cliquez sur le bouton Add pour ajouter l’utilisation supervision. Dans la partie Assigned Role, sélectionnez le rôle Read-only pour cet utilisateur.</p>
<p style="text-align: justify;"><a href="http://www.itbeam.fr/wp-content/uploads/2013/01/user_rights_vmware.png" rel="lightbox[330]" title="Plugin Nagios pour les serveurs virtuels VMware"><img class="alignnone size-medium wp-image-332" alt="user_rights_vmware" src="http://www.itbeam.fr/wp-content/uploads/2013/01/user_rights_vmware-300x238.png" width="300" height="238" /></a></p>
<p style="text-align: justify;">Nous pouvons maintenant tester le plugin.</p>
<p style="text-align: justify;"><em>Possible erreur lors de l&rsquo;éxécution du plugin:</em></p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div>check_vmware_api.pl CRITICAL &#8211; Server version unavailable at &lsquo;https://MYESX:443/sdk/vimService.wsdl&rsquo; at /usr/lib/perl5/5.10.0/VMware/VICommon.pm line 545</div>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">La solution à ce problème est d&rsquo;ajouter un paramètre au script check_esx3 pour lui dire d&rsquo;ignorer le certificat SSL du server. Pour ceci, éditer le script afin de rajouter la ligne suivante:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div>#!/usr/bin/perl -w$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;</p>
<div>## Nagios plugin to monitor vmware esx servers## License: GPL</div>
</div>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Après sauvegarde, le plugin fonctionnera à nouveau.</p>
<h3> Définition des commandes</h3>
<p style="text-align: justify;">Nous allons surveiller des éléments de base sur les serveurs car pour le reste je préfère surveiller la machine virtuelle directement. Dans tous les cas vous pourrez avoir un aperçu des possibilités du plugin sur nagios exchange.</p>
<table style="width: 637px; height: 329px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>##################################################################<br />
#<br />
# Monitoring ESX and ESXi host<br />
#<br />
##################################################################define command {<br />
command_name check_esx_cpu<br />
command_line $USER1$/check_vmware_api.pl -H $HOSTADDRESS$ -u user -p password -l cpu -s usage -w $ARG1$ -c $ARG2$<br />
}define command {<br />
command_name check_esx_memory<br />
command_line $USER1$/check_vmware_api.pl -H $HOSTADDRESS$ -u user -p password -l mem -s usage -w $ARG1$ -c $ARG2$<br />
}define command {<br />
command_name check_esx_balloon<br />
command_line $USER1$/check_vmware_api.pl -H $HOSTADDRESS$ -u user -p password -l mem -s memctl -w $ARG1$ -c $ARG2$<br />
}define command {<br />
command_name check_esx_status<br />
command_line $USER1$/check_vmware_api.pl -H $HOSTADDRESS$ -u user -p password -l runtime -s status<br />
}</td>
</tr>
</tbody>
</table>
<h3>Configuration de l&rsquo;objet</h3>
<p>Il nous faut maintenant soit définir une catégorie d&rsquo;objet (par exemple virtual.cfg) ou ajouter les serveurs virtuels à une catégorie existante. Voici ma déclaration:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>define service{<br />
use                     generic-service-hour<br />
host_name               Hostname<br />
service_description     Status du serveur ESX<br />
check_command           check_esx_status<br />
}define service{<br />
use                     generic-service-fast<br />
host_name               Hostname<br />
service_description     Charge CPU<br />
check_command           check_esx_cpu!85!90<br />
}<br />
define service{<br />
use                     generic-service-fast<br />
host_name               EPGESX01<br />
service_description     Utilisation Memoire<br />
check_command           check_esx_memory!96!98<br />
}define service{<br />
use                     generic-service<br />
host_name               EPGESX01<br />
service_description     Utilisation Memoire Balloon<br />
check_command           check_esx_balloon!5000!6000<br />
}</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><!--[if gte mso 9]><xml><br />
<w:worddocument><br />
<w:view>Normal</w:view><br />
<w:zoom>0</w:zoom><br />
<w:trackmoves></w:trackmoves><br />
<w:trackformatting></w:trackformatting><br />
<w:hyphenationzone>21</w:hyphenationzone><br />
<w:punctuationkerning></w:punctuationkerning><br />
<w:validateagainstschemas></w:validateagainstschemas><br />
<w:saveifxmlinvalid>false</w:saveifxmlinvalid><br />
<w:ignoremixedcontent>false</w:ignoremixedcontent><br />
<w:alwaysshowplaceholdertext>false</w:alwaysshowplaceholdertext><br />
<w:donotpromoteqf></w:donotpromoteqf><br />
<w:lidthemeother>FR</w:lidthemeother><br />
<w:lidthemeasian>X-NONE</w:lidthemeasian><br />
<w:lidthemecomplexscript>X-NONE</w:lidthemecomplexscript><br />
<w:compatibility><br />
<w:breakwrappedtables></w:breakwrappedtables><br />
<w:snaptogridincell></w:snaptogridincell><br />
<w:wraptextwithpunct></w:wraptextwithpunct><br />
<w:useasianbreakrules></w:useasianbreakrules><br />
<w:dontgrowautofit></w:dontgrowautofit><br />
<w:splitpgbreakandparamark></w:splitpgbreakandparamark><br />
<w:enableopentypekerning></w:enableopentypekerning><br />
<w:dontflipmirrorindents></w:dontflipmirrorindents><br />
<w:overridetablestylehps></w:overridetablestylehps><br />
<w:usefelayout></w:usefelayout><br />
</w:compatibility><br />
<m:mathpr><br />
<m:mathfont m:val="Cambria Math"></m:mathfont><br />
<m:brkbin m:val="before"></m:brkbin><br />
<m:brkbinsub m:val="&#45;-"></m:brkbinsub><br />
<m:smallfrac m:val="off"></m:smallfrac><br />
<m:dispdef></m:dispdef><br />
<m:lmargin m:val="0"></m:lmargin><br />
<m:rmargin m:val="0"></m:rmargin><br />
<m:defjc m:val="centerGroup"></m:defjc><br />
<m:wrapindent m:val="1440"></m:wrapindent><br />
<m:intlim m:val="subSup"></m:intlim><br />
<m:narylim m:val="undOvr"></m:narylim><br />
</m:mathpr></w:worddocument><br />
</xml>< ![endif]--></p>
<div style="mso-element: para-border-div; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 1.0pt 4.0pt 1.0pt 4.0pt;">
<p class="MsoNoSpacing" style="border: none; mso-border-alt: solid windowtext .5pt; padding: 0cm; mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt;"><span lang="EN-US" style="mso-ansi-language: EN-US;"># perl -MCPAN -e &lsquo;install Params::Validate&rsquo;</span></p>
<p class="MsoNoSpacing" style="border: none; mso-border-alt: solid windowtext .5pt; padding: 0cm; mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt;"><span lang="EN-US" style="mso-ansi-language: EN-US;"># perl -MCPAN -e &lsquo;install Math::Calc::Units&rsquo;</span></p>
<p class="MsoNoSpacing" style="border: none; mso-border-alt: solid windowtext .5pt; padding: 0cm; mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt;"><span lang="EN-US" style="mso-ansi-language: EN-US;"># perl -MCPAN -e &lsquo;install Config::Tiny&rsquo;</span></p>
</div>
<p><!--[if gte mso 9]><xml><br />
<w:latentstyles DefLockedState="false" DefUnhideWhenUsed="true"<br />
DefSemiHidden="true" DefQFormat="false" DefPriority="99"<br />
LatentStyleCount="267"><br />
<w:lsdexception Locked="false" Priority="0" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Normal"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="9" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="heading 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 7"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 8"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 9"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="39" Name="toc 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="39" Name="toc 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="39" Name="toc 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="39" Name="toc 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="39" Name="toc 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="39" Name="toc 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="39" Name="toc 7"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="39" Name="toc 8"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="39" Name="toc 9"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="35" QFormat="true" Name="caption"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="10" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Title"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="1" Name="Default Paragraph Font"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="11" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="22" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Strong"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="20" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="59" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Table Grid"></w:lsdexception><br />
<w:lsdexception Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="1" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" UnhideWhenUsed="false" Name="Revision"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="34" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="29" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Quote"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="30" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="60" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Shading Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="61" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light List Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="62" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Light Grid Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="63" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="64" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="65" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="66" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="67" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="68" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="69" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="70" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Dark List Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="71" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="72" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful List Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="73" SemiHidden="false"<br />
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="19" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="21" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="31" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="32" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="33" SemiHidden="false"<br />
UnhideWhenUsed="false" QFormat="true" Name="Book Title"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="37" Name="Bibliography"></w:lsdexception><br />
<w:lsdexception Locked="false" Priority="39" QFormat="true" Name="TOC Heading"></w:lsdexception><br />
</w:latentstyles><br />
</xml>< ![endif]--><!--[if gte mso 10]></p>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Tableau Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin-top:0cm;
	mso-para-margin-right:0cm;
	mso-para-margin-bottom:10.0pt;
	mso-para-margin-left:0cm;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;}
</style>
<p>< ![endif]--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itbeam.fr/archives/330/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugin Nagios pour NAS Thecus N16000</title>
		<link>http://www.itbeam.fr/archives/316?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=monitoring-sous-nagios-dun-nas-thecus-n16000</link>
		<comments>http://www.itbeam.fr/archives/316#comments</comments>
		<pubDate>Wed, 16 Jan 2013 14:25:55 +0000</pubDate>
		<dc:creator>kiolul</dc:creator>
				<category><![CDATA[NAS]]></category>
		<category><![CDATA[Supervision]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Thecus]]></category>

		<guid isPermaLink="false">http://www.itbeam.fr/?p=316</guid>
		<description><![CDATA[Après avoir chercher dans Nagios Exchange ce qui existe pour réaliser cette tâche, j&#8217;ai préféré opter pour des check SNMP générique (merci Manubulon) car les...]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">Après avoir chercher dans Nagios Exchange ce qui existe pour réaliser cette tâche, j&rsquo;ai préféré opter pour des check SNMP générique (merci <a href="http://nagios.manubulon.com/">Manubulon</a>) car les plugins existants vont interroger l&rsquo;interface Web d&rsquo;administration et sont intimements liés à la version du firmware de l&rsquo;équipement&#8230; Je sais qu&rsquo;on ne change pas tous les jours de firmware sur ces équipements mais je trouve ceci pas &laquo;&nbsp;idéal&nbsp;&raquo;.</p>
<p style="text-align: justify;">Petit point au passage, je dispose de 3 Thecus N16000 (avec 8 HDD Samsung 2To ST2000DM001-1CH1 non marqués compatible mais suite à une erreur de commande fonctionnent au final  très bien) dont 2 sont configurés en HA&#8230; problème autant je suis super satisfait des perfomances du NAS seul, autant en HA rien ne va plus. Donc ticket auprès du support Thecus toujours en cours depuis 2 mois (d&rsquo;où les multiples changement de firmware etc&#8230;).</p>
<p style="text-align: justify;">Enfin revenons à notre besoin de monitorer ces équipements. Sachant que ces derniers envoient des mails concernant leurs état de santé, je me suis concentré seulement sur la mémoire, les débits réseaux, la charge etc&#8230;</p>
<p>Je ne vais pas m&rsquo;étendre sur les options de chaques plugin donc je vous renvois vers le site de Manubulon.</p>
<h3>Configuration du service SNMP sur l&rsquo;équipement</h3>
<p>Via l&rsquo;interface Web du NAS, se rendre dans System Management / SNMP.</p>
<p>Renseigner les différents champs ci-dessous:</p>
<p><a href="http://www.itbeam.fr/wp-content/uploads/2013/01/Thecus_SNMP_conf.png" rel="lightbox[316]" title="Plugin Nagios pour NAS Thecus N16000"><img class="alignnone size-medium wp-image-321" alt="Thecus_SNMP_conf" src="http://www.itbeam.fr/wp-content/uploads/2013/01/Thecus_SNMP_conf-300x121.png" width="300" height="121" /></a></p>
<h3>Définition des commandes</h3>
<p>Nous allons donc utiliser les plugins:</p>
<ul>
<li>check_snmp_load.pl</li>
<li>check_snmp_mem.pl</li>
<li>check_snmp_storage.pl</li>
<li>check_snmp_int.pl</li>
</ul>
<p>Tout d&rsquo;abord les télécharger puis affecter les droits nécessaire à leurs éxécution par l&rsquo;utilisateur Nagios.</p>
<p>Ensuite, éditer le fichier de commande pour définir ces dernières:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>###########################################################################<br />
#<br />
# partie THECUS ajoutee le 16 javier 13 par CQ<br />
#<br />
###########################################################################</p>
<p># Charge CPU</p>
<p>define command{<br />
command_name check_thecus_load<br />
command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $ARG1$ -w $ARG2$ -c $ARG3$ -T $ARG4$ -f<br />
}</p>
<p># Charge memoire</p>
<p>define command{<br />
command_name check_thecus_mem<br />
command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ -C $AR12$ -w $ARG2$ -c $ARG3$ -m -f<br />
}</p>
<p># Utilisation stockage</p>
<p>define command{<br />
command_name check_thecus_storage<br />
command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ -f -S1 -r<br />
}</p>
<p># Traffic reseau</p>
<p>define command{<br />
command_name    check_thecus_interface<br />
command_line    $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ -k -w $ARG3$ -c $ARG4$ -M -B -r -f -Y -d 10<br />
}</td>
</tr>
</tbody>
</table>
<h3>Configuration de l&rsquo;objet</h3>
<p style="text-align: justify;">Il nous faut maintenant soit définir une catégorie d&rsquo;objet (par exemple storage.cfg) ou ajouter les NAS à une catégorie existante. Voici ma déclaration:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>##### EPGTHECUS1 #####</p>
<p># Define a service to &laquo;&nbsp;ping&nbsp;&raquo; the machine<br />
define service{<br />
use                             generic-service<br />
host_name                       MyNAS<br />
service_description             PING<br />
check_command                   check_ping!100.0,20%!500.0,60%<br />
}<br />
# Charge CPU<br />
define service{<br />
use                             generic-service-fast<br />
host_name                       MyNAS<br />
service_description             CPU Load<br />
check_command                   check_thecus_load!MyCommunity!80%!90%!netsc<br />
}<br />
# Utilisation memoire<br />
define service{<br />
use                             generic-service-fast<br />
host_name                       MyNAS<br />
service_description             Memory<br />
check_command                   check_thecus_mem!MyCommunity!90,90!95,95<br />
}<br />
# Utilisation stockage<br />
define service{<br />
use                             generic-service<br />
host_name                       EPGTHECUS1<br />
service_description             Utilisation stockage principal<br />
check_command                   check_thecus_storage!MyCommunity!&nbsp;&raquo;MyStorage&nbsp;&raquo;!85!90<br />
}<br />
# Traffic sur bond0<br />
define service{<br />
use                     generic-service-second<br />
host_name               MyNAS<br />
service_description     Traffic sur bond0<br />
check_command           check_thecus_interface!MyCommunity!bond0!&nbsp;&raquo;1677720,1677720&Prime;!&nbsp;&raquo;1887438,1887438&Prime;<br />
}</td>
</tr>
</tbody>
</table>
<p>Pour rappel vous pouvez lister les stockages et les interfaces réseaux disponibles via les commandes:</p>
<table style="width: 600px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>./check_snmp_int.pl -H 127.0.0.1 -C public -n zzzz <b>-v</b></p>
<p>./check_snmp_storage.pl -H 127.0.0.1 -C public -m zzzz -w 80 -c 81 <b>-v</b></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itbeam.fr/archives/316/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mon pense bete Cisco</title>
		<link>http://www.itbeam.fr/archives/225?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mon-pense-bete-cisco</link>
		<comments>http://www.itbeam.fr/archives/225#comments</comments>
		<pubDate>Sat, 20 Oct 2012 10:40:42 +0000</pubDate>
		<dc:creator>kiolul</dc:creator>
				<category><![CDATA[Réseau]]></category>
		<category><![CDATA[Bonnes pratiques]]></category>
		<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.itbeam.fr/?p=225</guid>
		<description><![CDATA[Voici mon petit memento concernant le materiel Cisco sous iOS. Ne configurant pas ce genre d&#8217;equipements à longueur de journée, cela me permet de rapidement...]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">Voici mon petit memento concernant le materiel Cisco sous iOS. Ne configurant pas ce genre d&rsquo;equipements à longueur de journée, cela me permet de rapidement voir si je n&rsquo;ai rien oublié aussi.</p>
<p style="text-align: justify;">La première partie s&rsquo;effectue bien entendu a l&rsquo;aide de l&rsquo;interface console.</p>
<h3 style="text-align: justify;">Assignation d&rsquo;une adresse IP</h3>
<p style="text-align: justify;">Après le démarrage de l&rsquo;équipement, passer au niveau de privilège EXEC. Petit rappel sur les différents mode et comment y accéder/en sortir:</p>
<p><a title="cisco_ios_mode" href="http://www.itbeam.fr/wp-content/uploads/2012/05/cisco_ios_mode.png" target="" rel="lightbox[225]"><img class="size-medium wp-image-297 aligncenter" title="cisco_ios_mode" alt="" src="http://www.itbeam.fr/wp-content/uploads/2012/05/cisco_ios_mode-300x235.png" width="300" height="235" /></a></p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td><strong>configure terminal</strong></td>
<td style="width: 74.4%;">Entrer dans le mode de configuration global.</td>
</tr>
<tr>
<td><strong>interface vlan</strong> <em>vlan-id</em></td>
<td style="width: 74.4%;">Entrer dans le mode de configuration de l&rsquo;interface, et sélectionner le VLAN auquel assigné une adresse IP (par défaut le 1). Valeur 1 à 4094.</td>
</tr>
<tr>
<td><strong>ip address</strong> <em>ip-address subnet-mask</em></td>
<td style="width: 74.4%;">Saisir l&rsquo;adresse IP et le masque de sous réseau..</td>
</tr>
<tr>
<td><strong>exit</strong></td>
<td style="width: 74.4%;">Retourner dans le mode de configuration global.</td>
</tr>
<tr>
<td><strong>ip default-gateway</strong> <em>ip-address</em></td>
<td style="width: 74.4%;">Permet de spécifier l&rsquo;adresse IP de la passerelle par défaut.</p>
<p><strong>Note: </strong>Quand votre switch est configuré pour faire du routage, il n&rsquo;est pas nécessaire de configurer cette passerelle par défaut.</td>
</tr>
<tr>
<td><strong>end</strong></td>
<td style="width: 74.4%;">Retourner dans le mode de configuration EXEC.</td>
</tr>
<tr>
<td><strong>show interfaces vlan</strong> <em>vlan-id</em></td>
<td style="width: 74.4%;">Permet de vérifier la configuration IP du VLAN spécifié.</td>
</tr>
<tr>
<td><strong>show ip redirects</strong></td>
<td style="width: 74.4%;">Affiche la passerelle par défaut.</td>
</tr>
<tr>
<td><strong>ip name-server </strong><em>DNS</em></td>
<td style="width: 74.4%;">(Optionel) Permet de définir les serveurs DNS.</td>
</tr>
<tr>
<td><strong>copy running-config startup-config</strong></td>
<td style="width: 74.4%;">(Optionel) Sauvegarde des paramètres en cours dans la configuration de démarrage.</td>
</tr>
</tbody>
</table>
<h3>Activer l&rsquo;authentification et le chiffrement des mots de passe</h3>
<p>Avant d&rsquo;utiliser les services AAA (Authentication, Authorization, and Accounting), il nous faut l&rsquo;activer:</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Router(config)# aaa new-model</td>
<td style="width: 43.74%;">Active AAA.</td>
</tr>
</tbody>
</table>
<p>Une fois AAA activé, il nous faut le configurer:</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Router(config)# aaa authentication login default local</td>
<td style="width: 43.74%;">Utilisation de l&rsquo;authentification locale (le plus simple).</td>
</tr>
<tr>
<td style="vertical-align: middle;">Router(config)# aaa authorization exec default local</td>
<td style="width: 43.74%;">Utilisation de l&rsquo;authentification locale pour le mode EXEC.</td>
</tr>
<tr>
<td>Router(config)# enable secret <em>password</em></td>
<td style="width: 43.74%;">Au passage modification du mot de passe &laquo;&nbsp;enable&nbsp;&raquo; qui par défaut est Cisco.</td>
</tr>
</tbody>
</table>
<p>Créer un utilisateur, assigner lui un niveau de droit et un mot de passe. Les droits sont échelonnés de 0 à 15 (15 étant les droits permettant le mode EXEC).</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Router(config)# username <em>user</em> privilege 15 password <em>pass</em></td>
<td style="width: 43.74%;">Création de l&rsquo;utilisateur par défaut.</td>
</tr>
</tbody>
</table>
<p>Activation du chiffrement des mots de passe:</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Router(config)# service password-encryption</td>
<td style="width: 43.74%;">Active le chiffrement de mot de passe.</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3>Configurer SSH</h3>
<p>Dans un premier temps il nous faut configurer le nom d&rsquo;hôte et éventuellement le domaine de notre équipement.</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet </strong></p>
</td>
</tr>
<tr>
<td>Router(config)# <strong>hostname </strong><em>hostname</em></td>
<td style="width: 49.54%;">Saisir le nom d&rsquo;hôte de votre équipement.</td>
</tr>
<tr>
<td>Router(config)# <strong>ip domain-name </strong><em>domaine.local</em></td>
<td style="width: 49.54%;">Saisir le domaine de votre équipement.</td>
</tr>
</tbody>
</table>
<p>Génération une clé RSA pour activer le protocole SSH.</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Router(config)# <strong>crypto key generate rsa usage-keys modulus 2048</strong></td>
<td style="width: 67.46%;">Active le protocole SSH pour les authentifications locales et distantes via la création d&rsquo;une clé RSA.</p>
<p>Le niveau minimum recommandé de modulus (chiffrement) est 1024 bits.</p>
<div align="center">
<hr align="center" size="2" width="100%" />
</div>
<p><strong>Note: </strong>Pour effacer une clé RSA, utiliser la commande <strong>crypto key zeroize rsa</strong> en mode configuration global. Dès la suppression de cette dernière, le serveur SSH sera désactivé.</td>
</tr>
</tbody>
</table>
<p>Paramètres suplémentaires concernant les sessions SSH:</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Router(config)# <strong>ip ssh time-out 12</strong></td>
<td style="width: 68.38%;">Défini le time-out en seconde avant la déconnexion automatique durant la phase d&rsquo;authentification.</td>
</tr>
<tr>
<td>Router(config)# <strong>ip ssh authentication-retries 3</strong></td>
<td style="width: 68.38%;">Défini le nombre maximal d&rsquo;échec d&rsquo;authentification avant la déconnexion durant la phase d&rsquo;authentification.</td>
</tr>
</tbody>
</table>
<p>Définir la connexion SSH par défaut:</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande </strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet </strong></p>
</td>
</tr>
<tr>
<td>Router(config)# <strong>line vty X X</strong></td>
<td style="width: 59.34%;">Sélectionne la ligne vty approprié. Généralement vty 0 4 est assigné au telnet.</td>
</tr>
<tr>
<td>Router(config)# <strong>transport input ssh</strong></td>
<td style="width: 59.34%;">Active le protocole ssh par défaut sur la ligne.</td>
</tr>
</tbody>
</table>
<h3>Configuration de l&rsquo;interface web</h3>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Router(config)# <strong>no ip http server</strong></td>
<td style="width: 59.34%;">Désactive le protocole http sur le serveur web.</td>
</tr>
<tr>
<td>Router(config)# <strong>ip http authentication local</strong></td>
<td style="width: 59.34%;">Active l&rsquo;authentification via le gestionnaire local sur le serveur web.</td>
</tr>
<tr>
<td>Router(config)# <strong>ip http secure-server</strong></td>
<td style="width: 59.34%;">Active le protocole https sur le serveur web.</td>
</tr>
</tbody>
</table>
<h3>Configuration SNMP</h3>
<p>Définir la communauté SNMP:</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Router(config)# <strong>snmp-server community string [view view-name] [ro | rw] [number]</strong></td>
<td style="width: 59.34%;">Défini le nom d&rsquo;une communauté SNMP ainsi que le type d&rsquo;accès (lecture, écriture).</p>
<p><strong>Attention</strong>, pour les dernières versions d&rsquo;IOS ne pas mettre le paramètre d&rsquo;accès.</td>
</tr>
</tbody>
</table>
<h3>Déployer un réseau WiFi</h3>
<p>Création d&rsquo;un SSID et assignation de celui-ci à une interface</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Aironet(config)# <strong>interface dot11radio 0</strong></td>
<td style="width: 59.34%;">Configure la 1ère interface WiFi.</td>
</tr>
<tr>
<td>Aironet(config)# <strong>encryption mode ciphers aes-ccm</strong></td>
<td style="width: 59.34%;">Active le chiffrement.</td>
</tr>
<tr>
<td>Aironet(config)# <strong>ssid</strong> <em>your_ssid</em></td>
<td style="width: 59.34%;">Creation de votre SSID.</td>
</tr>
<tr>
<td>Aironet(config)# <strong>authentication open</strong></td>
<td style="width: 59.34%;">Pas de filtrage EAP ni MAP durant l&rsquo;association.</td>
</tr>
<tr>
<td>Aironet(config)# <strong>authentication key-management wpa version 2</strong></td>
<td style="width: 59.34%;">Sélectionne le mode WPA2 pour sécuriser la communication.</td>
</tr>
<tr>
<td>Aironet(config)# <strong>wpa-psk ascii</strong> <em>your-key-here</em></td>
<td style="width: 59.34%;">Saisir votre PSK (Pre Shared Key).</td>
</tr>
</tbody>
</table>
<p>Option de diffusion du réseau:</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Aironet(config)# <strong>dot11 ssid </strong><em>your_ssid</em></td>
<td style="width: 59.34%;">Sélectionne votre SSID.</td>
</tr>
<tr>
<td>Aironet(config -ssid)# <strong>guest-mode</strong></td>
<td style="width: 59.34%;">Active la diffusion SSID (le rend visible tout simplement).</td>
</tr>
<tr>
<td>Aironet(config -if)# <strong>interface </strong>dot11radio 0</td>
<td style="width: 59.34%;">Optionel: Sélectionne l&rsquo;interface radio.</td>
</tr>
<tr>
<td>Aironet(config)# <strong>mbssid</strong></td>
<td style="width: 59.34%;">Optionel: active la diffusion de multiple SSID pour l&rsquo;interface sélectionnée.</td>
</tr>
</tbody>
</table>
<p>Options de l&rsquo;interface radio:</p>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Aironet(config)# <strong>interface </strong>dot11Radio 0</td>
<td style="width: 59.34%;">Sélectionne l&rsquo;interface radio.</td>
</tr>
<tr>
<td>Aironet(config-if)# <strong>world-mode dot11d country-code</strong> <em>XX option</em></td>
<td style="width: 59.34%;">Sélectionner le code pays où se situe le point d&rsquo;accès comme: FR, ES, IT … et l&rsquo;option (indoor, outdoor, both) afin d&rsquo;automatiquement réglé la puissance d&rsquo;émission suivant la législation en vigueur.</td>
</tr>
<tr>
<td>Aironet(config-if)# <strong>channel least-congested</strong> <em>option</em></td>
<td style="width: 59.34%;">Permet la sélection automatique d&rsquo;un cannal parmi la liste définie en option qui sera le moins encombré.</td>
</tr>
</tbody>
</table>
<h3>Configurer des liens aggrégés</h3>
<table style="width: 99%;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 30%;">
<p align="center"><strong>Commande</strong></p>
</td>
<td style="width: 70%;">
<p align="center"><strong>Objet</strong></p>
</td>
</tr>
<tr>
<td>Switch(config)# lacp system-priority 65535</td>
<td style="width: 59.34%;">Cet ID lacp est utilisé durant les phases de négociations entre les équipements.</td>
</tr>
<tr>
<td>Switch(config)# interface port-channel <em>number</em></td>
<td style="width: 59.34%;">Permet la création d&rsquo;un aggrega de liens et lui attribue un numéro compris en 1 et 64.</td>
</tr>
<tr>
<td>Switch (config-if)# interface type slot/subslot/port</td>
<td style="width: 59.34%;">Sélectionne un port afin de l&rsquo;assigner à un aggrega.</p>
<p>Par ex: GigabitEthernet1/0/13</td>
</tr>
<tr>
<td>Switch (config-if)# channel-group number mode {active | passive}</td>
<td style="width: 59.34%;">Assigne l&rsquo;interface à un groupe de port. Options:</p>
<ul>
<li style="text-align: justify;">Active: place le port en mode de négociation actif dans lequel le port va initier une négociation en envoyant des requètes LACP.</li>
<li style="text-align: justify;">Passive: le port se contentera de répondre au requètes LACP et attachera le port au groupe.</li>
</ul>
</td>
</tr>
<tr>
<td>Switch (config-if)# channel-protocol {lacp | pagp}</td>
<td style="width: 59.34%;">Spécifie le protocole de négociation LACP ou PAGP. Par défaut le protocole Cisco PAGP est actif.</td>
</tr>
<tr>
<td>Switch (config-if)#</td>
<td style="width: 59.34%;">Répetter autant de fois que nécessaire l&rsquo;opération afin d&rsquo;assigner tous les ports désirés.</td>
</tr>
</tbody>
</table>
<p>A venir&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itbeam.fr/archives/225/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugin Nagios pour les onduleurs de type APC</title>
		<link>http://www.itbeam.fr/archives/268?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=plugins-nagios-pour-les-onduleurs-de-type-apc</link>
		<comments>http://www.itbeam.fr/archives/268#comments</comments>
		<pubDate>Mon, 17 Sep 2012 21:36:05 +0000</pubDate>
		<dc:creator>kiolul</dc:creator>
				<category><![CDATA[Supervision]]></category>
		<category><![CDATA[APC]]></category>
		<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://www.itbeam.fr/?p=268</guid>
		<description><![CDATA[Disposant d&#8217;un onduleur IBM UPS10000XHV et après quelques coupures de courant&#8230; j&#8217;ai voulu monitorer ce dernier pour d&#8217;une part connaître nos constantes électriques ainsi que...]]></description>
				<content:encoded><![CDATA[<p>Disposant d&rsquo;un onduleur IBM UPS10000XHV et après quelques coupures de courant&#8230; j&rsquo;ai voulu monitorer ce dernier pour d&rsquo;une part connaître nos constantes électriques ainsi que les niveau de charge et la durée que tiendrais la batterie en cas de coupure par rapport à notre charge.</p>
<p>Les onduleurs IBM sont en fait des APC rebrandés. Je n&rsquo;ai plus en tête le site sur lequel j&rsquo;ai trouvé ces informations mais l&rsquo;idée est d&rsquo;utiliser le plugin générique check_snmp contenu dans /usr/local/nagios/libexec avec les OIDs fournis par le constructeur.</p>
<h3>Configurer le serveur snmp sur l&rsquo;onduleur</h3>
<p>Via l&rsquo;interface web de l&rsquo;onduleur, configurer la communauté du serveur snmp et l&rsquo;adresse IP du serveur Nagios:</p>
<p><a title="apc_snmp_community" href="http://www.itbeam.fr/wp-content/uploads/2012/06/apc_snmp_community.jpg" target="" rel="lightbox[268]"><img class="size-full wp-image-269 alignnone" title="apc_snmp_community" alt="" src="http://www.itbeam.fr/wp-content/uploads/2012/06/apc_snmp_community.jpg" width="571" height="158" /></a></p>
<h3>Editer le fichier command.cfg pour ajouter les différents check</h3>
<p>Il nous faut définir les différentes commandes associées aux OIDs.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>###############################################################################<br />
#<br />
#   SNMP CALLS for UPS<br />
#<br />
#   ajoute le 11/10/2011 par QUIBLIER Cyrille<br />
#<br />
###############################################################################&nbsp;</p>
<p># &lsquo;snmp_ups_capacity&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_capacity<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.2.2.1.0 -l &lsquo;\Battery Charge\&rsquo; -u &lsquo;\%\&rsquo;<br />
}</p>
<p># &lsquo;snmp_ups_current&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_current<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o.1.3.6.1.4.1.318.1.1.1.4.2.4.0 -w 30 -c 50 -l &lsquo;\Output Current\&rsquo; -u &lsquo;\Amperes\&rsquo;<br />
}</p>
<p># &lsquo;snmp_ups_frequency_in&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_frequency_in<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.3.2.4.0 -l &lsquo;\Input Freq\&rsquo; -u &lsquo;\Hertz\&rsquo;<br />
}</p>
<p># &lsquo;snmp_ups_frequency_out&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_frequency_out<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.4.2.2.0 -l &lsquo;\Output Freq\&rsquo; -u &lsquo;\Hertz\&rsquo;<br />
}</p>
<p># &lsquo;snmp_ups_lasttest_date&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_lasttest_date<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.7.2.4.0 -l &lsquo;\Last Test Date\&rsquo;<br />
}</p>
<p># &lsquo;snmp_ups_lasttest_result&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_lasttest_result<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.7.2.3.0 -c 2 -l &lsquo;\1=Pass 2=Fail\&rsquo;<br />
}</p>
<p># &lsquo;snmp_ups_load&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_load<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.4.2.3.0 -w 60 -c 90 -l &lsquo;\Current Load\&rsquo; -u &lsquo;\%\&rsquo;<br />
}</p>
<p># &lsquo;snmp_ups_runtime&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_runtime<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 &lsquo;\RunTime\&rsquo;<br />
}</p>
<p># &lsquo;snmp_ups_stat&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_stat<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.2.1.1.0 -w 3 -c 4 -l &lsquo;\Main UPS Status\&rsquo;<br />
}</p>
<p># &lsquo;snmp_ups_temp&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_temp<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.2.2.2.0 -w 40 -c 45 -l &lsquo;\Internal Temp\&rsquo; -u &lsquo;\Celsius\&rsquo;<br />
}<br />
# &lsquo;snmp_ups_voltage_in&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_voltage_in<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.3.2.1.0 -l &lsquo;\Output Voltage\&rsquo; -u &lsquo;\Volts\&rsquo;<br />
}</p>
<p># &lsquo;snmp_ups_voltage_out&rsquo; command definition<br />
define command{<br />
command_name    snmp_ups_voltage_out<br />
command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.4.2.1.0 -l &lsquo;\Output Voltage\&rsquo; -u &lsquo;\Volts\&rsquo;<br />
}</td>
</tr>
</tbody>
</table>
<h3>Definition du groupe d&rsquo;hôtes</h3>
<p>Par exemple créons le fichier <em>apc.cfg </em>dans /usr/local/nagios/etc/objects et référençons le dans <em>nagios.cfg</em> file. Editer le fichier et insérer les lignes suivantes:</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div>###############################################################################<br />
# APC.CFG &#8211; CONFIG FILE FOR MONITORING APC UPS<br />
#<br />
# Created: 11/10/2011 by QUIBLIER Cyrille<br />
#<br />
##############################################################################################################################################################<br />
# HOST DEFINITIONS<br />
###############################################################################</p>
<p># Define the UPS that we&rsquo;ll be monitoring<br />
define host{<br />
use   generic-switch<br />
host_name   EPGAPC01<br />
alias   EPGAPC01 &#8211; IBM UPS10000XHV<br />
notification_period  24&#215;7<br />
check_period  24&#215;7<br />
contact_groups  admins_ext<br />
address   @IP<br />
}</p>
<p>###############################################################################<br />
# HOST GROUP DEFINITIONS<br />
###############################################################################</p>
<p>define hostgroup{<br />
hostgroup_name  Onduleurs<br />
alias   Onduleurs<br />
members   EPGAPC01<br />
}</p>
<p>###############################################################################<br />
# SERVICE DEFINITIONS<br />
###############################################################################</p>
<p># Ping UPS</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             PING<br />
check_command                   check_ping!100.0,20%!500.0,60%<br />
}<br />
define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Capacity<br />
check_command                   snmp_ups_capacity! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Current<br />
check_command                   snmp_ups_current! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Freq In<br />
check_command                   snmp_ups_frequency_in! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Freq Out<br />
check_command                   snmp_ups_frequency_out! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Load<br />
check_command                   snmp_ups_load! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Test Date<br />
check_command                   snmp_ups_lasttest_date! -H $HOSTADDRESS$ -C yourcommunity<br />
}<br />
define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Test Result<br />
check_command                   snmp_ups_lasttest_result! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Status<br />
check_command                   snmp_ups_stat! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS RunTime Remaining<br />
check_command                   snmp_ups_runtime! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Temp<br />
check_command                   snmp_ups_temp! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Volts In<br />
check_command                   snmp_ups_voltage_in! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
<p>define service{<br />
use                             local-service<br />
host_name                       EPGAPC01<br />
service_description             UPS Volts Out<br />
check_command                   snmp_ups_voltage_out! -H $HOSTADDRESS$ -C yourcommunity<br />
}</p>
</div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itbeam.fr/archives/268/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problème de serveur NPS suite à une mise à jour Windows update</title>
		<link>http://www.itbeam.fr/archives/227?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=probleme-de-serveur-nps-suite-a-une-mise-a-jour-windows-update</link>
		<comments>http://www.itbeam.fr/archives/227#comments</comments>
		<pubDate>Wed, 23 May 2012 20:14:53 +0000</pubDate>
		<dc:creator>kiolul</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[WiFI]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.itbeam.fr/?p=227</guid>
		<description><![CDATA[Voila le tableau: une installation WiFi avec du mat&#233;riel Cisco et un beau serveur NPS sous Windows 2008 disposant d&#39;une strat&#233;gie de connexion WiFi par...]]></description>
				<content:encoded><![CDATA[<p>Voila le tableau: une installation WiFi avec du mat&eacute;riel Cisco et un beau serveur NPS sous Windows 2008 disposant d&#39;une strat&eacute;gie de connexion WiFi par certificats. Je ne rentre pas dans les d&eacute;tails radius et compagnie ceci fera l&#39;objet d&#39;articles sur mes bonnes pratiques Cisco et l&#39;installation de cette architecture WiFi. Depuis le temps que je dois le faire&#8230;</p>
<p>Alors en bon administrateur Windows, mes serveurs se trouvant derri&egrave;re un WSUS j&#39;ai d&eacute;cide de lancer les updates sur celui h&eacute;bergeant le r&ocirc;le NPS. Au pr&eacute;alable et virtualisation aidant un petit snapshot, on n&#39;est jamais trop prudent et je n&#39;ai pas regrett&eacute; ce choix car apr&egrave;s le red&eacute;marrage&#8230; plus aucun utilisateurs ne pouvaient se connecter au WiFi. Un eventid 6273 avec un error code 266 stipulait que le message re&ccedil;u par le serveur &eacute;tait mal format&eacute;. R&eacute;sultat: le serveur rejetait toutes les connexions. J&#39;ai cherch&eacute; quelques instants avant de faire un rollback gr&acirc;ce au snapshot et la merci vmware, tout remarchait. Bon a part les updates, pas d&#39;autres relations possibles.<br />
	Parmis ces derni&egrave;res une a attir&eacute;e mon attention: le KB931125 mettant &agrave; jour les autorit&eacute;s de certification. Soit mais toujours pas de piste. Apr&egrave;s avoir ouvert une discussion sur le forum <a href="http://social.technet.microsoft.com/Forums/en-US/winserverNAP/thread/cd2d5bc8-e89b-474e-a66f-007f20d93a8a">technet</a>, un mod&eacute;rateur ma dirig&eacute; vers cet <a href="http://support.microsoft.com/kb/933430/">article</a>. En effet il semblerai qu&#39;apr&egrave;s la mise a jour des autorit&eacute;s de certification, leurs nombre a explos&eacute;. Ceci entra&icirc;ne un d&eacute;lais trop long lorsque les utilisateurs essayent de se connecter, valident leurs certificats avec le serveur qui devait chercher parmi une liste trop longue.<br />
	La solution, faire un tri ou plut&ocirc;t supprimer une partie de ces autorit&eacute;s pour retomber a un niveau acceptable.<br />
	Pour ceci, lancer une mmc sur le serveur NPS depuis le menu ex&eacute;cuter et ajouter le composant &quot;Certificats&quot; pour le compte ordinateur local:</p>
<p><a href="http://www.itbeam.fr/wp-content/uploads/2012/05/mmc.jpg" rel="lightbox[227]" style="" target="" title="mmc"><img alt="" class="size-full wp-image-276 alignleft" src="http://www.itbeam.fr/wp-content/uploads/2012/05/mmc.jpg" style="width: 620px; height: 363px;" title="mmc" /></a></p>
<p>Faire le tri dans la liste suivante:</p>
<p><a href="http://www.itbeam.fr/wp-content/uploads/2012/05/cert_mmc.jpg" rel="lightbox[227]" title="cert_mmc"><img alt="" class="alignleft size-large wp-image-278" src="http://www.itbeam.fr/wp-content/uploads/2012/05/cert_mmc-1024x601.jpg" style="width: 620px; height: 363px;" title="cert_mmc" /></a></p>
<p>Vos clients WiFi devraient pouvoir se connecter &agrave; nouveau.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itbeam.fr/archives/227/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugins Nagios pour les équipementts Cisco</title>
		<link>http://www.itbeam.fr/archives/223?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=listing-et-configuration-des-plugins-nagios-que-jai-rencontre</link>
		<comments>http://www.itbeam.fr/archives/223#comments</comments>
		<pubDate>Wed, 23 May 2012 20:14:33 +0000</pubDate>
		<dc:creator>kiolul</dc:creator>
				<category><![CDATA[Supervision]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.itbeam.fr/?p=223</guid>
		<description><![CDATA[&#201;quipements Cisco Utilisation CPU T&#233;l&#233;charger le plugin ici. Commande associ&#233;e: [root@ ~]# ./check_snmp_load.pl -H HOSTADDRESS &#160;-C Community -w 80,80,80 -c 90,90,90 -T cisco -f w:...]]></description>
				<content:encoded><![CDATA[<h3>&Eacute;quipements Cisco</h3>
<h5>Utilisation CPU</h5>
<p>T&eacute;l&eacute;charger le plugin <a href="http://nagios.manubulon.com/snmp_load.html">ici</a>.</p>
<p>Commande associ&eacute;e:</p>
<table border="1" cellpadding="1" cellspacing="1" style="width: 600px;">
<tbody>
<tr>
<td>[root@ ~]# ./check_snmp_load.pl -H <em>HOSTADDRESS</em> &nbsp;-C <em>Community</em> -w 80,80,80 -c 90,90,90 -T cisco -f</td>
</tr>
</tbody>
</table>
<p>w: warning status 5sec, 1min, 5 min (in percentage)</p>
<p>c: critical status 5sec, 1min, 5 min (in percentage)</p>
<h5>Occupation m&eacute;moire</h5>
<p>T&eacute;l&eacute;charger le plugin <a href="http://nagios.manubulon.com/snmp_mem.htmlnagios.manubulon.com/snmp_load.html">ici</a>.</p>
<p>Commande associ&eacute;e:</p>
<table border="1" cellpadding="1" cellspacing="1" style="width: 600px;">
<tbody>
<tr>
<td>[root@ ~]# ./check_snmp_mem.pl -H <em>HOSTADDRESS</em> &nbsp;-C <em>Community</em> -I -w 85% -c 95%</td>
</tr>
</tbody>
</table>
<p>w: warning&nbsp; status in percentage</p>
<p>c: critical status in percentage</p>
<h5>Etat des ventilateurs</h5>
<p>T&eacute;l&eacute;charger le plugin <a href="http://exchange.nagios.org/directory/Plugins/Network-Protocols/SNMP/check_catalyst_fans/details">ici</a>.</p>
<p>Commande associ&eacute;e:</p>
<table border="1" cellpadding="1" cellspacing="1" style="width: 600px;">
<tbody>
<tr>
<td>[root@ ~]# . /check_catalyst_fans.pl -s <em>HOSTADDRESS</em> -C <em>Community</em></td>
</tr>
</tbody>
</table>
<h5>Mesure du trafic sur une interface</h5>
<p>T&eacute;l&eacute;charger le plugin <a href="http://nagios.manubulon.com/check_snmp_int.pl">ici</a>.</p>
<p>Commande de listing des interfaces:</p>
<table border="1" cellpadding="1" cellspacing="1" style="width: 600px;">
<tbody>
<tr>
<td>[root@ ~]# ./check_snmp_int.pl -H <em>HOSTADDRESS </em>-C Community -n zzzzz -v</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>Definition de la commande dans commands.cfg:</p>
<table border="1" cellpadding="1" cellspacing="1" style="width: 600px;">
<tbody>
<tr>
<td>
<div>###################<br />
					# check_snmp_int.pl<br />
					###################<br />
					# &nbsp;&#39;check_snmp_int.pl&#39;, check network interfaces<br />
					define command{<br />
					command_name&nbsp;&nbsp;&nbsp; check_snmp_int<br />
					command_line&nbsp;&nbsp;&nbsp; $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ -k -w $ARG3$ -c $ARG4$ -M (for Megabit/s output) &ndash;r (the interface will be selected if it&#39;s description exactly matches the name) &ndash;f &ndash;Y (activer perfdata) -B(important pour obtenir les valeurs r&eacute;elles)<br />
					}</div>
</td>
</tr>
</tbody>
</table>
<div>
<div>
<p>&nbsp;</p>
<p>D&eacute;finition du service dans network.cfg:</p>
<table border="1" cellpadding="1" cellspacing="1" style="width: 600px;">
<tbody>
<tr>
<td>
<div>define service{<br />
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; generic-service<br />
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catalyst<br />
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp; Check interface Giga0/12 State and Traffic<br />
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_snmp_int!community!&quot;GigabitEthernet0/12&quot;!&quot;838860,838860&quot;!&quot;943718,943718&quot;</div>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
</td>
</tr>
</tbody>
</table></div>
</div>
<p>&nbsp;</p>
<p>Dans cet exemple, les seuils d&eacute;finis repr&eacute;sentent 80% et 90% de la bande passante Gigabit en kbits/s.</p>
<p>Pour plus de d&eacute;tails sur ce plugin, aller jetter un coup d&#39;oeil sur le site du <a href="http://nagios.manubulon.com/snmp_int.html">d&eacute;veloppeur</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itbeam.fr/archives/223/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ouverture de session avec un profil temporaire sous Windows 7</title>
		<link>http://www.itbeam.fr/archives/220?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ouverture-de-session-avec-un-profil-temporaire-sous-windows-7</link>
		<comments>http://www.itbeam.fr/archives/220#comments</comments>
		<pubDate>Wed, 23 May 2012 20:13:26 +0000</pubDate>
		<dc:creator>kiolul</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Profile]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.itbeam.fr/?p=220</guid>
		<description><![CDATA[Suite &#224; une petite &#233;pid&#233;mie de ransomware sous Windows gr&#226;ce a nos bons utilisateurs cr&#233;dules cliquant sur les banni&#232;res de pubs ou autres avertissements d&#8217;infection/crash...]]></description>
				<content:encoded><![CDATA[<p>Suite &agrave; une petite &eacute;pid&eacute;mie de ransomware sous Windows gr&acirc;ce a nos bons utilisateurs cr&eacute;dules cliquant sur les banni&egrave;res de pubs ou autres avertissements d&rsquo;infection/crash disque dur et j&#39;en passe, j&#39;ai eu a nettoyer des profils sous 7. Donc classique: panoplie d&#39;antispyware &amp; Co puis je me logue en administrateur local, je vais dans le dossier users et hop shift + suppr sur le r&eacute;pertoire de l&#39;utilisateur apr&egrave;s avoir bien sur v&eacute;rifi&eacute; qu&#39;aucunes donn&eacute;es n&#39;&eacute;taient pass&eacute;es &agrave; travers les diverses redirections de dossiers. Ensuite se reloguer avec le compte utilisateur, mot de passe temporaire et pan, un beau message d&#39;ouverture de session via un profile temporaire. Bon soit, google est mon ami et je me mets en qu&ecirc;te de la solution que j&#39;ai trouv&eacute; <a href="http://www.sysprobs.com/fix-temporary-profile-windows-7">ici</a>.</p>
<ul>
<li>Ouvrir une session avec le compte utilisateur disposant d&#39;un profil temporaire.</li>
<li>Lancer l&#39;editeur de registre via le menu Demarrer/Executer: regedit.</li>
<li>Naviguer jusqu&#39;au dossier contenant les SID utilisateurs:</li>
</ul>
<p><a href="http://www.itbeam.fr/wp-content/uploads/2012/05/windows7registry.png" rel="lightbox[220]" style="" target="" title="windows7registry"><img alt="" class="size-medium wp-image-284 alignnone" height="63" src="http://www.itbeam.fr/wp-content/uploads/2012/05/windows7registry-300x63.png" style="" title="windows7registry" width="300" /></a></p>
<ul>
<li>Nous pouvons voir qu&#39;il y a des cl&eacute;s similaires mais avec l&#39;extension .bak faisant la diff&eacute;rence.</li>
</ul>
<p><a href="http://www.itbeam.fr/wp-content/uploads/2012/05/correctprofile.png" rel="lightbox[220]" title="correctprofile"><img alt="" class="alignnone size-medium wp-image-286" height="101" src="http://www.itbeam.fr/wp-content/uploads/2012/05/correctprofile-300x101.png" title="correctprofile" width="300" /></a></p>
<ul>
<li>Le bon profile dispose de cette extension. Il faut donc renomer le nouveau profile afin de pouvoir supprimer l&#39;extension .bak du profile correct:</li>
</ul>
<p><a href="http://www.itbeam.fr/wp-content/uploads/2012/05/bakremoved.png" rel="lightbox[220]" title="bakremoved"><img alt="" class="alignnone size-medium wp-image-285" height="107" src="http://www.itbeam.fr/wp-content/uploads/2012/05/bakremoved-300x107.png" title="bakremoved" width="300" /></a></p>
<ul>
<li>Fermer la session puis reouvrez cette derni&egrave;re. Vous devriez plus avoir le message d&#39;avertissement de profile temporaire.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.itbeam.fr/archives/220/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
