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
That means sys-filesystem is unable to stat the filesystem. Can you run stat -f /data as the user the sensu check runs as (probably the sensu user) and see if it can successfully stat the filesystem. If that works run this simple test of sys-filesystem using the ruby you are executing the check with:
#!/usr/bin/env ruby
require 'sys/filesystem'
include Sys
stat = Filesystem.stat("/data")
puts "Bytes Free: " + stat.bytes_free.to_s
check-disk-usage.rb fails on ext4 mount point,
CheckDisk WARNING: /data Unable to read.
The text was updated successfully, but these errors were encountered: