[Nagiosplug-help] Monitoring Linux cpu and memory with nrpe

scott_yem at agilent.com scott_yem at agilent.com
Thu Jun 30 09:07:20 CEST 2005

There was a good script posted on 28 April in the Nagios-Users list.  I
take no credit for writing the script, but here it is:
>you can use your own bash scripte (with ssh or nrpe)
>on a redhat el3
>mem-percent-used = $(free | awk '$1=="Mem:" {print $3 / $2 * 100}')
>then test $percent and exit the good return code
mem-percent-used = $(free | awk '$1=="Mem:" {print $3 / $2 * 100}')

You will have to write the script the way you want, but this was

Scott Yem
Research Computing Services
Agilent Laboratories

-----Original Message-----
From: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net] On Behalf Of Nicole
Sent: Thursday, June 30, 2005 8:49 AM
To: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] Monitoring Linux cpu and memory with nrpe

Hi Paul				

Sorry about missuderstanding your question....

I use check_load to check the cpu load from the nagios plugin package
 installed on the server.

I do not personally check memory usage on the server.  There might
 be a check memory plugin that is part of the plugin package....

- Nicole Albee (albeni01)


This thread is located in the archive at this URL:



SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
::: Please include plugins version (-v) and OS when reporting any issue.

::: Messages without supporting info will risk being sent to /dev/null

More information about the Help mailing list