Commit Graph

521 Commits

Author SHA1 Message Date
Jeremy Gardais 8f2df93b83
Script to verify Zoom version 2021-06-09 16:33:01 +02:00
Jeremy Gardais 350cb2941f
Add TODO: replace curl --silent option 2021-06-09 08:08:27 +02:00
Jeremy Gardais 5f8ffa900f
Add web_mode to get maco's version with curl 2021-06-09 08:06:30 +02:00
Jeremy Gardais f6cd6ee79b
Script to verify rocketchat client version 2021-05-28 11:20:06 +02:00
Jeremy Gardais 36621b4f62
New mode that check update if last update failed 2021-05-21 14:27:57 +02:00
Jeremy Gardais fa307a2152
Bitwarden_rs was renamed to Vaultwarden
Since v1.21.0, see :
https://github.com/dani-garcia/vaultwarden/releases/tag/1.21.0
2021-04-30 18:49:09 +02:00
Jeremy Gardais fdda156c25
Remove useless grav_cron file 2021-04-30 15:19:30 +02:00
Jeremy Gardais 30a605dae3
SSP: Since 1.4.0 version is available in index.php 2021-04-28 15:43:12 +02:00
Jeremy Gardais 6c23714fee
Fix last exit status
If no urgent is required, the script can reach the end. Thise doesn't
means it's an error.
2021-04-20 15:32:30 +02:00
Jeremy Gardais 194d488340
Test earlier if SGE Master is reachable 2021-04-20 07:41:38 +02:00
Jeremy Gardais 5d3d047223
Script to verify Bitwarden version 2021-04-14 15:26:31 +02:00
Jeremy Gardais a3c56bcaf7
Fix last exit code with 0 (success)
If it reaches the end, it a success.
2021-04-14 10:17:22 +02:00
Jeremy Gardais bffe5b0a6e
Fix default value for user and group… 2021-04-14 10:15:52 +02:00
Jeremy Gardais d1b2bc5e48
Allow to override default owner and group of backup files 2021-04-14 10:11:54 +02:00
Jeremy Gardais 0fc60ef863
Allow second directory to duplicate backups 2021-04-12 19:37:17 +02:00
Jeremy Gardais 47cab2c053
Rename "local" directory to "first" directory 2021-04-12 19:16:03 +02:00
Jeremy Gardais 1ebd39d86a
Clean backups older than retention time
Command can use default retention time or the one passed as argument.
2021-04-12 19:06:47 +02:00
Jeremy Gardais de9548d9e9
Limit access to backup files 2021-04-12 16:45:18 +02:00
Jeremy Gardais a032babff6
Force hard link (remove existing destination file) 2021-04-12 16:22:42 +02:00
Jeremy Gardais e872fdafaf
Exit if /etc/pve doesn't exist 2021-04-12 16:19:03 +02:00
Jeremy Gardais b8d3c9554f
Create archive and hard link to latest file 2021-04-12 16:18:34 +02:00
Jeremy Gardais 49d0740b7e
Use `test -d` instead of `find` to check directory 2021-04-12 15:54:21 +02:00
Jeremy Gardais a8cadc298e
Manage backup destination path with argument 2021-04-12 15:53:47 +02:00
Jeremy Gardais 72e9c7a98c
Init new script to backup Proxmox /etc/pve 2021-04-12 15:20:00 +02:00
Jeremy Gardais 903143a00e
Check APT upgrade if SGE queue is already disable 2021-04-12 09:26:55 +02:00
Jeremy Gardais ecea1311cc
Exit earlier if APT temp file exists 2021-04-12 09:13:00 +02:00
Jeremy Gardais 7bef77a04e
Github-ceph: Move file to monitor to /srv/
It's better to keep "update file" even after a reboot cause Ceph is not
necessarily automatically upgrade when a new version is release. It's
better to wait few days to avoid possibles regressions.
2021-03-24 10:07:55 +01:00
Jeremy Gardais ea792f4d43
Ceph: Fix the Debian version comparison 2021-03-24 06:38:36 +01:00
Jeremy Gardais ba359c4f75
Exit if sge_qmaster host is not reachable 2021-03-11 14:50:25 +01:00
Jeremy Gardais b4220d218a
Replace "." to "_" in cronjob path
Cron jobs with a dot in the path won't work.
2021-02-24 13:57:11 +01:00
Jeremy Gardais 10aed6c7f1
Script to verify Ceph version 2021-02-24 13:49:37 +01:00
Jeremy Gardais fd63db37d2
No longer remove benchmarks! 2021-02-15 12:06:16 +01:00
Jeremy Gardais 3126864255
Use `find … -delete` to remove file with pattern 2021-01-28 11:27:19 +01:00
Jeremy Gardais 9617abc968
Test is_sge_host earlier 2021-01-26 20:02:22 +01:00
Jeremy Gardais 259fbd8531
Exit if SGE isn't available on a host 2021-01-26 18:23:01 +01:00
Jeremy Gardais cd8f4db423
unknown macostatus = red alert
Because the SGE queue require this parameter to be re-enable.
2021-01-15 21:17:06 +01:00
Jeremy Gardais 20e4713e56
PLUGIN_* files are recreated at each run
Only MACO_VERSION_RESULT needs to be kept for ~10 hours (to avoid to
mount store.ipr everytime!).
2021-01-14 12:07:16 +01:00
Jeremy Gardais f92520577f
Rename get_maco_update to check_maco_version 2021-01-14 12:04:36 +01:00
Jeremy Gardais 3b29544775
Empty TEMP_MACO_UPDATE file if too old 2021-01-14 11:59:44 +01:00
Jeremy Gardais 7b33a5947d
Red color is reserved for failed update 2021-01-13 16:08:31 +01:00
Jeremy Gardais c6c1fd2bd0
Manage case if file isn't readable or unknown status 2021-01-13 15:43:37 +01:00
Jeremy Gardais bff4b528fa
Display MacoStatus information in Xymon Maco test 2021-01-13 15:18:08 +01:00
Jeremy Gardais e10658b1e5
Ensure to get main color 2021-01-13 13:48:33 +01:00
Jeremy Gardais c2519ebc5c
Redirect header to PLUGIN_RESULT file… 2021-01-13 13:11:02 +01:00
Jeremy Gardais 88c0b2766f
Add title with add_header func 2021-01-13 13:02:32 +01:00
Jeremy Gardais 176835f599
Check if urgent update is pending 2021-01-13 12:57:40 +01:00
Jeremy Gardais d8ecdc01e1
Check if normal update is pending 2021-01-13 12:40:03 +01:00
Jeremy Gardais cc83325ed9
Check maco_update if any file is empty 2021-01-13 12:16:37 +01:00
Jeremy Gardais 19c1756bef
COLOR is added to PLUGIN_RESULT line if expected 2021-01-13 12:06:55 +01:00
Jeremy Gardais b6eb13621d
Rename get_maco_status to get_maco_update 2021-01-13 11:21:23 +01:00