Nenhuma descrição

Tobias Günther b0d9ee4acf Do not include overlay in diskstats 6 anos atrás
.gitattributes 8d505f5e4d Added picture. 7 anos atrás
10-hostname 113f91dcee Changed filename. 7 anos atrás
10-hostname-color 113f91dcee Changed filename. 7 anos atrás
20-sysinfo 735afcf781 Cleanup. Added core count. 7 anos atrás
20-uptime 5ee8990c59 Remove specific paths 7 anos atrás
30-zpool-bar 5584b4e0f7 Fixed spacing. 7 anos atrás
30-zpool-simple b6fb216d6b Initial commit. 7 anos atrás
35-diskspace b0d9ee4acf Do not include overlay in diskstats 6 anos atrás
36-smartd 564cd754cc Added list for naming disks. 6 anos atrás
40-services 530925121c Changed permissions. 7 anos atrás
50-fail2ban 2793216851 Added default values if there are no bans/unbans yet. 6 anos atrás
50-fail2ban-status ad06a51ffd Added comments. 7 anos atrás
60-docker 63253c6186 Added docker status script. 7 anos atrás
60-lxd 530925121c Changed permissions. 7 anos atrás
README.md 68c78c8eb2 Expanded readme with info about 36-smartd script. 7 anos atrás
motd.png 91cc47fd93 Changed picture. 7 anos atrás

README.md

Message of the Day

Collection of my 'Message of the Day' scripts.

motd

Requirements

  • update-motd
  • figlet & lolcat (for 10-display-name)

How do I set it up?

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.