Xymon Mailing List Archive search

client-local.cfg an powershell client

list Japheth Cleaver
Tue, 17 Nov 2015 05:22:55 -0800
Message-Id: <user-60d01974f57f@xymon.invalid>

Hi,

I believe the latest version of Powershell sends the correct info by
default, and 4.3.19 fixed the incorrect netstat processing from PS
(https://sourceforge.net/p/xymon/code/7609/); I'd suggest updating on
both.

Have you tried using [class=powershell] in client-local.cfg? I'm curious
if that would actually work, there. If not, can you flip xymond into debug
mode (send a -USR2 signal to toggle) during a client submission from this
box? That should let us see what record it's sending back.


Regards,
-jc


On Tue, November 17, 2015 12:07 am, Lukas Kohl wrote:
Hello,
I am a little bit confused right now, maybe you guys can help me.
Right now, I have a bunch of windows Servers, which report their status
via Zacks Powershell client to my Xymon Server [4.3.17].
Since the netstat Graphs are not working properly, I tweaked the code a
little bit, and changed the collector OS from powershell to bbwin:

was (HOST.OS CLASS):
[collector:]
client myserver.powershell powershell XymonPS

is (HOST.OS CLASS):
[collector:]
client myserver.bbwin powershell XymonPS

This worked, and now I can see the netstat trends.

In order to get all the client logfiles, I added a new section in the
client.local.cfg:
[os=bbwin]
eventlogswanted:*:10240:Warning,Critical,Error
clientversion:2.05:http://xymonserver/psclient/
eventlog:system:10240

Unfortunately the rules won't get applied. I also tried it without the OS=
prefix, which doesn't work either.
Regarding the manpage it should work:
https://www.xymon.com/help/manpages/man5/client-local.cfg.5.html

Do you have any Idea, whats wrong here ?

P.s.: If anyone is interested in the netstat Code, I can post it here.


Kind regards,

     Lukas Kohl
     ERGO Direkt Versicherungen
     Systembetrieb 2
     Karl-Martell-Straße 60
     90344 Nürnberg
     Deutschland
     Tel.: +XX-XXX-XXX-XXXX


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 der ERGO Direkt Lebensversicherung AG und
der ERGO Direkt Krankenversicherung AG: Dr. Clemens Muth
Vorsitzender des Aufsichtsrats der ERGO Direkt Versicherung AG: Christian
Diedrich
Vorstände: Dr. Daniel von Borries (Vorsitzender), Ralf Hartmann, Dr. Jörg
Stoffels · Sitz: Fürth
Karl-Martell-Straße 60 · 90344 Nürnberg · Internet: ergodirekt.de
UniCredit Bank AG - HypoVereinsbank Kto.-Nr.: 66 071 430 · BLZ 700 202 70
IBAN: DE63 7002 0270 0066 0714 30 · BIC: HYVEDEMM