observIQ / disk-usage

Trigger slack alerts when disk usage is too high
BSD 2-Clause "Simplified" License
4 stars 0 forks source link

Add freebsd support #6

Closed jsirianni closed 6 years ago

jsirianni commented 6 years ago

Netgate firewall's use a nano bsd implementation, which generally has a very small disk. pfsense could greatly behnifit from this solution.

After minimal testing, I was able to get a working poc by adding ufs as a valid filesystem, and then adding freebsd to the compiler options for disk-usage_unix.go

jsirianni commented 6 years ago

resolved https://github.com/BlueMedoraPublic/disk-usage/commit/50972b2a61703af3396ab85136751d2ea935e322