Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU Usage of multicore systems #86

Open
Benedikt1992 opened this issue May 27, 2016 · 5 comments
Open

CPU Usage of multicore systems #86

Benedikt1992 opened this issue May 27, 2016 · 5 comments

Comments

@Benedikt1992
Copy link

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
Copy link
Author

I've tried to implement it fast forward: Benedikt1992@472fcf0

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
Copy link
Author

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

What am I missing?

@lausser
Copy link
Owner

lausser commented May 31, 2016

Because there is no mode multi-cpu-load?

Von: Benedikt Bock [mailto:notifications@github.com]
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
#86 (comment)
, or mute the thread
https://github.com/notifications/unsubscribe/AAMJOOBP79IUB_TdlkLQb82ez0mayVX5ks5qHCxYgaJpZM4IoYU1
.
https://github.com/notifications/beacon/AAMJOK-Mt-3ftowQnrbDCoOEWYKtHPDaks5qHCxYgaJpZM4IoYU1.gif

@Benedikt1992
Copy link
Author

I have implemented this mode here: Benedikt1992@472fcf0
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
Copy link
Author

problem solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants