cpu usage / memory usage
Niels Hamaker
n.hamaker at ic-s.nl
Tue Feb 13 09:48:45 CET 2007
Hi raghavendra,
the check_mem plugin is a simple and effective plugin to check memory. You
can find it on nagiosexchange.org.
We generally don't check CPU usage, just load, but it depends on your
setup, the applications your running, which of the two is the most
informative. It would be useful to look into that.
Niels
--On February 13, 2007 1:17:04 PM +0530 raghavendra kristam
<raghavendra.kristam at gmail.com> wrote:
>
> Hi Hugo,
>
> Thanks for the reply.
>
> I need to handle both CPU usage and Memory usage.
>
> i) I think check_load plugin supports cpu usage which provides the load
> information using with: uptime command. If we need cpu usage with vmstat
> command which plugin do I need to use.
>
>
> ii) How to handle memory usage, which plugin do I need to use.
>
> Correct me if am wrong with this understanding.
>
>
> Thanks,
> Raghavendra.
>
>
>
>>> Can some one provide directions how to handle cpu usage / memory
>> usage.
>>> I am using check_disk plugin for disk usage.
>>
>> Assuming you're talking about a unix variant, check_load is included in
>> the standard plugins and can be used to infer cpu usage. There are also
>> quite a few cpu and memory specific plugins available at
>> http://www.nagiosexchange.org .
>
> Correct me if I am wrong but the load on a unix system is not quite
> nescessary related to the CPU usage.
>
> You can get the load info for example with: uptime
> 19:24:23 up 165 days, 1:09, 3 users, load average: 0.02, 0.02, 0.00
>
> And your CPU usage with: vmstat
> procs -----------memory---------- ---swap-- -----io---- --system--
> ----cpu----
> r b swpd free buff cache si so bi bo in cs us sy
> id wa
> 0 0 1072 67176 184720 792936 0 0 0 76 1138 110 0 0
> 100 0
>
> While there usually is a relation between the two of them they are two
> different things.
>
> The question is which of these two do you (raghavendra kristam) want?
>
> There is a check_load plugin that does the load thing. For most alerting
> purposes that is quite enough. As th load tends to go up if you are low on
> memory.
>
> Hugo.
Met vriendelijke groet,
Niels Hamaker
Support desk
IC&S B.V.
Stadhouderslaan 57
3583 JD UTRECHT
The Netherlands
T: +31 30 6355730
F: +31 30 6355731
http://www.ic-s.nl/
IC&S biedt Service & Support, Development en Consultancy op uiteenlopende
internet-gerelateerde platformen, met een voorliefde voor Open Source.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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