Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 867723 Details for
Bug 1069979
SNMP HRPROCESSORLOAD RETURNS INCORRECT VALUES FOR PROCESSOR #'S > 100
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
The patch to fix the issue.
Redhat.patch (text/plain), 978 bytes, created by
Luan Jianhai
on 2014-02-26 02:22:56 UTC
(
hide
)
Description:
The patch to fix the issue.
Filename:
MIME Type:
Creator:
Luan Jianhai
Created:
2014-02-26 02:22:56 UTC
Size:
978 bytes
patch
obsolete
>hrProcessorLoad returns incorrect values for CPUs greater than 100 > >Souce of cpu_linux.c use hardcode to skip past cpu<n>. The way is fine to >single-digit CPU numbers and double-digit CPU numbers, don't work to >third-digit CPU numbers. >http://mailing.unix.net-snmp-users.narkive.com/o21D50GY/hrprocessorload-returns-incorrect-values-for-processor-s-100 >--- >diff -Nur net-snmp-5.3.2.2.orig/agent/mibgroup/hardware/cpu/cpu_linux.c net-snmp-5.3.2.2/agent/mibgroup/hardware/cpu/cpu_linux.c >--- net-snmp-5.3.2.2.orig/agent/mibgroup/hardware/cpu/cpu_linux.c 2014-01-13 14:04:34.000000000 +0800 >+++ net-snmp-5.3.2.2/agent/mibgroup/hardware/cpu/cpu_linux.c 2014-01-13 14:08:09.000000000 +0800 >@@ -127,7 +127,9 @@ > snmp_log_perror("Missing CPU info entry"); > break; > } >- b1 = b2+5; /* Skip "cpuN " */ >+ b1 = b2; /* Skip "cpuN " */ >+ while(*b1 != ' ') b1++; >+ b1++; > } > > if (!has_cpu_26 ||
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1069979
: 867723