Explorar o código

add crashplan backup script

Jon Schipp %!s(int64=11) %!d(string=hai) anos
pai
achega
77a3044f43
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      README.md

+ 4 - 0
README.md

@@ -64,3 +64,7 @@ one cannot simply update the scripts with malicious code.
 
 **check_rsyslog.sh** - Check for rsyslog disk queue buffers (Find when logs are buffered)
 
+**check_crashplan_backup.py** - Check latest backup times for crashplan server (uses API), notifies if backups hasn't been completed in 48 hours.
+1. Set hostname in url variable in script to crashplan server
+2. Add credentials to text file which script will read: `printf 'user = admin\npassword = ChangeMe\n' > /root/crashplan-credentials-for-nagios.txt`
+3. Use sudo when exucuting script with nagios