Hi,
I need to monitor a workstation (Centos 5 x86_64).
I need to obtain informations about :
- cpu utilization per user, per a period, how many days per user,
Any ideas about a good and simple free tool ?
Regards. __________________________
Ce message (et toutes ses pièces jointes éventuelles) est confidentiel et établi à l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'IFP décline toute responsabilité au titre de ce message.
This message and any attachments (the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. IFP should not be liable for this message.
Visitez notre site Web / Visit our web site : http://www.ifp.fr __________________________
MOKRANI Rachid wrote:
Any ideas about a good and simple free tool ?
Have a look at Munin.
http://munin.projects.linpro.no/
You can install it from the RPMForge repo.
# yum install munin
Regards, Max
2010/2/1 MOKRANI Rachid Rachid.MOKRANI@ifp.fr:
Hi,
I need to monitor a workstation (Centos 5 x86_64).
I need to obtain informations about :
- cpu utilization per user, per a period, how many days per user,
Any ideas about a good and simple free tool ?
Install smpd on workstation and then use any snmp supported tool like nagios ...
-- Eero
Am Montag, den 01.02.2010, 14:14 +0100 schrieb Eero Volotinen:
2010/2/1 MOKRANI Rachid Rachid.MOKRANI@ifp.fr:
Hi,
I need to monitor a workstation (Centos 5 x86_64).
I need to obtain informations about :
- cpu utilization per user, per a period, how many days per user,
Any ideas about a good and simple free tool ?
Install smpd on workstation and then use any snmp supported tool like nagios ...
Nagios does not do snmp at all (some plugins do), also metrics (aka performance data) is just the weakest spot in nagios. To get cpu utilization per user you propably need psacct.
Chris
financial.com AG
Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
From: Christoph Maser cmr@financial.com
Nagios does not do snmp at all (some plugins do), also metrics (aka performance data) is just the weakest spot in nagios. To get cpu utilization per user you propably need psacct.
At the same time, it is "easy" to create a plugin with any data you want (by using psacct by example). Only thing is that the data length is limited... By example, the plugin just has to return on stdout something like: description|var1=value1;warn_value;critical_value;base_value;max_value var2=value2;... Example for a memory plugin, just output: MEMORY OK - RAM Used: 23% (728MB/3041MB), SWAP Used: 0% (0MB/2932MB)|RAM=728MB;2736;2888;0;3041 SWAP=0MB;2902;2932;0;2932 But again, the part after the '|' is limited in length (I think it used to be 229 chars max from old tests)... So if you have a lot of users data, you won't be able to put them all in this line. Unless you create like 1 plugin per user or some trick like that... And to graph, you can use the PnP nagios plugin.
But all this is only worth it if you need to monitor many servers...
JD
On Mon, Feb 1, 2010 at 5:08 AM, MOKRANI Rachid Rachid.MOKRANI@ifp.fr wrote:
Hi,
I need to monitor a workstation (Centos 5 x86_64).
I need to obtain informations about :
- cpu utilization per user, per a period, how many days per user,
Any ideas about a good and simple free tool ?
Regards.
In addition to the other suggestions (although those are typically used for system-level monitoring), you should look into the "psacct" package. There is an introduction to it here: http://www.cyberciti.biz/tips/howto-log-user-activity-using-process-accounti...
Greetings,
On Mon, Feb 1, 2010 at 3:38 PM, MOKRANI Rachid Rachid.MOKRANI@ifp.fr wrote:
I need to monitor a workstation (Centos 5 x86_64).
I need to obtain informations about :
- cpu utilization per user, per a period, how many days per user,
Any ideas about a good and simple free tool ?
Perhaps an overkill, but the mention of NAGios prompted me to suggest this: Zabbix
But a fairly integrated piece of work and can scale
CentOS 5 http://andrewfarley.com/sysadmin/zabbix-rpms-updated-to-1-8-1-in-my-reposito...
Some users were wondering if that could be hosted in RPM forge or similar
HTH
Regards
Rajagopal
On Mon, Feb 1, 2010 at 11:08 AM, MOKRANI Rachid Rachid.MOKRANI@ifp.fr wrote:
Hi,
I need to monitor a workstation (Centos 5 x86_64).
I need to obtain informations about :
- cpu utilization per user, per a period, how many days per user,
Any ideas about a good and simple free tool ?
Regards.
Ce message (et toutes ses pièces jointes éventuelles) est confidentiel et établi à l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'IFP décline toute responsabilité au titre de ce message.
This message and any attachments (the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. IFP should not be liable for this message.
Visitez notre site Web / Visit our web site : http://www.ifp.fr __________________________
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Maybe you should try:
Cacti: http://www.cacti.net/ Munin: http://munin.projects.linpro.no/ Nagios: www.nagios.org/
HTH
Athmane Madjoudj wrote:
I need to monitor a workstation (Centos 5 x86_64).
I need to obtain informations about :
- cpu utilization per user, per a period, how many days per user,
Any ideas about a good and simple free tool ?
Maybe you should try:
Cacti: http://www.cacti.net/ Munin: http://munin.projects.linpro.no/ Nagios: www.nagios.org/
Or OpenNMS: http://www.opennms.org.