This is a logwatch filter for Rsnapshot logfiles. It reports successfull executions of rsnapshot and any error that appears in the logfiles.
[04/Aug/2017:03:40:02] /usr/bin/rsnapshot daily: started
[04/Aug/2017:03:44:14] /usr/bin/rsnapshot daily: completed successfully
--------------------- RSNAPSHOT Begin ------------------------
4 rsnapshot error(s):
[04/May/2015:08:07:48] /usr/bin/rsnapshot daily: ERROR: /usr/bin/rsync returned 255 while processing user@192.168.2.1:/my/dir1
[04/May/2015:08:07:48] /usr/bin/rsnapshot daily: ERROR: /usr/bin/rsync returned 255 while processing user@192.168.2.1:/my/dir2
[04/May/2015:08:07:48] /usr/bin/rsnapshot daily: ERROR: /usr/bin/rsync returned 255 while processing user@192.168.2.1:/my/dir3
[04/May/2015:08:24:30] /usr/bin/rsnapshot daily: ERROR: /usr/bin/rsnapshot daily: completed, but with some errors
---------------------- RSNAPSHOT End -------------------------
Execute create_symlinks.sh
or create symlinks yourself:
- Files from
conf/logfiles/
to/etc/logwatch/conf/logfiles
- Files from
conf/services/
to/etc/logwatch/conf/services
- Files from
scripts/services/
to/etc/logwatch/scripts/services
Display logfile entries (default output)
~# logwatch --service rsnapshot
See original repo: https://github.com/derhansen/logwatch-rsnapshot