check_nwc_health icon indicating copy to clipboard operation
check_nwc_health copied to clipboard

CPU Usage of multicore systems

Open Benedikt1992 opened this issue 8 years ago • 5 comments

I would like to have a mode to get a more detailed view of the cpu usage of every single core in a multicore system instead of one single value (mode: cpu-load)

Is there anybody else with this need?

Benedikt1992 avatar May 27 '16 10:05 Benedikt1992

I've tried to implement it fast forward: https://github.com/Benedikt1992/check_nwc_health/commit/472fcf05317a48197b73bdda119bb5773d669b01

Surprise surprise it does not work. I am absolute new to perl. I would appreciate any kind of help

Example Outout of the multiProcUsage OID:

SNMPv2-SMI::enterprises.2620.1.6.7.5.1.5.1.0 = Counter32: 21
SNMPv2-SMI::enterprises.2620.1.6.7.5.1.5.2.0 = Counter32: 29
SNMPv2-SMI::enterprises.2620.1.6.7.5.1.5.3.0 = Counter32: 28
SNMPv2-SMI::enterprises.2620.1.6.7.5.1.5.4.0 = Counter32: 31

Benedikt1992 avatar May 27 '16 15:05 Benedikt1992

I get the message Mode multi-cpu-load is not implemented for this type of device

What am I missing?

Benedikt1992 avatar May 31 '16 12:05 Benedikt1992

Because there is no mode multi-cpu-load?

Von: Benedikt Bock [mailto:[email protected]] Gesendet: Dienstag, 31. Mai 2016 14:41 An: lausser/check_nwc_health Betreff: Re: [lausser/check_nwc_health] CPU Usage of multicore systems (#86)

I get the message Mode multi-cpu-load is not implemented for this type of device

What am I missing?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lausser/check_nwc_health/issues/86#issuecomment-222676382 , or mute the thread https://github.com/notifications/unsubscribe/AAMJOOBP79IUB_TdlkLQb82ez0mayVX5ks5qHCxYgaJpZM4IoYU1 . https://github.com/notifications/beacon/AAMJOK-Mt-3ftowQnrbDCoOEWYKtHPDaks5qHCxYgaJpZM4IoYU1.gif

lausser avatar May 31 '16 13:05 lausser

I have implemented this mode here: https://github.com/Benedikt1992/check_nwc_health/commit/472fcf05317a48197b73bdda119bb5773d669b01 I have added a new File plugins-scripts/Classes/CheckPoint/Firewall1/Component/MultiCpuSubsystem.pm and referenced it in plugins-scripts/Classes/CheckPoint/Firewall1.pm and plugins-scripts/check_nwc_health.pl (with the new mode multi-cpu-usage)

Last I added it to plugins-scripts/Makefile.am so it will be recognized in the build process.

What is missing?

Benedikt1992 avatar May 31 '16 13:05 Benedikt1992

problem solved

Benedikt1992 avatar Jun 01 '16 08:06 Benedikt1992