Not much point in doing memory monitoring on a Solaris sparse zone.<br>Might as well put a check in the client script to not collect memory info for a sparse zone with capped memory.<br>See here for more info.<br><a href="http://www.xymon.com/archive/2010/02/msg00213.html">http://www.xymon.com/archive/2010/02/msg00213.html</a><br>
<br>Regards<br>     Vernon<br><br><br><div class="gmail_quote">On Wed, Dec 15, 2010 at 6:11 AM, Tim McCloskey <span dir="ltr"><<a href="mailto:tm@freedom.com">tm@freedom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Henrik,<br>
<br>
Thanks for the speedy answer.  I had seen this in fun in hobbitd/client/$clients.c.  You must enjoy porting that part of the project each time some OS makes a change :)<br>
<br>
Trivia:<br>
On Solaris 10 zones prtconf can get the installed "Memory size:"  But anything further (like prtdiag) will fail.<br>
<br>
System Configuration:  Sun Microsystems  i86pc<br>
Memory size: 32768 Megabytes<br>
System Peripherals (Software Nodes):<br>
<br>
prtconf: devinfo facility not available<br>
<br>
<br>
<br>
Regards,<br>
<br>
Tim<br>
<div class="im"><br>
<br>
________________________________________<br>
From: Henrik Størner [<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>]<br>
</div>Sent: Tuesday, December 14, 2010 1:50 PM<br>
<div class="im">To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
Subject: Re: SV: [xymon] Xymon reports excessive memory usage on 1 SLES 11 host<br>
<br>
</div><div><div></div><div class="h5">On Tue, 14 Dec 2010 13:42:21 -0800, Tim McCloskey wrote:<br>
<br>
> What does the Solaris client use to get this data?  vmstat? (free is not<br>
> a native solaris tool).<br>
<br>
Each OS has their own way of reporting memory utilisation - it is<br>
completely non-standard, and the one part of the Xymon client that<br>
requires the most code for each new OS!<br>
<br>
Specifically for Solaris, Xymon uses prtconf to determine how<br>
much memory is installed, and vmstat to determine how much is<br>
being used. "swap -s" was used for determining how much swap was<br>
being used, but earlier today I committed an update so we will<br>
now use "swap -l" instead.<br>
<br>
<br>
<br>
Regards,<br>
Henrik<br>
<br>
To unsubscribe from the xymon list, send an e-mail to<br>
<a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
<br>
<br>
<br>
<br>
<br>
To unsubscribe from the xymon list, send an e-mail to<br>
<a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
<br>
<br>
</div></div></blockquote></div><br>