check_mem plugin showing wroong values

Nilesh Shastrakar nilesh at extenprise.com
Thu Mar 22 05:17:52 CET 2007


Dear All,

The top output is showing the correct values of memory utilization 
If I check through the check_mem plugin it is wrong values 

could anyone help me to correct this problem 

Physical RAM on the system 1024MB

Top Out put 
Mem:   1026328k total,  1003880k used,    22448k free,    55760k buffers

and check_mem output
 
[root at test libexec]# ./check_mem -w 65 -c 90  -v
OK: 37% Used Memory - Total: 1002 MB, used: 374 MB, free: 628 MB | MemUsed=37%;65;90

Also I have attached herewith the check_mem plugin 

Thanks 
Nilesh 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070322/d959f917/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_mem
Type: application/octet-stream
Size: 3937 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070322/d959f917/attachment.obj>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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