Bug 1110779

Summary: Missing trends for hosts
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Lubos Trilety <ltrilety>
Component: rhscAssignee: Ramesh N <rnachimu>
Status: CLOSED NOTABUG QA Contact: Prasanth <pprakash>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.0CC: dpati, ltrilety, nlevinki, nsathyan, rhs-bugs, rhsc-qe-bugs, sgraf
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-19 10:52: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:

Description Lubos Trilety 2014-06-18 12:38:37 UTC
Description of problem:
There are no trends for Hosts available instead it shows box(es) which informs about missing images.

src="https://hostname:443/pnp4nagios/image?host=RHSS_primary&srv=Cpu Utilization&start=17.06.2014+14:25:0&end=18.06.2014+14:25:0"

I check that in nagios and cpu utilization seems ok
Cpu Utilization .... CPU Status OK: Total CPU:13.21% Idle CPU:86.79%

I get similar result when I choose some host machine.

Other trends seems OK.


Version-Release number of selected component (if applicable):
rhsc-3.0.0-0.10

How reproducible:
100%

Steps to Reproduce:
1. Log to rhsc web interface
2. Click on Hosts
3. Choose Trends tab

Actual results:
No chart available

Expected results:
CPU utilization chart should be displayed

Additional info:
For specific host it should show cpu/memory/network/... charts.

Comment 2 Ramesh N 2014-06-19 08:04:56 UTC
It could because of name mismatch in RHSC and Nagios. Can u check host names in 
RHSC and Nagios are sam

Comment 3 Lubos Trilety 2014-06-19 09:02:37 UTC
(In reply to Ramesh N from comment #2)
> It could because of name mismatch in RHSC and Nagios. Can u check host names
> in 
> RHSC and Nagios are sam

Well, thank you for reminding that to me.

That's interesting story as well. In truth they are not the same host names, because I was not able to use an host name in RHSC so I used there an IP instead. For nagios configuration I used the discovery script /usr/lib64/nagios/plugins/gluster/discovery.py. The result is that there is used a host name of the machine.

Comment 4 Ramesh N 2014-06-19 09:08:22 UTC
Sorry for the confusion. There is a field call 'Name' in Host popup. This field (Not address) should match the host name in Nagios.

Comment 5 Lubos Trilety 2014-06-19 10:52:56 UTC
(In reply to Ramesh N from comment #4)
> Sorry for the confusion. There is a field call 'Name' in Host popup. This
> field (Not address) should match the host name in Nagios.

OK, it is working after the change of the name to host name. Closing as not a bug.