CA-PM / Baseline-Deviations

Custom CA PC app which displays an interface metric average trend line along with the associated window defined by the metric baseline mean plus/minus a deviation percentage
0 stars 0 forks source link

App shows just loading screen #1

Open anilcin opened 6 years ago

anilcin commented 6 years ago

I tried it on different browsers but the app just shows a loading screen continuously. Is it a some computing problem or app is not just working well? Any suggestions?

LutzCA commented 6 years ago

Can you please follow the basic troubleshooting steps posted here: https://communities.ca.com/docs/DOC-231176129-tech-tip-troubleshoot-ca-pc-app

anilcin commented 6 years ago

Hi again, Thanks for useful guiding document for troubleshooting (i am very beginner at this) I receive this error on debugger:

SCRIPT5007: Unable to get property 'textContent' of undefined or null reference baselineDeviations.html (145,2)

And line 145 is this: var ts = elem.querySelector("c:nth-of-type(1)").textContent;

On network side, responses are OK.

"SCRIPT5007" refers to this solution but didn't change and test the code: https://msdn.microsoft.com/query/dev12.query?appId=Dev12IDEF1&l=TR-TR&k=k(VS.WebClient.Help.SCRIPT5007)

Do you have an idea?

image

LutzCA commented 6 years ago

What metric do you report on? Is baselining enabled for this metric? image

Can you try the following: copy the RIBTrend baseline URL from the console (3 lines above error message) starting from /rib/query/.... and run as follows in another browser tab: htp://DA:8581/<your rib query ...> It should return a health and a results table with rows .

anilcin commented 6 years ago

Baseline is disable for lots of metric families where polling is true (for ex. Cisco UCS Fabric Interconnect Interface). In which metric families should I open the baseline?

I couldn't call the url for data aggrator but when I call for PC, I reveice an output like this: url: https://myPerfCentip:8182/pc/da/rib/query/SELECT%20.EndTime(3600),%20.BitsPerSecond.MeanValue%20FROM%20CA.IM.DA.MF.NormalizedPortInfo.IFSTATS_metrics%20WHERE%20.PollItem.ID%20=%20649564%20AND%20.EndTime(3600)%20%3E%201534137720%20AND%20.EndTime(3600)%20%3C=%201534141320%20GROUPBY%20.EndTime(3600)%20ORDERBY%20.EndTime(3600)%20ASC

Output:

image image

LutzCA commented 6 years ago

BitsPerSecond has baseline enabled and the query output looks good. You can see the timestamp and the values. Similar query with same metric and same time range (2 rows returned) works fine for me. Let me check if I can find the problem.

LutzCA commented 6 years ago

Thanks for testing. I was able to reproduce on IE 11. It seems this browser does not recognize d3 .await function callback parameters. Can you verify in other browser please? Some other investigation is needed for IE.

anilcin commented 6 years ago

I tried on Chrome Version 65.0.3325.146 and it looks fine, it works.

But on Firefox 61.0.2 it still not working.