add max error and improve general behaviour
This commit is contained in:
@@ -2,6 +2,19 @@ TOEMAIL=destination@email.com
|
||||
FREMAIL=sender@email.com
|
||||
SENDMAILPATH=/usr/sbin/sendmail
|
||||
|
||||
LOGFILE=monitor.log
|
||||
COUNTFILE=count.log
|
||||
TEMPDIR=temp
|
||||
|
||||
# This link is added if an index error appears.
|
||||
# You can use update-index-ssh-link.sh to open ssh:// links
|
||||
SSHCONN=ssh://user@host.tld
|
||||
|
||||
# Maximum $MAXERROR mails if an error occurs.
|
||||
# Will be reset after $RESET runs of script
|
||||
MAXERROR=3
|
||||
RESET=24
|
||||
|
||||
NAME[0]=shortname1
|
||||
HOST[0]=example.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user