You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /checks/my.cnf directory is on the host, and shared through a volume into a Docker service.
The error
Here is the output I get from the agent executing the check:
Check failed to run: undefined method `[]' for nil:NilClass, ["/var/lib/sensu/2a68686cce9a58fffd7e384ede7538621a77d5930bba05c3296eb2a3b5f87d7caf20d0405099b2f9c81a5d86da7384b888e387dd84661b52ef23dc56e35431d8/lib/ruby/2.4.0/bundler/gems/sensu-plugins-mysql-a20e9500620b/bin/check-mysql-alive.rb:86:in `run'", "/var/lib/sensu/2a68686cce9a58fffd7e384ede7538621a77d5930bba05c3296eb2a3b5f87d7caf20d0405099b2f9c81a5d86da7384b888e387dd84661b52ef23dc56e35431d8/lib/ruby/2.4.0/gems/sensu-plugin-4.0.0/lib/sensu-plugin/cli.rb:59:in `block in <class:CLI>'"]
The text was updated successfully, but these errors were encountered:
Presentation
Launching an agent to check for mysql health, I get an error I don't know how to solve.
The context
I use Docker images with ruby shared runtime.
According to
sensuctl asset list
, the check I've created is:The
/checks/my.cnf
directory is on the host, and shared through a volume into a Docker service.The error
Here is the output I get from the agent executing the check:
The text was updated successfully, but these errors were encountered: