<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Markus Bäker</title>
	<atom:link href="http://www.mbaeker.de/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mbaeker.de</link>
	<description>Use %~dp0 !!!</description>
	<lastBuildDate>Sun, 22 Jan 2012 14:04:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>Comment on SCOM2Nagios 1.5 by markus</title>
		<link>http://www.mbaeker.de/2011/10/scom2nagios-1-5/comment-page-1/#comment-14809</link>
		<dc:creator>markus</dc:creator>
		<pubDate>Sun, 22 Jan 2012 14:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mbaeker.de/?p=747#comment-14809</guid>
		<description>&lt;a href=&quot;#comment-14710&quot; rel=&quot;nofollow&quot;&gt;@Sandra &lt;/a&gt; 
Hi,
just wanted to start Start Visual Studio but after a second thought I cannot see a connection. The Connector simply starts the send_nagios.exe and doesn&#039;t keep it opened. Do you see many send_nagios.exe processes in your task manager?
If you see them and already work on a w2k8 system, please add the command line column and send me an email with the screenshoot.

Thanks

Markus</description>
		<content:encoded><![CDATA[<p><a href="#comment-14710" rel="nofollow">@Sandra </a><br />
Hi,<br />
just wanted to start Start Visual Studio but after a second thought I cannot see a connection. The Connector simply starts the send_nagios.exe and doesn&#8217;t keep it opened. Do you see many send_nagios.exe processes in your task manager?<br />
If you see them and already work on a w2k8 system, please add the command line column and send me an email with the screenshoot.</p>
<p>Thanks</p>
<p>Markus</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SCOM2Nagios 1.5 by Sandra</title>
		<link>http://www.mbaeker.de/2011/10/scom2nagios-1-5/comment-page-1/#comment-14710</link>
		<dc:creator>Sandra</dc:creator>
		<pubDate>Thu, 19 Jan 2012 09:20:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mbaeker.de/?p=747#comment-14710</guid>
		<description>Hi Markus,

We have a problem with the connector. It keeps the connection alive, this usualy would not be a problem. However I have to send all warnings and errors to Nagios and unfortunataly that is alot of traffic so Nagios is hanging on the many many connections that SCOM makes but does not end.

Can you do something about that? There is a parameter for that so i&#039;m told.

With kind regards,
Sandra</description>
		<content:encoded><![CDATA[<p>Hi Markus,</p>
<p>We have a problem with the connector. It keeps the connection alive, this usualy would not be a problem. However I have to send all warnings and errors to Nagios and unfortunataly that is alot of traffic so Nagios is hanging on the many many connections that SCOM makes but does not end.</p>
<p>Can you do something about that? There is a parameter for that so i&#8217;m told.</p>
<p>With kind regards,<br />
Sandra</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SCOM2Nagios 1.5 by David</title>
		<link>http://www.mbaeker.de/2011/10/scom2nagios-1-5/comment-page-1/#comment-13847</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 26 Dec 2011 15:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mbaeker.de/?p=747#comment-13847</guid>
		<description>Hi Markus,
I would like that the Connector send to Nagios(Centreon Console) only the name of the server and not the name with domain.
Exemple :hpv33sm10e and not hpv33sm10e.domain.local

It&#039;s possible ?

Thanks for your answer.
Best Regards
David</description>
		<content:encoded><![CDATA[<p>Hi Markus,<br />
I would like that the Connector send to Nagios(Centreon Console) only the name of the server and not the name with domain.<br />
Exemple :hpv33sm10e and not hpv33sm10e.domain.local</p>
<p>It&#8217;s possible ?</p>
<p>Thanks for your answer.<br />
Best Regards<br />
David</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatisch bestimmte Zertifikate auf Computern l&#246;schen by chris</title>
		<link>http://www.mbaeker.de/2011/04/automatisch-bestimmte-zertifikate-auf-computern-lschen/comment-page-1/#comment-12741</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Wed, 30 Nov 2011 10:06:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mbaeker.de/?p=434#comment-12741</guid>
		<description>Super das wars! Vielen Vielen Dank</description>
		<content:encoded><![CDATA[<p>Super das wars! Vielen Vielen Dank</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatisch bestimmte Zertifikate auf Computern l&#246;schen by Chris</title>
		<link>http://www.mbaeker.de/2011/04/automatisch-bestimmte-zertifikate-auf-computern-lschen/comment-page-1/#comment-12707</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 29 Nov 2011 19:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mbaeker.de/?p=434#comment-12707</guid>
		<description>Super vielen Dank schonmal, werde is dann Morgen gleich mal testen. 

Viele Grüße

Chris</description>
		<content:encoded><![CDATA[<p>Super vielen Dank schonmal, werde is dann Morgen gleich mal testen. </p>
<p>Viele Grüße</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatisch bestimmte Zertifikate auf Computern l&#246;schen by markus</title>
		<link>http://www.mbaeker.de/2011/04/automatisch-bestimmte-zertifikate-auf-computern-lschen/comment-page-1/#comment-12706</link>
		<dc:creator>markus</dc:creator>
		<pubDate>Tue, 29 Nov 2011 18:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mbaeker.de/?p=434#comment-12706</guid>
		<description>So. Jetzt hatte ich endlich mal Zeit mir dein Beispiel anzuschauen. Keine Ahnung ob du es noch benötigst :-) , aber das Problem liegt in dem Leerzeichen bei Serial Number. Wenn man aus der Zeile 
if &quot;%%a&quot;==&quot;Serial Number&quot; ( 
macht, dann funktioniert das Skript (wenigstens bei mir mit deinen Ausgaben).  In diesem Fall braucht man kein . mehr, da wir jetzt ja &quot; haben ;-)

Grüße

Makrus</description>
		<content:encoded><![CDATA[<p>So. Jetzt hatte ich endlich mal Zeit mir dein Beispiel anzuschauen. Keine Ahnung ob du es noch benötigst <img src='http://www.mbaeker.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  , aber das Problem liegt in dem Leerzeichen bei Serial Number. Wenn man aus der Zeile<br />
if &#8220;%%a&#8221;==&#8221;Serial Number&#8221; (<br />
macht, dann funktioniert das Skript (wenigstens bei mir mit deinen Ausgaben).  In diesem Fall braucht man kein . mehr, da wir jetzt ja &#8221; haben <img src='http://www.mbaeker.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Grüße</p>
<p>Makrus</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatisch bestimmte Zertifikate auf Computern l&#246;schen by chris</title>
		<link>http://www.mbaeker.de/2011/04/automatisch-bestimmte-zertifikate-auf-computern-lschen/comment-page-1/#comment-12487</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Thu, 24 Nov 2011 15:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mbaeker.de/?p=434#comment-12487</guid>
		<description>Hey,

ich bins noch mal :)

also wenn ich das script wie oben beschrieben ausfuehre passiert nix. Ich komme nie in den ERRORLEVEL 0 

Danke schonmal 

Chris</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>ich bins noch mal <img src='http://www.mbaeker.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>also wenn ich das script wie oben beschrieben ausfuehre passiert nix. Ich komme nie in den ERRORLEVEL 0 </p>
<p>Danke schonmal </p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatisch bestimmte Zertifikate auf Computern l&#246;schen by chris</title>
		<link>http://www.mbaeker.de/2011/04/automatisch-bestimmte-zertifikate-auf-computern-lschen/comment-page-1/#comment-12448</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Wed, 23 Nov 2011 13:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mbaeker.de/?p=434#comment-12448</guid>
		<description>Hey Danke fuer die schnelle Antwort..

ich bin zu bloed ohne debugger komme ich nicht klar -_-

Ausgabe

 my
================ Certificate 0 ================
Serial Number: 7f5c678f000100004edc
Issuer: CN=xyz, DC=abc, DC=net
 NotBefore: 11/23/2011 10:44 AM
 NotAfter: 11/22/2012 10:44 AM
Subject: CN=xxx.zzz.net
Certificate Template Name (Certificate Type): Machine
Non-root Certificate
Template: Machine, Computer
Cert Hash(sha1): 99 ac 76 69 45 fa 25 ed de d1 ea c9 30 43 8c 43 ed a7 06 7f
  Key Container = 9eefc1efdcxxxxxxxx1fddf_126c3772-206b-yyyy-84b5-50a523cfa1fd
  Provider = Microsoft RSA SChannel Cryptographic Provider
Encryption test FAILED
CertUtil: -store command completed successfully.


Hier meine Aenderung

@echo off

setlocal ENABLEDELAYEDEXPANSION

rem Aktuelle Zertifikate im My-Store ausgeben (beinhaltet auch den COmputer Store)

certutil -store my &gt; store.tmp

rem durch das ergebnis durchgehen

for /f &quot;delims=: tokens=1,*&quot; %%a in (store.tmp) do (

  rem seriennummer des aktuellen zertifikates zwischenspeichern

  if %%a.==Serial Number. (

    set seriennummer=%%b

  )

  rem anhand ausgabe der vorlage erkennen ob es eine bestimmte Vorlage hat

  if %%a.==Template. (

    echo %%a &#124; findstr /i &quot;Machine, Computer&quot;

    if ERRORLEVEL 0 (

       rem certutil -delstore my !seriennummer!      
echo Gefunden
    )

    set seriennummer=

  )

)

rem del store.tmp

Endlocal</description>
		<content:encoded><![CDATA[<p>Hey Danke fuer die schnelle Antwort..</p>
<p>ich bin zu bloed ohne debugger komme ich nicht klar -_-</p>
<p>Ausgabe</p>
<p> my<br />
================ Certificate 0 ================<br />
Serial Number: 7f5c678f000100004edc<br />
Issuer: CN=xyz, DC=abc, DC=net<br />
 NotBefore: 11/23/2011 10:44 AM<br />
 NotAfter: 11/22/2012 10:44 AM<br />
Subject: CN=xxx.zzz.net<br />
Certificate Template Name (Certificate Type): Machine<br />
Non-root Certificate<br />
Template: Machine, Computer<br />
Cert Hash(sha1): 99 ac 76 69 45 fa 25 ed de d1 ea c9 30 43 8c 43 ed a7 06 7f<br />
  Key Container = 9eefc1efdcxxxxxxxx1fddf_126c3772-206b-yyyy-84b5-50a523cfa1fd<br />
  Provider = Microsoft RSA SChannel Cryptographic Provider<br />
Encryption test FAILED<br />
CertUtil: -store command completed successfully.</p>
<p>Hier meine Aenderung</p>
<p>@echo off</p>
<p>setlocal ENABLEDELAYEDEXPANSION</p>
<p>rem Aktuelle Zertifikate im My-Store ausgeben (beinhaltet auch den COmputer Store)</p>
<p>certutil -store my &gt; store.tmp</p>
<p>rem durch das ergebnis durchgehen</p>
<p>for /f &#8220;delims=: tokens=1,*&#8221; %%a in (store.tmp) do (</p>
<p>  rem seriennummer des aktuellen zertifikates zwischenspeichern</p>
<p>  if %%a.==Serial Number. (</p>
<p>    set seriennummer=%%b</p>
<p>  )</p>
<p>  rem anhand ausgabe der vorlage erkennen ob es eine bestimmte Vorlage hat</p>
<p>  if %%a.==Template. (</p>
<p>    echo %%a | findstr /i &#8220;Machine, Computer&#8221;</p>
<p>    if ERRORLEVEL 0 (</p>
<p>       rem certutil -delstore my !seriennummer!<br />
echo Gefunden<br />
    )</p>
<p>    set seriennummer=</p>
<p>  )</p>
<p>)</p>
<p>rem del store.tmp</p>
<p>Endlocal</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatisch bestimmte Zertifikate auf Computern l&#246;schen by markus</title>
		<link>http://www.mbaeker.de/2011/04/automatisch-bestimmte-zertifikate-auf-computern-lschen/comment-page-1/#comment-12443</link>
		<dc:creator>markus</dc:creator>
		<pubDate>Wed, 23 Nov 2011 11:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mbaeker.de/?p=434#comment-12443</guid>
		<description>&lt;a href=&quot;#comment-12441&quot; rel=&quot;nofollow&quot;&gt;@chris &lt;/a&gt; 
Hi,
die Variablen werden per %%a angesprochen, da die cmd im ersten Durchlauf alles mit %a ersetzen würde, und dann gäbs die nicht mehr. %%a wird somit nach dem Ersetzen ein normales %a sein.
Der Punkt hinter der Variable ist für den Vergleich notwendig. Wenn die Variable leer ist, würde das if Statement falsch sein, da die Variable wieder nur durch den Text ersetzt wird: &quot;if ==blabla&quot;. Durch den Punkt (oder irgendwas anderes) bleibt auf jeden Fall if .==blabla. 
Bei einem englischen System sollte ein Ersetzen  durch Serial Number reichen. Falls nicht einfach eine Beispielausgabe anhängen.

Viel Erfolg

Markus</description>
		<content:encoded><![CDATA[<p><a href="#comment-12441" rel="nofollow">@chris </a><br />
Hi,<br />
die Variablen werden per %%a angesprochen, da die cmd im ersten Durchlauf alles mit %a ersetzen würde, und dann gäbs die nicht mehr. %%a wird somit nach dem Ersetzen ein normales %a sein.<br />
Der Punkt hinter der Variable ist für den Vergleich notwendig. Wenn die Variable leer ist, würde das if Statement falsch sein, da die Variable wieder nur durch den Text ersetzt wird: &#8220;if ==blabla&#8221;. Durch den Punkt (oder irgendwas anderes) bleibt auf jeden Fall if .==blabla.<br />
Bei einem englischen System sollte ein Ersetzen  durch Serial Number reichen. Falls nicht einfach eine Beispielausgabe anhängen.</p>
<p>Viel Erfolg</p>
<p>Markus</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatisch bestimmte Zertifikate auf Computern l&#246;schen by chris</title>
		<link>http://www.mbaeker.de/2011/04/automatisch-bestimmte-zertifikate-auf-computern-lschen/comment-page-1/#comment-12441</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Wed, 23 Nov 2011 10:33:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mbaeker.de/?p=434#comment-12441</guid>
		<description>Hey,

nettes script erstmal danke dafuer.

leider sind meine Batch skills arg eingerostet :)

wieso werden die Variablen via %% angesprochen und was bedeutet der . dahinter?

Bin da bei das script fuer meine Faelle unzustricken, dazu muss ich nach Serial Number Suchen. Muss dazu der Delims und der Token angepasst werden?

Ware voll nett wenn du mir das erklaeren koenntest oder eine url parat hast wo das ganze besprochen wird.

Danke

chris</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>nettes script erstmal danke dafuer.</p>
<p>leider sind meine Batch skills arg eingerostet <img src='http://www.mbaeker.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>wieso werden die Variablen via %% angesprochen und was bedeutet der . dahinter?</p>
<p>Bin da bei das script fuer meine Faelle unzustricken, dazu muss ich nach Serial Number Suchen. Muss dazu der Delims und der Token angepasst werden?</p>
<p>Ware voll nett wenn du mir das erklaeren koenntest oder eine url parat hast wo das ganze besprochen wird.</p>
<p>Danke</p>
<p>chris</p>
]]></content:encoded>
	</item>
</channel>
</rss>

