We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
metrics-ping.rb fails to run in alpine 3.12
without iputils package:
iputils
Check failed to run: wrong argument type NilClass (must respond to :each), ["/var/cache/sensu/sensu-agent/0844b7ca3523626f1293c6a55817092d528bb39b5f7f36aefc756171e0566f4f1ffaa7e0a978727936a5a2e2a071c2457510ae4e86accd795a7670816ecab9e5/lib/ruby/2.4.0/bundler/gems/sensu-plugins-network-checks-a2115474fe19/bin/metrics-ping.rb:87:in `zip'", "/var/cache/sensu/sensu-agent/0844b7ca3523626f1293c6a55817092d528bb39b5f7f36aefc756171e0566f4f1ffaa7e0a978727936a5a2e2a071c2457510ae4e86accd795a7670816ecab9e5/lib/ruby/2.4.0/bundler/gems/sensu-plugins-network-checks-a2115474fe19/bin/metrics-ping.rb:87:in `results'", "/var/cache/sensu/sensu-agent/0844b7ca3523626f1293c6a55817092d528bb39b5f7f36aefc756171e0566f4f1ffaa7e0a978727936a5a2e2a071c2457510ae4e86accd795a7670816ecab9e5/lib/ruby/2.4.0/bundler/gems/sensu-plugins-network-checks-a2115474fe19/bin/metrics-ping.rb:95:in `write_output'", "/var/cache/sensu/sensu-agent/0844b7ca3523626f1293c6a55817092d528bb39b5f7f36aefc756171e0566f4f1ffaa7e0a978727936a5a2e2a071c2457510ae4e86accd795a7670816ecab9e5/lib/ruby/2.4.0/bundler/gems/sensu-plugins-network-checks-a2115474fe19/bin/metrics-ping.rb:109:in `run'", "/var/cache/sensu/sensu-agent/0844b7ca3523626f1293c6a55817092d528bb39b5f7f36aefc756171e0566f4f1ffaa7e0a978727936a5a2e2a071c2457510ae4e86accd795a7670816ecab9e5/lib/ruby/2.4.0/gems/sensu-plugin-4.0.0/lib/sensu-plugin/cli.rb:59:in `block in <class:CLI>'"]
Then I installed it:
# apk add iputils (1/2) Installing libcap (2.27-r0) (2/2) Installing iputils (20190709-r0) Executing busybox-1.31.1-r19.trigger OK: 8 MiB in 22 packages
And it doesn't work: ping error: unable to ping IP
ping error: unable to ping IP
And besides this, check-ping.rb stops work too:
CheckPING CRITICAL: ICMP ping unsuccessful for host: IP (successful: 0/3)
Alpine version:
/ # cat /etc/os-release NAME="Alpine Linux" ID=alpine VERSION_ID=3.12.3 PRETTY_NAME="Alpine Linux v3.12" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://bugs.alpinelinux.org/"
Sensu Docker image version 6.2.5.
Any help?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
metrics-ping.rb fails to run in alpine 3.12
without
iputils
package:Then I installed it:
And it doesn't work:
ping error: unable to ping IP
And besides this, check-ping.rb stops work too:
Environment
Alpine version:
Sensu Docker image version 6.2.5.
Any help?
The text was updated successfully, but these errors were encountered: