This is a logwatch filter for Rsnapshot logfiles. It just collects, if there were errors in the rsnapshot logfile.
--------------------- 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 -------------------------
- Copy files from 'conf/logfiles/' to '/etc/logwatch/conf/logfiles'
- Copy files 'conf/services/' to '/etc/logwatch/conf/services'
- Copy files 'scripts/services/' to '/etc/logwatch/scripts/services'
Display logfile entries (default output)
~# logwatch --service rsnapshot
Feel free to provide feedback or suggestions for improvement.