[mrtg] Re: Monitoring Redhat Linux Memory

Max btmanmeh at verizon.net
Mon Dec 12 23:12:57 MET 2005

Max wrote:
> Steve Shipway wrote:
>>>Does anyone have any idea how to monitor the correct mem 
>>>available using SNMP? [on linux]
> Check out this site. I've been using this plugin with my Nagios instance 
> over SNMP. It seems to work great. It gets total RAM and swap usage:
> http://www.manubulon.com/nagios/snmp_mem.html

Sorry, I clicked send before I was done writing, too many windows open...

That plugin is meant for Nagios, however all the specific SNMP 
infomation is contained from within that plugin as well. You might not 
be able to use it directly for your application, but I think you can get 
what you want from reading the script and pulling out the OID's that you 
need. For instance:

# Net-snmp memory

my $nets_ram_free       = "";  # Real memory free
my $nets_ram_total      = "";  # Real memory total
my $nets_swap_free      = "";  # swap memory free
my $nets_swap_total     = "";  # Swap memory total


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list