check_mem giving wrong values
Dirk H. Schulz
dirk.schulz at kinzesberg.de
Sat Feb 4 09:15:03 CET 2006
Hi folks,
I have Nagios 2.0rc2 running up and fine (on Debian Sarge stable) and
have started testing check_mem, but it seems to give wrong information:
> /usr/local/nagios/libexec/check_mem -w 70 -c 90
> OK: 11% Used Memory | MemUsed=11%;70;90
So 11 % of used memory? Now that is what free offers:
> free
> total used free shared buffers cached
> Mem: 515892 253588 262304 0 78564 120856
> -/+ buffers/cache: 54168 461724
> Swap: 1048568 0 1048568
And cat /proc/meminfo gives the same values, of course.
Any hint or help is appreciated.
Dirk
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list