Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'name' of undefined #660

Closed
itechinfra opened this issue Jan 4, 2019 · 3 comments
Closed

Cannot read property 'name' of undefined #660

itechinfra opened this issue Jan 4, 2019 · 3 comments

Comments

@itechinfra
Copy link

Describe the bug
A clear and concise description of what the bug is.

Grafana shows the message "Cannot read property 'name' of undefined" when bringing data to a dashboard. When i refresh the page it goes away to another item from the same dashboard and it randomizes.

TypeError: Cannot read property 'name' of undefined
at eval (http://10.16.16.15:3000/public/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/responseHandler.js:46:24)
at http://10.16.16.15:3000/public/build/vendor.dfabdd44b3be44288eac.js:9:21550
at http://10.16.16.15:3000/public/build/vendor.dfabdd44b3be44288eac.js:9:27964
at Vr (http://10.16.16.15:3000/public/build/vendor.dfabdd44b3be44288eac.js:9:17818)
at http://10.16.16.15:3000/public/build/vendor.dfabdd44b3be44288eac.js:9:27769
at di (http://10.16.16.15:3000/public/build/vendor.dfabdd44b3be44288eac.js:9:21522)
at Function.Ka [as map] (http://10.16.16.15:3000/public/build/vendor.dfabdd44b3be44288eac.js:9:40622)
at convertHistory (http://10.16.16.15:3000/public/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/responseHandler.js:44:14)
at Object.handleHistory (http://10.16.16.15:3000/public/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/responseHandler.js:62:12)
at eval (http://10.16.16.15:3000/public/plugins/alexanderzobnin-zabbix-app/datasource-zabbix/datasource.js:411:42)

Expected behavior
A clear and concise description of what you expected to happen.
It should bring just the data into the dashboard.

Screenshots
If applicable, add screenshots to help explain your problem.

https://i.imgur.com/d7Y8QCT.png

Network data
If it's related to metric data visualization would be great to get the raw query and response for the network request (check this in browser dev tools network tab, there you can see metric requests, please include the request body and request response)

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
5.4.2 4.0.3 3.9.1

erroapi

|
@Phil57
Copy link

Phil57 commented Feb 6, 2019

This has been fixed in #571 but not released yet.
@alexanderzobnin Any idea on a ETA ? Our graphs started randomly not loading.

@xiaoxue999
Copy link

Fixed with 3.10 ,try the new version..

@Phil57
Copy link

Phil57 commented Feb 19, 2019

Fixed with 3.10 ,try the new version..

Just updated, confirm it's working fine now. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants