[Xymon] Solaris 10 swap not showing on memory alert correctly?

Novosielski, Ryan novosirj at ca.rutgers.edu
Thu Aug 29 23:56:16 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/26/2013 10:58 PM, Jeremy Laidman wrote:
> On 27 June 2013 02:38, Gore, David W (David)
> <david.gore at verizon.com <mailto:david.gore at verizon.com>> wrote:
> 
> Where is it getting the 106M number?  Anyone else seen this on 
> Solaris?  ____
> 
> 
> Yes, same here.  It gets the number from the [swaplist] section
> (from `swap -l`) of your client message, in preference to the
> [swap] section (from `swap -s`).  [Reference:
> xymond/client/solaris.c, in function handle_solaris_client()]
> 
> So the real question is, why does "swap -s" and "swap -l" give
> different results?  The man page for swap indicates that "swap -s"
> includes swap space in the form of physical memory (in addition to
> swap partitions and files).  Physical memory used for swap?!  Huh!?
> I really don't know how the Solaris memory management works!

So I was about to write: "Another great question: why does one of (and
probably more, but not all) my machines NOT have a [swaplist] section
and therefore, possibly as a result, show the correct info? I'm
suspecting this is why I thought this worked fine, because it does, at
least on some of my equipment. Two machines are easy to compare
because they're both on the same page in Xymon. Both are Solaris 10u10
SPARC."

...and then I discovered that the working machine is running the Xymon
client v4.2.3 and the broken one is running Xymon 4.3.10. Hmmmmm.

- -- 
 ____*Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
 || \\UTGERS      |---------------------*O*---------------------
 ||_// Biomedical | Ryan Novosielski - Sr. Systems Programmer
 || \\ and Health | novosirj at rutgers.edu - 973/972.0922 (2x0922)
 ||  \\  Sciences | OIT/EI-Academic Svcs. - ADMC 450, Newark
      `'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlIfw3oACgkQmb+gadEcsb5jyACfYbTlfCmdFcbfRXt/mgskFE5k
V4wAoMLHxrHtQVWOpuwN+VW4Y6PSx2Qd
=AQBO
-----END PGP SIGNATURE-----




More information about the Xymon mailing list