[Xymon] Xymon Powershell Windows client

Lukas Kohl lukas.kohl at ergodirekt.de
Thu Feb 19 12:46:07 CET 2015


Hello Zak,
this is also fixed:

2015-02-19 12:34:42  Event log Security adding to payload
2015-02-19 12:34:42  Event log processing finished

Thank you for your quick response !


Kind regards,
Lukas




Von:    <zak.beck at accenture.com>
An:     <lukas.kohl at ergodirekt.de>
Kopie:  <xymon at xymon.com>
Datum:  19.02.2015 11:52
Betreff:        [SPAM] RE: [Xymon] Xymon Powershell Windows client



Hi

Fixed this one as well :) - please test. 

Zak
-----Original Message-----
From: lukas.kohl at ergodirekt.de [mailto:lukas.kohl at ergodirekt.de] 
Sent: 19 February 2015 10:22
To: Beck, Zak
Cc: xymon at xymon.com
Subject: [Xymon] Xymon Powershell Windows client

Hello Zak,
one more thing ;-)

Sometimes the msgs state switches to clear, because there are no new Logs. 

You won't get this Problem with the Linux client, because it sends at 
least
the monitored files.
It can be fixed, by adding an else Statement:

if ($logentries -ne $null) 
            {
                ....
                     else
            {
                $payload += "[msgs:eventlog_$l]" + [environment]::newline
            }

In addition to that, you allways know, which logs are monitored.
 
Kind regards,
Lukas





www.ergodirekt.de

Blog: http://blog.ergodirekt.de
Facebook: www.facebook.com/ERGODirekt
Google+: www.google.com/+ergodirekt 
Twitter: www.twitter.com/ERGODirekt
YouTube: www.youtube.com/ERGODirekt

_______________________

ERGO Direkt Lebensversicherung AG · Amtsgericht Fürth HRB 2787 · UST-ID-Nr. DE159593454
ERGO Direkt Versicherung AG · Amtsgericht Fürth HRB 2934 · UST-ID-Nr. DE159593438
ERGO Direkt Krankenversicherung AG · Amtsgericht Fürth HRB 4694 · UST-ID-Nr. DE159593446
Vorsitzender der Aufsichtsräte: Dr. Torsten Oletzky
Vorstände: Dr. Daniel von Borries (Vorsitzender), Ralf Hartmann, Dr. Jörg Stoffels
Sitz: Fürth
Adresse: Karl-Martell-Straße 60 · 90344 Nürnberg · Deutschland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150219/2007b5e8/attachment.html>


More information about the Xymon mailing list