[Xymon] Xymon Powershell Windows client
zak.beck at accenture.com
zak.beck at accenture.com
Thu Feb 19 11:51:33 CET 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6831 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150219/18a15b31/attachment.bin>
More information about the Xymon
mailing list