[Nagiosplug-devel] [ nagiosplug-Bugs-3552839 ] Option for check_procs to ignore kernel threads

SourceForge.net noreply at sourceforge.net
Sat Aug 17 23:02:49 UTC 2013


Bugs item #3552839, was opened at 2012-07-31 16:11
Message generated for change (Comment added) made by hweiss
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3552839&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Cálestyo (calestyo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Option for check_procs to ignore kernel threads 

Initial Comment:
Hi.

This is from the old / soon to be disabled again Nagios Plugins bug tracker that used to be at Nagios itself.
I've just copied this bug over. I'm not the original reporter and have no idea about the thoughts about this bug.

This used to be: http://tracker.nagios.org/view.php?id=221
--------------------------------------------------------------------------------
fmalfoy:
--------------------------------------------------------------------------------
Hi,

Amount of cores in new processor series tends to get larger and larger. The Linux kernel runs one specific kernel thread on each physical or logical core, and for several services.

These kernel threads are seen as processes by the check_procs plugin, and thus taken in count while comparing to the thresholds.

It would be a great functionality to be able to tell check_procs to not select them. This would allow the checks to be less dependent on the hardware specifications. The only way, for now, to avoid any alarm is to increase the thresholds, which implies to create a specific check, or checking group, for each hardware model. 

----------------------------------------------------------------------

>Comment By: Holger Weiss (hweiss)
Date: 2013-08-17 16:02

Message:
The check_procs plugin now has a "-k" option (implemented by Richard
Leitner) that does just that.

----------------------------------------------------------------------

Comment By: Richard Leitner (g0hl1n)
Date: 2013-05-29 08:26

Message:
Hi,
I've just added a pull request (#53) to fix this issue on GNU/Linux
Systems.
https://github.com/nagios-plugins/nagios-plugins/pull/53

br,
Richard

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3552839&group_id=29880




More information about the Nagiosplugin-devel mailing list