Bug 1110779 - Missing trends for hosts
Summary: Missing trends for hosts
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Ramesh N
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-18 12:38 UTC by Lubos Trilety
Modified: 2014-06-20 10:23 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-19 10:52:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1111494 1 None None None 2024-09-18 00:36:53 UTC
Red Hat Bugzilla 1111549 0 medium CLOSED Trends are NOT working if the "Name" field in RHSC is NOT matching the 'Hostname' in Nagios 2021-02-22 00:41:40 UTC

Internal Links: 1111494 1111549

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.


Note You need to log in before you can comment on or make changes to this bug.