f5devcentral / BigStats

Push BIG-IP stats to remote destinations: http(s), statsd, etc
MIT License
14 stars 9 forks source link

Error retrieving vipResrouceStats: TypeError: Cannot read property 'nestedStats' of undefined #64

Closed kvanderp closed 6 years ago

kvanderp commented 6 years ago

Hi,

I'm trying this on a v14.0 BIG-IP. Downloaded latest Bigstats (0.4.1 build 0008) and Appsvcs (3.4.0 build 2). Also tried with Bigstats 0.4.0.

Sent the following config with Postman:

{ "config": { "destination": { "protocol": "statsd", "address": "192.168.2.247", "port": "8125" }, "size": "small", "interval": "10", "enabled": true, "debug": false } }

No packets arrive at Graphite DB.

Restnoded log on BIG-IP:

Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - getVipStats() - Error retrieving vipResrouceStats: TypeError: Cannot read property 'nestedStats' of undefined Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - buildSmallStatsObject(): {} Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - pullStats() - Promise Chain Error: TypeError: Cannot read property 'nestedStats' of undefined Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - getVipStats() - Error retrieving vipResrouceStats: TypeError: Cannot read property 'nestedStats' of undefined Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - buildSmallStatsObject(): {} Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - getVipStats() - Error retrieving vipResrouceStats: TypeError: Cannot read property 'nestedStats' of undefined Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - buildSmallStatsObject(): {} Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - getVipStats() - Error retrieving vipResrouceStats: TypeError: Cannot read property 'nestedStats' of undefined Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - buildSmallStatsObject(): {} Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - getVipStats() - Error retrieving vipResrouceStats: TypeError: Cannot read property 'nestedStats' of undefined Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - buildSmallStatsObject(): {} Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - getVipStats() - Error retrieving vipResrouceStats: TypeError: Cannot read property 'nestedStats' of undefined Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - buildSmallStatsObject(): {} Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - getVipStats() - Error retrieving vipResrouceStats: TypeError: Cannot read property 'nestedStats' of undefined Mon, 17 Sep 2018 13:06:59 GMT - info: [BigStats - ERROR] - buildSmallStatsObject(): {}

Any clues?

Thx,

Koen

npearce commented 6 years ago

Hi Koen, launching my first v14 BIG-IP right now... I hadn't noticed it was added to AWS marketplace. Will take a look in just a moment.

Also, did you know that BigStats no longer requires AS3? It still works with AS3 fine, just wanted to make sure you knew it was no longer a requirement.

npearce commented 6 years ago

Koen,

I've found the problem. Small change in stats structure in v14. Look out for BigStats v0.4.2 this week! Or just watch for this Issue being closed.

Nathan

kvanderp commented 6 years ago

Great, I’ll try it ASAP. Thanks for fixing this. I’m planning on doing a demo on this next week.

Verstuurd vanaf mijn iPhone

Op 17 sep. 2018 om 18:41 heeft Nathan Pearce notifications@github.com<mailto:notifications@github.com> het volgende geschreven:

EXTERNAL MAIL: bounces+848413-3c35-k.vanderpoorten=f5.com@sgmail.github.commailto:bounces+848413-3c35-k.vanderpoorten=f5.com@sgmail.github.com

Koen,

I've found the problem. Small change in stats structure in v14. Look out for BigStats v0.4.2 this week! Or just watch for this Issue being closed.

Nathan

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/f5devcentral/BigStats/issues/64#issuecomment-422086407, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AdEZZalrAagRWE6UNQ4wSJjAl7hDp9_rks5ub9C3gaJpZM4Wr4cz.

npearce commented 6 years ago

Try BigStats-0.4.1-0009.noarch.rpm. I've tested this on both v13 and v14.

kvanderp commented 6 years ago

works like a charm, thx!

npearce commented 6 years ago

I'd be really interested in hearing your feedback: https://join.slack.com/t/bigstats/shared_invite/enQtNDM4MDc0NDIwNjQyLTY4YWU2OGViZjRjNTJhY2I2NjUwYWQwNmY2ZjY5NmFjNzJkMjBhMWM1ODIwMzcxMjE4OWQxZDdhOTM1NmFmNjU