[Bug 254252] net-mgmt/nagios-plugins check_procs wrong CPU matching [idle] thread with --metric=CPU
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 13 08:22:11 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254252
Bug ID: 254252
Summary: net-mgmt/nagios-plugins check_procs wrong CPU matching
[idle] thread with --metric=CPU
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: mat at FreeBSD.org
Reporter: vladimir.pushkar at gmail.com
Assignee: mat at FreeBSD.org
Flags: maintainer-feedback?(mat at FreeBSD.org)
Created attachment 223224
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223224&action=edit
patch-plugins_check__procs.c
When checking for processes using a lot of CPU check_procs match [idle] thread
and giving wrong state. For example:
>/usr/local/libexec/nagios/check_procs -v -w 70 -c 90 --metric=CPU
CPU CRITICAL: 1 crit, 0 warn out of 75 processes [idle] | procs=75;;;0;
procs_warn=0;;;0; procs_crit=1;;;0; procpcpu=399.899994;
Proposed patch will skip idle.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list