[Xymon] Help turning off "msg" test with XymonPSClient.ps1

Mills,David (HHSC Contractor) David.Mills at hhsc.state.tx.us
Tue Dec 27 23:46:20 CET 2016


All -

I've installed a prototype of the PowerShell client, XymonPSClient.ps1 (2.1.5), and it is successfully reporting data back to the server. However, I'm trying to eliminate all Windows event log data from being sent to the server (i.e. suppressing the "msgs" column for that client on the Xymon display).

According to the documentation for the xymonclient_config.xml file,  the "reportevt" XML tag value controls this behavior: "reportevt ... Whether to scan and report event log ... 0 = no 1 = yes". However, even after adding the necessary tags and restarting the service on the Windows client, the "msgs" column keeps coming back.

Here's the config file:

<XymonSettings>

     <servers>xxx.xxx.txaccess.net</servers>

     <clientlogfile>C:\Users\millsda\Desktop\Xymon PS Client 2.1.5\xymonclient.log</clientlogfile>
     <clientconfigfile>C:\Users\millsda\Desktop\Xymon PS Client 2.1.5\clientconfig.cfg</clientconfigfile>

     <clientfqdn>0</clientfqdn>
     <clientlower>1</clientlower>

     <reportevt>0</reportevt>
</XymonSettings>

Here's the output of the currently active configuration on the client:

PS C:\Users\millsda\Desktop\Xymon PS Client 2.1.5> .\xymonclient.ps1 config
XymonPSClient config:

XML: C:\Users\millsda\Desktop\Xymon PS Client 2.1.5\xymonclient_config.xml
Settable Params and values:
    clientbbwinmembug=1
    clientclass=powershell
    clientlogpath=C:\Users\millsda\Desktop\Xymon PS Client 2.1.5
    clientlogretain=0
    clientname=xxx
    ClientProcessPriority=Normal
    clientremotecfgexec=0
    clientsoftware=powershell
   EnableWin32_Product=0
    EnableWin32_QuickFixEngineering=0
    EnableWMISections=0
    externaldatalocation=C:\Users\millsda\Desktop\Xymon PS Client 2.1.5\tmp
    externalscriptlocation=C:\Users\millsda\Desktop\Xymon PS Client 2.1.5\ext
    loopinterval=300
    MaxEvents=5000
    maxlogage=60
    servergiflocation=/xymon/gifs/
    serversList=xxx.xxx.txaccess.net
    slowscanrate=72
    wanteddisksList=3
    clientconfigfile=C:\Users\millsda\Desktop\Xymon PS Client 2.1.5\clientconfig.cfg
    clientfqdn=0
    clientlogfile=C:\Users\millsda\Desktop\Xymon PS Client 2.1.5\xymonclient.log
    clientlower=1
    reportevt=0
    servers=xxx.xxx.txaccess.net

---
Thx!

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
David Mills
Systems Administrator
Northrop Grumman
(512) 595-1238 (mobile)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20161227/7c9c269c/attachment.html>


More information about the Xymon mailing list