Linux: Monitoring Cronjob for apt-get and SMART

I am using this cronjob for monitoring updates and SMART values.

File: “/etc/cron.d/monitoring”

Dont forget to reload cron!

You will need this package: “smartmontools” for “smartctl”.

The output will be send via mail at root. You can configure that in “/etc/aliases” and then running “newaliases”.

Comments are closed.