Bug 1077190

Summary: [Nagios] - Nagios throws an error "Please check the documentation for information about the following error. Undefined offset: 50 file [line]: templates.dist/check_cpu_multicore.php [73]: back"
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: nagios-server-addonsAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.0CC: dpati, esammons, kmayilsa, nlevinki, rhs-bugs, sabose, shtripat
Target Milestone: ---   
Target Release: RHGS 3.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nrpe-2.14-1.1.el6rhs.x86_64.rpm Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-22 19:07:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1078045    
Attachments:
Description Flags
attaching the screenshot
none
P none

Description RamaKasturi 2014-03-17 12:39:18 UTC
Description of problem:
Nagios throws an error "Please check the documentation for information about the following error.  Undefined offset: 50  file [line]:  templates.dist/check_cpu_multicore.php [73]:  back"

Version-Release number of selected component (if applicable):
gluster-nagios-1.1-1.noarch.rpm 
gluster-nrpe-1.1-1.x86_64.rpm

How reproducible:
Always

Steps to Reproduce:
1. Add a physical node to nagios server.
2.Install a tool called stress to generate load for cpu by using the command "yum install stress".
3. start generating load by using the command "stress --cpu <no.of cores>"
4. Now click on the graph for the cpu utilization.

Actual results:
It throws an error saying "Please check the documentation for information about the following error.  Undefined offset: 50  file [line]:  templates.dist/check_cpu_multicore.php [73]:  back"

Expected results:
It should display the cpu utilization graph correctly.

Additional info:

Comment 2 RamaKasturi 2014-03-18 04:34:26 UTC
Created attachment 875798 [details]
attaching the screenshot

Comment 3 RamaKasturi 2014-03-19 07:28:18 UTC
Steps to Reproduce:
1. Add a physical node to nagios server.
2.Now click on the graph for the cpu utilization.

Comment 4 Sahina Bose 2014-04-07 12:16:48 UTC
Related to nrpe size limitation

Comment 5 Sahina Bose 2014-05-12 09:43:06 UTC
Created attachment 894638 [details]
P

Patch to increase buffer size

Comment 6 Sahina Bose 2014-05-12 09:44:13 UTC
nrpe was rebuilt downstream with a patch to increase the payload size - available in branch rhs-3.0-rhel-6 of dist-git nrpe repository. Patch attached

Comment 7 RamaKasturi 2014-05-15 09:45:27 UTC
Could you please put the actual 'fixed in version'

Comment 8 RamaKasturi 2014-05-15 10:47:26 UTC
Verified in build "nagios-plugins-nrpe-2.14-1.1.el6rhs.x86_64" and works fine.

Now able to see the cpu utilization graph for the physical machine.

Comment 10 errata-xmlrpc 2014-09-22 19:07:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1277.html