|
|
il y a 5 ans | |
|---|---|---|
| .gitattributes | il y a 7 ans | |
| 10-hostname | il y a 7 ans | |
| 10-hostname-color | il y a 7 ans | |
| 20-sysinfo | il y a 7 ans | |
| 20-uptime | il y a 7 ans | |
| 30-zpool-bar | il y a 7 ans | |
| 30-zpool-simple | il y a 7 ans | |
| 35-diskspace | il y a 6 ans | |
| 36-diskstatus | il y a 5 ans | |
| 40-services | il y a 7 ans | |
| 50-fail2ban | il y a 5 ans | |
| 50-fail2ban-status | il y a 7 ans | |
| 60-docker | il y a 6 ans | |
| 60-lxd | il y a 7 ans | |
| README.md | il y a 6 ans | |
| motd.png | il y a 7 ans |
Collection of my 'Message of the Day' scripts.
10-display-name)36-diskstatus)Copy the files you want in your MOTD to /etc/update-motd.d/. Make sure you have the PrintMotd
option set to yes in your sshd config.
The duplicate files are different versions of the same, use either one of them. E.g. 30-zpool-simple
will not print usage bars.
The script 36-smartd greps syslog for smartd entries to read temperature and last self-test result.
You have to enable smartd monitoring & run regular self-tests for it to display anything.
If you use 50-fail2ban you should comment out the compress option in /etc/logrotate.d/fail2ban,
s.t. the logs are not compressed and can be grepped.