Xymon Mailing List Archive search

calculation of memory and swap

list Rolf Schrittenlocher
Thu, 19 Sep 2013 09:38:55 +0200
Message-Id: <user-ffff2dd031d9@xymon.invalid>

Hi all,

we are using solaris zones. I know, memory and swap is a bit triggy on zones, but I have a case where I think data is correct but the interpretation made by xymon (4.3.7) is wrong.
The zone is restricted up to 17 Gb swap and 8.5 Gb memory.

This is was the client collects
[memory]
  0 0 0 4430008 9320720 4403 39524 0 0 0 0 0 0  0  0  0 4752 113338 6142 1 3 96
[swap]
total: 1745856k bytes allocated + 10589520k reserved = 12335376k used, 4441840k available
[swaplist]
swapfile             dev  swaplo blocks   free
/dev/swap           4294967295,4294967295     16 4194288 702832

This is what xymon is presenting as result after interpretation:

Physical           -971M       8192M        -11%
Swap               1646M       2047M         80%

My idea is that values larger than 10 Gb are calculated the wrong way (because all zones using total memory less than 10 Gb are presented correctly). But I cannot find the place to fix this. Any ideas or hints?

Thanks,
Rolf

-- 
Mit freundlichen Gruessen
Rolf Schrittenlocher

Lokales Bibliothekssystem Frankfurt
Senckenberganlage 31, 60054 Frankfurt
Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-4b3b4051a09b@xymon.invalid