Bug 1387637

Summary: memory, cpu, swap and network utilization displays 'sadf command failed' and 'UNKNOWN' in status information on RHV-H node
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: gluster-nagios-addonsAssignee: Sahina Bose <sabose>
Status: CLOSED DUPLICATE QA Contact: RHS-C QE <rhsc-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.2CC: fdeutsch, rbarry, rhs-bugs, rnachimu, sasundar, sbonazzo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-24 09:18:56 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:
Attachments:
Description Flags
Attaching screenshot for the services which does not display correct info
none
sadf command none

Description RamaKasturi 2016-10-21 12:30:20 UTC
Description of problem:
Memory, CPU and Swap Utilization status information displays 'sadf command failed' when nagios is installed on a RHV-H node.
Network Utilization status information displays 'UNKNOWN'.
Accessing graphs for these services displays errors.

Version-Release number of selected component (if applicable):
gluster-nagios-addons-0.2.8-1.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install HC stack on RHV-H
2. Configure nagios to monitor the system.
3.

Actual results:
services memory, cpu and swap utilization status information displays 'sadf command failed' and network utilization displays 'UNKNOWN'

Expected results:
services listed in the description should work fine.

Additional info:

Comment 2 RamaKasturi 2016-10-21 12:34:04 UTC
Created attachment 1212828 [details]
Attaching screenshot for the services which does not display correct info

Comment 3 RamaKasturi 2016-10-21 12:34:40 UTC
Created attachment 1212829 [details]
sadf command

Comment 4 Ramesh N 2016-10-21 13:10:24 UTC
This seems to be an issue with crond. I see that crond is not enabled by default in RHV-H systems.   

Sandro: Do you know any reason why crond is disabled by default in RHV-H?.

Comment 5 Sandro Bonazzola 2016-10-24 09:16:53 UTC
moving needinfo to node team

Comment 6 Ryan Barry 2016-10-24 09:18:56 UTC
(In reply to Ramesh N from comment #4)
> This seems to be an issue with crond. I see that crond is not enabled by
> default in RHV-H systems.   
> 
> Sandro: Do you know any reason why crond is disabled by default in RHV-H?.

This is a known bug planned to be fixed in 4.0.5.

*** This bug has been marked as a duplicate of bug 1382833 ***