Commit Graph

24 Commits

Author SHA1 Message Date
Daniel Berteaud
ca549543c8 Support Debian lib path for BackupPC 2021-05-27 19:44:26 +02:00
Daniel Berteaud
628f2a5e2e Add general stats to BackupPC monitoring script 2021-01-11 22:53:49 +01:00
Daniel Berteaud
a02b5c780b Add /usr/local/BackupPC/lib as lib dir for BackupPC scripts
Needed for manual install, from source
2020-05-27 16:50:50 +02:00
Daniel Berteaud
e080780248 Fix ready sizeNew from last backup (except when link hasn't ran yet) 2019-12-17 08:51:45 +01:00
Daniel Berteaud
abfa7433e1 Fix key name for enabled value 2019-12-15 17:20:34 +01:00
Daniel Berteaud
d49e7816d5 Init complete JSON objects with default values in bheck_backuppc_sudo 2019-12-15 17:10:46 +01:00
Daniel Berteaud
7ded61c8af Remove unused variables 2019-12-15 17:08:15 +01:00
Daniel Berteaud
eb0ada1a69 Only substract $new_size_of_last_full once 2019-12-15 16:59:26 +01:00
Daniel Berteaud
ca2f76e842 Fix when a host has a single backup with 0 new file size
Which can heppen if you deleted backups manually
2019-12-13 23:45:37 +01:00
Daniel Berteaud
810f192184 Fix backups total size computation when there's only one full 2019-12-13 23:27:39 +01:00
Daniel Berteaud
08f7decaf2 Enhanced stats for BackupPC's entity 2019-12-13 16:43:15 +01:00
Daniel Berteaud
ba0a868fd4 Wait for BackupPC_link to run before we take new sizes in our stat
So it won't send wrong comp_ratio of size values
2019-12-11 19:09:50 +01:00
Daniel Berteaud
f51a6a930d Fix BackupPC script when BackuPPC_link is waiting for the nightly cleanup to finish 2019-12-11 18:42:20 +01:00
Daniel Berteaud
a9e468b2e5 Don't fail if Statistics::Descriptive doesn't support quantile 2019-04-16 12:06:12 +02:00
Daniel Berteaud
14164177cb More work on BackupPC's monitoring scripts 2019-04-15 16:43:56 +02:00
Daniel Berteaud
5e01f9ee2d Fix reporting MaxXferError 2019-04-04 19:20:32 +02:00
Daniel Berteaud
58a1442b67 Fix a typo in check_backuppc_sudo 2019-04-04 19:15:19 +02:00
Daniel Berteaud
c3f9b4d919 Fix counting entity size 2019-04-04 19:08:55 +02:00
Daniel Berteaud
3e464cb4f7 Update BackupPC's discovery and monitoring scripts 2019-04-04 15:32:19 +02:00
Daniel Berteaud
b180cd8a27 Add last_errors in backuppc JSON info 2019-04-03 17:44:47 +02:00
Daniel Berteaud
26b5624421 Enhance backuppc reporting script
Including reporting the new file size, and sending all the info at once in JSON format
2019-04-03 16:49:20 +02:00
Daniel Berteaud
02d58e3e53 Some coding style updates 2019-04-03 16:28:30 +02:00
Daniel Berteaud
96d0cefd38 Remove the -w flag for BackupPC scripts 2013-04-15 15:50:12 +02:00
Daniel Berteaud
2c286311a5 Rename conf and scripts dir 2013-04-15 10:22:37 +02:00