Results 584 comments of Ben Abrams

There are a couple of options: - configure your system to allow the sensu user to see the volume/dir - ignore the mount point with `-i` https://github.com/sensu-plugins/sensu-plugins-disk-checks/blob/2.5.0/bin/check-disk-usage.rb#L46-L49 - enhance to...

Can you please include an exmaple of what `smart.json` should look like so I can do some testing?

We can do a rescue and unknown but this is certainly a permission thing.

Actually taking a look at the code that is exactly what it is doing: https://github.com/sensu-plugins/sensu-plugins-disk-checks/blob/2.4.0/bin/check-disk-usage.rb#L149 > I have the expected output "OK" It would but it can't read why would...

It sounds like we should also write up something in the README with common gotchas and how to solve them.

Anyone want to attempt a PR to ignore the dirs inside of them and not just the mount points?

After re-reading my comment and playing around with the the options again it seems like you might be able to do it without modification. This probably should work for most...

One thing to point out that looking at the option: https://github.com/sensu-plugins/sensu-plugins-disk-checks/blob/2.5.1/bin/check-disk-usage.rb#L56-L59 is that this is a regex so `-p thing1,thing2` will not work while `(thing1|thing2)` or `(thing1)?(thing2)?` would work just...

sorry about the accidental close.