<div class="gmail_quote">On Mon, Oct 10, 2011 at 7:54 PM, Japheth Cleaver <span dir="ltr"><<a href="mailto:cleaver@terabithia.org">cleaver@terabithia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 10/10/2011 12:10 PM, T.J. Yang wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi, All<br>
<br>
This is a question we got asked a lot when trying to deploy a<br>
xymon/hobbit client onto a production system.<br>
<br>
How much system resource(cpu/memory) will xymon/hobbit client consumes ?<br>
<br>
Any one has a script or C program on doing this measurement ?<br>
<br>
Procedure:<br>
<br>
1. Deploy xymon client<br>
2. Run this program for 3 days.<br>
3. Here is the report of xymon cpu/memory usage for past 3 days.<br>
<br>
I am interested to tackle this task but hopefully some one already did<br>
this work and willing to share.<br>
<br>
Regards<br>
<br>
tj<br>
</blockquote>
<br></div>
I ran this at $currentjob-- and the load was literally indistinguishable. We even ran rotating :30s sadc collectors, fired off in 1m increments (to get high-detail last-5-minute metrics in the client reports for analysis in status-change logs) and noticed no change whatsoever in non-broken boxes.<br>

<br>
If things like 'df' and 'top' cause appreciable load, the box is probably already in bad shape.<br>
<br>
If you want to reduce generic impact even further, think about things like having /dev/shm/ as your BBTMP (on linux), or firing xymonclient.sh off via SSH call or cron as an existing user (no xymonlaunch = 1 less daemon).<font color="#888888"><br>
</font></blockquote><div><br>I use cron for most clients.  I just had to put a couple of environment variables in at the top, for BBHOME & BBTMP (I think).  I also cut out the various compiled binaries and went with curl to post the status message to a php script on Xymon secure web server.<br>
<br>Ralph Mitchell<br><br></div></div>