Goal here is to monitor disk space usage on my parents' iMac, push it to Kinesis, and alert if it hits a certain threshold.
Set up a Kinesis stream called osquery-firehose
.
- Download the config.
- Run the command in
osquery.sh
. - This will log to
/var/log/osquery/osqueryd.results.log