[Xymon] Xymon Powershell Windows client
lukas.kohl at ergodirekt.de
lukas.kohl at ergodirekt.de
Thu Feb 19 11:22:15 CET 2015
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
More information about the Xymon
mailing list