<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.hegyd.com/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://wiki.hegyd.com/index.php?action=history&amp;feed=atom&amp;title=Megacli</id>
		<title>Megacli - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hegyd.com/index.php?action=history&amp;feed=atom&amp;title=Megacli"/>
		<link rel="alternate" type="text/html" href="https://wiki.hegyd.com/index.php?title=Megacli&amp;action=history"/>
		<updated>2026-07-10T22:23:30Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.15.4</generator>

	<entry>
		<id>https://wiki.hegyd.com/index.php?title=Megacli&amp;diff=2060&amp;oldid=prev</id>
		<title>Pentasonic le 1 août 2019 à 15:35</title>
		<link rel="alternate" type="text/html" href="https://wiki.hegyd.com/index.php?title=Megacli&amp;diff=2060&amp;oldid=prev"/>
				<updated>2019-08-01T15:35:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Version précédente&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version du 1 août 2019 à 15:35&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 59 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 59 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Megacli&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Catégorie:Administration serveurs&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-07-10 22:23:30 --&gt;
&lt;/table&gt;</summary>
		<author><name>Pentasonic</name></author>	</entry>

	<entry>
		<id>https://wiki.hegyd.com/index.php?title=Megacli&amp;diff=2059&amp;oldid=prev</id>
		<title>Pentasonic&amp;nbsp;:&amp;#32;/* Supervision du RAID avec Megacli */</title>
		<link rel="alternate" type="text/html" href="https://wiki.hegyd.com/index.php?title=Megacli&amp;diff=2059&amp;oldid=prev"/>
				<updated>2019-08-01T15:34:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Supervision du RAID avec Megacli&lt;/span&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Version précédente&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version du 1 août 2019 à 15:34&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 58 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 58 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;MegaCli -AdpEventLog -GetEvents -f events.log -a0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;MegaCli -AdpEventLog -GetEvents -f events.log -a0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Megacli]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-07-10 22:23:30 --&gt;
&lt;/table&gt;</summary>
		<author><name>Pentasonic</name></author>	</entry>

	<entry>
		<id>https://wiki.hegyd.com/index.php?title=Megacli&amp;diff=2058&amp;oldid=prev</id>
		<title>Pentasonic&amp;nbsp;:&amp;#32;Page créée avec « = Supervision du RAID avec Megacli =  Sur les serveurs OVH le package megacli est déjà installé dans /sbin/MegaCli  Sinon, l'installer via le lien suivant : https://hwraid… »</title>
		<link rel="alternate" type="text/html" href="https://wiki.hegyd.com/index.php?title=Megacli&amp;diff=2058&amp;oldid=prev"/>
				<updated>2019-08-01T15:34:00Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « = Supervision du RAID avec Megacli =  Sur les serveurs OVH le package megacli est déjà installé dans /sbin/MegaCli  Sinon, l&amp;#39;installer via le lien suivant : https://hwraid… »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Supervision du RAID avec Megacli =&lt;br /&gt;
&lt;br /&gt;
Sur les serveurs OVH le package megacli est déjà installé dans /sbin/MegaCli&lt;br /&gt;
&lt;br /&gt;
Sinon, l'installer via le lien suivant :&lt;br /&gt;
https://hwraid.le-vert.net/wiki/DebianPackages&lt;br /&gt;
&lt;br /&gt;
Puis :&lt;br /&gt;
&amp;lt;pre&amp;gt; apt-get install megacli&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enfin :&lt;br /&gt;
&amp;lt;pre&amp;gt;ln -s /usr/sbin/megacli /sbin/MegaCli&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Activation plugin megasas pour serveurs avec RAID Hard :&lt;br /&gt;
&amp;lt;pre&amp;gt;cat &amp;lt;&amp;lt;EOF &amp;gt;/etc/sudoers.d/nagios-raid&lt;br /&gt;
User_Alias CHECK_RAID=nagios&lt;br /&gt;
Defaults:CHECK_RAID !requiretty&lt;br /&gt;
CHECK_RAID ALL=(root) NOPASSWD: /sbin/MegaCli&lt;br /&gt;
EOF&lt;br /&gt;
chmod 440 /etc/sudoers.d/nagios-raid&lt;br /&gt;
&lt;br /&gt;
cd /usr/local/share/hegyd/sys-common/&lt;br /&gt;
git fetch&lt;br /&gt;
git pull&lt;br /&gt;
&lt;br /&gt;
cd /etc/nagios&lt;br /&gt;
rm -f nrpe_local.cfg&lt;br /&gt;
ln -s /usr/local/share/hegyd/sys-common/nagios/nrpe_local.cfg&lt;br /&gt;
service nagios-nrpe-server restart&lt;br /&gt;
&lt;br /&gt;
cd /usr/local/share/hegyd/sys-common/&lt;br /&gt;
nagios/plugins/check_megaraid_sas&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ajouter ensuite le serveur dans la supervision nagios au check &amp;quot;RAID MEGACLI&amp;quot;&lt;br /&gt;
puis :&lt;br /&gt;
&amp;lt;pre&amp;gt;service nagios reload&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Commandes MegaCli importantes ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Infos sur la carte RAID&lt;br /&gt;
MegaCli -adpallinfo -aAll&lt;br /&gt;
&lt;br /&gt;
# Liste des grappes Raid et des disques&lt;br /&gt;
MegaCli -LdPdInfo -a0&lt;br /&gt;
&lt;br /&gt;
# Allumer la LED d'un disque défaillant&lt;br /&gt;
MegaCli -PdLocate -start -physdrv[10:5] -a0&lt;br /&gt;
&lt;br /&gt;
# L'eteindre :&lt;br /&gt;
MegaCli -PdLocate -stop -physdrv[10:5] -a0&lt;br /&gt;
&lt;br /&gt;
# Surveiller la reconstruction du RAID&lt;br /&gt;
MegaCli -PDRbld -ShowProg -PhysDrv [10:5] -a0&lt;br /&gt;
&lt;br /&gt;
# Liste des évènements sur la carte&lt;br /&gt;
MegaCli -AdpEventLog -GetEvents -f events.log -a0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pentasonic</name></author>	</entry>

	</feed>