Pandora FMS community forums

Full Version: Monitoring CPU % of usage for CPU User, CPU System and CPU Wait using SAR
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

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

Have you created a module for it?

Regards.
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
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.
Great information! Definately worth a try.