sensu-plugins / sensu-plugins-docker

This plugin provides native Docker instrumentation for monitoring and metrics collection, including: container status, container number, and container metrics via `docker ps`.
http://sensu-plugins.io
MIT License
35 stars 57 forks source link

error getting assets for event: TypeError: Cannot access member 'split' of undefined #86

Closed maitza closed 4 years ago

maitza commented 4 years ago

Hi,

When I'm trying to start check I'm getting following error:

error getting assets for event: TypeError: Cannot access member 'split' of undefined

Any idea? Asset looks installed correctly.

nixwiz commented 4 years ago

Answered in the Sensu Community Slack. The asset definitions in the .bonsai.yaml need to change from - entity.system.platform_release.split('.')[0] to - entity.system.platform_version.split('.')[0]