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
[EMAIL PROTECTED] 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 sobibo incs us sy
id wa
0 0 1072 67176 184720 79293600 076 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
ICS B.V.
Stadhouderslaan 57
3583 JD UTRECHT
The Netherlands
T: +31 30 6355730
F: +31 30 6355731
http://www.ic-s.nl/
ICS 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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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