A simple script which produces Unraid notifications if specific words are found in the syslog. It can be executed for example hourly by the user scripts plugin.
Donate? 🤗
#!/bin/bash
# #####################################
# Name: Syslog notify v1.3
# Description: Creates notification if log contains errors or its size exceeds 90% of the available space
# Author: Marc Gutt
# #####################################
# #####################################
# Setting
Is this script still working properly in Unraid 6.12? I've noticed that the functionality that stores previous errors isnt working properly anymore. It emails me every time its executed and finds old errors. I've also noticed that the /tmp/syslog-notify-last-error-line-number.log file is always blank.
Thanks!