<?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>Hypervisor.fr &#187; VMkernel Observations</title>
	<atom:link href="http://www.hypervisor.fr/?feed=rss2&#038;tag=vmkernel-observations" rel="self" type="application/rss+xml" />
	<link>http://www.hypervisor.fr</link>
	<description>French Bare-Metal weblog</description>
	<lastBuildDate>Wed, 26 Jun 2024 22:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Happy Events</title>
		<link>http://www.hypervisor.fr/?p=5229</link>
		<comments>http://www.hypervisor.fr/?p=5229#comments</comments>
		<pubDate>Tue, 08 Jul 2014 07:16:00 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[alarm]]></category>
		<category><![CDATA[esx.problem]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[syslog]]></category>
		<category><![CDATA[VMkernel Observations]]></category>
		<category><![CDATA[vob]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5229</guid>
		<description><![CDATA[MAJ 08/01/2019 :  Pour les events vCenter, il faut prefixer avec &#8220;Vim.Event.&#8221; quand on joue avec l&#8217;EventManager.
Que ce soit pour créer de nouvelles alarmes dans le vCenter ou parce que certains messages d&#8217;alerte ne sont visible que dans les logs d&#8217;ESXi, nous avions autrefois recours à la page vCenter Events de Veeam pour trouver l&#8217;inspiration. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><em><span style="color: #ff0000;">MAJ 08/01/2019</span> :  Pour les events vCenter, il faut prefixer avec &#8220;<strong>Vim.Event.</strong>&#8221; quand on joue avec l&#8217;EventManager.</em></p>
<p style="text-align: justify;">Que ce soit pour <a href="http://www.hypervisor.fr/?p=4048" target="_blank">créer de nouvelles alarmes dans le vCenter</a> ou parce que certains messages d&#8217;alerte ne sont visible que dans les logs d&#8217;ESXi, nous avions autrefois recours à <a href="http://www.veeam.com/support/vcEvents.html">la page vCenter Events de Veeam</a> pour trouver l&#8217;inspiration. Cette page n&#8217;étant plus mise à jour depuis fin 2011, nous avons chercher à produire un page similaire pour nos propres besoins et l&#8217;avons, depuis quelques temps, mise à dispo <a href="http://www.hypervisor.fr/?page_id=382" target="_blank">dans la rubrique &#8220;Links&#8221;</a>. Voici la commande PowerCLI qui vous permettra de générer la votre depuis votre vCenter (et plugins) :</p>
<pre class="brush: powershell; title: ; notranslate">(Get-View EventManager).Description.EventInfo|select @{n=&quot;event&quot;;e={if ($_.key -match &quot;^EventEx$|^ExtendedEvent$&quot;) {$_.FullFormat.split(&quot;|&quot;)[0]} else {$_.key}}},category,description,FullFormat|Out-GridView</pre>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/vcEvents_GridView.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/vcEvents_GridView.png" alt="" width="523" height="401" /></a></p>
<p style="text-align: justify;">Nous nous sommes très largement inspiré <a href="http://www.lucd.info/2009/11/18/events-dear-boy-events-part-2/" target="_blank">d&#8217;un post de Luc pour ce oneliner</a> <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: justify;">Récemment, <a href="http://www.virtuallyghetto.com/2014/04/other-handy-vsphere-vobs-for-creating-vcenter-alarms.html" target="_blank">William à posté une liste similaire issue d&#8217;un fichier disponible en clair dans les librairies d&#8217;ESXi</a> mais nous avons remarqué qu&#8217;il ne contenait pas les événements vob.* que nous pouvions trouver dans les logs. Après quelques recherches, nous avons fini par faire un coup de <a href="http://technet.microsoft.com/en-us/sysinternals/bb897439.aspx" target="_blank">strings</a> sur le binaire <strong>/usr/lib/vmware/vob/bin/vobd</strong> (issue d&#8217;un ESXi 5.5 1331820) pour en extraire les précieux messages. Nous avons ensuite &#8220;dédoublonné&#8221; la liste obtenue (vob.vmfs.heartbeat.timedout == esx.problem.vmfs.heartbeat.timedout par exemple) pour ne garder que le différentiel :</p>
<blockquote><p>vob.net.fence.port.fail<br />
vob.net.pg.uplink.transition.down<br />
vob.net.pg.uplink.transition.up<br />
vob.net.dvport.uplink.transition.down<br />
vob.net.dvport.uplink.transition.up<br />
vob.net.uplink.watchdog.timeout<br />
vob.net.migrate.bindtovmk.failed<br />
vob.net.portset.port.connect.fail<br />
vob.net.lacp.uplink.peer.noresponse<br />
vob.scsi.scsipath.add<br />
vob.scsi.scsipath.remove<br />
vob.scsi.scsipath.por<br />
vob.scsi.scsipath.badpath.unsafepe<br />
vob.scsi.scsipath.badpath.unreachpe<br />
vob.scsi.scsipath.pathstate.dead<br />
vob.scsi.scsipath.pathstate.off<br />
vob.scsi.scsipath.pathstate.on<br />
vob.scsi.scsipath.pathstate.standby<br />
vob.iscsi.connection.started<br />
vob.iscsi.connection.stopped<br />
vob.iscsi.connection.error<br />
vob.iscsi.target.async.event<br />
vob.iscsi.session.recovery.timeout<br />
vob.iscsi.target.permanently.removed<br />
vob.iscsi.isns.discovery.error<br />
vob.vmfs.lock.corruptondisk.v2<br />
vob.user.dcui.factory.network.restored<br />
vob.user.dcui.restarting.hostagents<br />
vob.user.dcui.restore.factory.defaults<br />
vob.user.dhclient.lease.offered.noexpiry<br />
vob.user.coredump.unconfigured2<br />
vob.user.coredump.capacity.insufficient<br />
vob.user.scratch.partition.size.small<br />
vob.user.scratch.partition.unconfigured<br />
vob.user.dcui.reboot.host<br />
vob.user.dcui.shutdown.host<br />
vob.user.esxcli.host.reboot<br />
vob.user.coredump.configured2<br />
vob.cpu.mce.log<br />
vob.cpu.nmi.ipi.vmkcs<br />
vob.cpu.nmi.ipi.unknowncs<br />
vob.cpu.nmi.ipi.halt<br />
vob.cpu.nmi.ipi.savebt<br />
vob.uw.core.dumped<br />
vob.external.warning<br />
vob.external.error<br />
vob.external.info<br />
vob.user.external.warning<br />
vob.user.external.error<br />
vob.user.external.info<br />
vob.visorfs.tardisk.readonlyfile<br />
vob.vsan.pdl.offline<br />
vob.vsan.pdl.online<br />
vob.vsan.net.gotip<br />
vob.vsan.net.noip<br />
vob.vsan.rdt.noip<br />
vob.vsan.net.no.connectivity<br />
vob.vsan.net.created<br />
vob.vsan.net.reconfigured<br />
vob.vsan.cmmds.disabled<br />
vob.vsan.cmmds.unloaded<br />
vob.vsan.cmmds.enabled<br />
vob.vsan.lsom.diskerror</p></blockquote>
<p>Pour les curieux, <a href="http://files.hypervisor.fr/doc/vobd.txt" target="_blank">voici la liste originale</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5229</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
