<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } @font-face { font-family: 'Cambria Math'; } @font-face { font-family: Calibri; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; } a:link, span.MsoHyperlink { color: rgb(5, 99, 193); text-decoration: underline; } a:visited, span.MsoHyperlinkFollowed { color: rgb(149, 79, 114); text-decoration: underline; } span.EmailStyle17 { font-family: Calibri, sans-serif; color: windowtext; } span.EmailStyle18 { font-family: Calibri, sans-serif; color: rgb(31, 73, 125); } .MsoChpDefault { font-size: 10pt; } @page WordSection1 { margin: 1in; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p style="">I don't know the PS client at all, but if you consider that the client is accessing quite a bit of system info, including event logs I presume, and considering how poorly PS performs (compared to Linux/Unix equivalents - I know, they aren't equivalent,
 but...), the CPU use is not surprising. We have had the same issue with BBWin (on virtual machines) - the systems became actually unresponsive for brief periods when BBWin was collecting its data - and had to add a second CPU. These montiors do collect a lot.<br>
</p>
<p style=""><br>
</p>
<p style="">BBWin is a dinosaur but it mostly gets the (simple monitoring) job done. We still have to look out for when it mysteriously dies on win 2012 and restart it - no fix for this as I understand.<br>
</p>
<p style=""><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri; font-size:12pt"><span lang="en-AU"></span></div>
</div>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of Scot Kreienkamp <SKreien@la-z-boy.com><br>
<b>Sent:</b> Wednesday, 5 November 2014 5:55 AM<br>
<b>To:</b> Gregory DeCecco; xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] XymonPSclient</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks for the recommendation Greg.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">When I loaded the PowerGUI it would not let me run the powershell client, it keeps returning errors about "execution of scripts is disabled on this system" despite trying unrestricted, bypass, etc, and confirming
 with get-executionpolicy that those settings were indeed set correctly.   Never did figure that one out.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">I did finally get it to work running it from a powershell command line.  On an otherwise Idle system the powershell client was taking 30-40% of CPU for 2-3 minutes at a time.  That's too heavy of an impact to
 justify putting any effort into it.  </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">BBWin is really showing issues with the newer versions of windows, it's getting hard to monitor windows clients anymore. 
</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt; font-family:"Arial","sans-serif"; color:black">Scot Kreienkamp</span></b></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div style="border:none; border-left:solid blue 1.5pt; padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Xymon [mailto:xymon-bounces@xymon.com] <b>On Behalf Of
</b>Gregory DeCecco<br>
<b>Sent:</b> Tuesday, November 04, 2014 6:49 AM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] XymonPSclient</p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Scott,<span style="font-size:12.0pt"></span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">The first thing I would do if I were in your position is make sure the client machine is listed in the hosts config file on the xymon server.  Then I would restart the xymond service to force it to reread the hosts config file.  Next, I
 would load up PowerGUI (a free PowerShell editor) and open the xymon PowerShell client.  Scroll down to the bottom of he file and find the lines of code that will build the string of report data that will be uploaded to the xymon server.  Also find the function
 call that uploads the data to xymon.  Set breakpoints that allow you to pause the execution of the code and make sure the report string is populated with valid data.  Also step line-by-line through the uploading process and keep an eye open for any errors
 that might get thrown.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">This is as far as I can take you without actually being there and seeing what happens.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Greg DeCecco</p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On Nov 3, 2014, at 4:12 PM, "Scot Kreienkamp" <<a href="mailto:SKreien@la-z-boy.com">SKreien@la-z-boy.com</a>> wrote:</p>
</div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hey everyone,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I'm trying out the PS client again after using it 1-2 years ago and it causing too many problems.  I'm hoping the impact on the clients will have been lessened since I tried it last.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have the PS client installed and configured, but I never show any connection to the xymon server while monitoring with tcpdump.  Also, I never get any files created in the temp directory.  Here's the dump of the config below:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">PS C:\Xymon> .\xymonclient.ps1 config</p>
<p class="MsoNormal">XymonPSClient config:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">servers      : xymon.internal.hq</p>
<p class="MsoNormal">loopinterval : 60</p>
<p class="MsoNormal">maxlogage    : 30</p>
<p class="MsoNormal">clientlower  : 1</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Settable Params and values:</p>
<p class="MsoNormal">    clientbbwinmembug=1</p>
<p class="MsoNormal">    clientconfigfile=C:\Users\skreien\AppData\Local\Temp\xymonconfig.cfg</p>
<p class="MsoNormal">    clientfqdn=1</p>
<p class="MsoNormal">    clientlogfile=C:\Users\skreien\AppData\Local\Temp\xymonclient.log</p>
<p class="MsoNormal">    clientlower=1</p>
<p class="MsoNormal">    clientname=corpvskreien.na.lzb.hq</p>
<p class="MsoNormal">    clientremotecfgexec=0</p>
<p class="MsoNormal">    loopinterval=60</p>
<p class="MsoNormal">    maxlogage=30</p>
<p class="MsoNormal">    reportevt=1</p>
<p class="MsoNormal">    servers= xymon.internal.hq</p>
<p class="MsoNormal">    slowscanrate=72</p>
<p class="MsoNormal">    wanteddisks=3</p>
<p class="MsoNormal">    wantedlogs=Application System Security</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The Xymon server is running as it is receiving messages from hundreds of other clients.  This is an internal only server so iptables is off, Windows firewall is off, and I can successfully telnet from the client to the Xymon server port
 so there is nothing standing in the way.  </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The server is Redhat 5.5, client is Win7.  Any ideas?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span style="font-size:9.0pt; font-family:"Arial","sans-serif"; color:black">Scot Kreienkamp </span></b><span style="font-family:"Arial","sans-serif"; color:#1F497D">
</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman","serif""><br>
<br>
<br>
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly
 prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number.
 Thank you. </span></p>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a></span></p>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>