Skip to content

Unable to extract information from Zabbix version 3.4 #13

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

Open
FICR opened this issue May 10, 2019 · 1 comment
Open

Unable to extract information from Zabbix version 3.4 #13

FICR opened this issue May 10, 2019 · 1 comment

Comments

@FICR
Copy link

FICR commented May 10, 2019

Hi I´m getting error below:

zabbix-relay/lib/relay.js:40

  var length = hostgroup.hosts.length;
                                ^

TypeError: Cannot read property 'length' of undefined
at /etc/relay_zabix_elastic/1/zabbix-relay/lib/relay.js:40:37
at Client. (/etc/relay_zabix_elastic/1/zabbix-relay/node_modules/zabbix-node/lib/zabbix.js:19:7)
at Client. (/etc/relay_zabix_elastic/1/zabbix-relay/node_modules/zabbix-node/lib/zabbix.js:66:5)
at Request.self.callback (/etc/relay_zabix_elastic/1/zabbix-relay/node_modules/request/request.js:185:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/etc/relay_zabix_elastic/1/zabbix-relay/node_modules/request/request.js:1161:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/etc/relay_zabix_elastic/1/zabbix-relay/node_modules/request/request.js:1083:12)

Any help will be appreciated

@FICR
Copy link
Author

FICR commented May 10, 2019

this is my CLI

node server.js command -d elastic -g 'Zabbix servers' -p '2019-05-09|2019-05-10' -t 'history' -u 'http://XXXXXXX:9200'

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

1 participant