Pandora FMS community forums
Monitoring CPU % of usage for CPU User, CPU System and CPU Wait using SAR - Printable Version

+- Pandora FMS community forums (https://pandorafms.org/forum)
+-- Forum: Pandora FMS (https://pandorafms.org/forum/forum-3.html)
+--- Forum: General monitoring discussion (https://pandorafms.org/forum/forum-6.html)
+--- Thread: Monitoring CPU % of usage for CPU User, CPU System and CPU Wait using SAR (/thread-7548.html)



Monitoring CPU % of usage for CPU User, CPU System and CPU Wait using SAR - futurist71 - 08-18-2014

Hi,

I want to monitor CPU (%), User, System, Wait and Nice using SAR command.

Have you created a module for it?

Regards.


Re: Monitoring CPU % of usage for CPU User, CPU System and CPU Wait using SAR - ivo_yordanov - 08-18-2014

Hello

You can find information on this type of monitoring in the following link: [url=http://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Operations]http://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Operations[/url]

Regards
Ivo


Re: Monitoring CPU % of usage for CPU User, CPU System and CPU Wait using SAR - daniels - 08-29-2014

Hi futurist71.

  I did a script myself to monitor the cpu usage. For average cpu, I use uptime:

# Avg load
module_begin
module_name AvgLoad_5min
module_exec uptime | awk '{ NF--; print $NF }' | tr -d ","
module_type generic_data
module_description Average process load (5min)
module_end

I hope this helps.

Regards.


Re: Monitoring CPU % of usage for CPU User, CPU System and CPU Wait using SAR - Stephenward - 02-03-2015

Great information! Definately worth a try.