[Nagiosplug-devel] [ nagiosplug-Patches-1847879 ] check_ram plugin (based on check_swap)

Thomas Guyot-Sionnest dermoth at aei.ca
Mon Dec 10 20:25:17 CET 2007

Hash: SHA1

On 10/12/07 09:35 AM, Andreas Ericsson wrote:
> SourceForge.net wrote:
>> Patches item #1847879, was opened at 2007-12-10 14:59 Message
>> generated for change (Tracker Item Submitted) made by Item Submitter 
>> You can respond by visiting: 
>> https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1847879&group_id=29880
>> Please note that this message will contain a full copy of the comment
>> thread, including the initial issue submission, for this request, not
>> just the latest update. Category: Enhancement Group: None Status:
>> Open Resolution: None Priority: 5 Private: No Submitted By: Christian
>> Heim (g_phreak) Assigned to: Nobody/Anonymous (nobody) Summary:
>> check_ram plugin (based on check_swap)
>> Initial Comment: Find attached a C-based version of the check_ram
>> plugin. The code is based upon the check_swap plugin minus the
>> BSD/AIX (and others) code.
> Why not just use sysconf(_SC_PHYS_PAGES) - sysconf(_SC_AV_PHYS_PAGES) ?
> Fiddling with /proc/meminfo isn't very portable.

Lol. I didn't read the plug-in yet but I would have assumed from start
that it was portable. I'm sure we want a memory check plugin, so I'll
rework it it there's a way to make it portable. This won't be for the
upcoming release though...


Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Devel mailing list