Thanks for this first answer. Unfortunatly, check_load only show the load and not the cpu utilisation, the equivalent of typing "w" in shell. What I am looking for is more something like "top". See below I have copy the result of "top".
load = number of tasks in the queue and running (average) cpu utilisation = % of cpu in use. Here is the result of top. --- top --- 09:48:53 up 310 days, 17:31, 1 user, load average: 0.76, 0.51, 0.52 65 processes: 58 sleeping, 7 running, 0 zombie, 0 stopped CPU0 states: 48.0% user 4.0% system 0.0% nice 0.0% iowait 46.0% idle CPU1 states: 48.0% user 0.1% system 0.0% nice 0.0% iowait 50.0% idle You can get the first line of infos with check_load and check_uptime (contrib) The second with check_proc But currently I don't see any way of getter the other lines. Someone has done that? --------------------------------------------------- Alexandre Racine - Gardien Virtuel - Sécurité Informatique www.gardienvirtuel.com Montréal, Québec, Canada >>> <[EMAIL PROTECTED]> 2006-05-05 09:42:37 >>> Have a look at check_load. It is close to what you want. rgds, Lars -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serveur-Faucon Surveillance Sent: Friday, May 05, 2006 15:21 To: [email protected] Subject: [Nagios-users] Is there a way to check the cpu %? Hi people, Does someone has a way to check for the cpu or CPUs % of utilisation for Linux? check_proc does a great job with process, but sometimes I would need the cpu too. Thanks. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - Sécurité Informatique www.gardienvirtuel.com Montréal, Québec, Canada ------------------------------------------------------- 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=k&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list [email protected] 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 ------------------------------------------------------- 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&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list [email protected] 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
