Commit Graph

384 Commits

Author SHA1 Message Date
Jeremy Gardais 85878043ea Compare the ID of Docker images instead of tags 2018-08-29 10:23:25 +02:00
Jeremy Gardais 6ecb6df66e Manage apt alert 2018-08-28 16:21:44 +02:00
Jeremy Gardais d09250d088 Manage Xymon's APT alert (only repos outdated) 2018-08-28 16:19:34 +02:00
Jeremy Gardais 6f85cca381 Script to watch upgrade on Sharelatex Docker img 2018-08-28 11:32:05 +02:00
Jeremy Gardais 805905fbbd Silent download the new version of the image
Also print the new version in the temp file.
2018-08-28 11:20:33 +02:00
Jeremy Gardais 9e5e3fa563 Script to check Rocket.Chat upgrade 2018-08-27 16:29:09 +02:00
Jeremy Gardais 121ddf8fcf Small script to list all tags of a Docker image
From Docker Hub.
2018-08-27 14:56:03 +02:00
Jeremy Gardais 19df5e41fb Take everything before "_" as the service name 2018-08-22 10:27:35 +02:00
Jeremy Gardais 9976b04c06 Add a sample of offset warning 2018-08-21 16:38:54 +02:00
Jeremy Gardais 524f9c904d Don't store host ssh fingerprint 2018-08-21 16:38:31 +02:00
Jeremy Gardais 4720c28fcf Manage Xymon's procs alert 2018-08-21 16:37:37 +02:00
Jeremy Gardais 0f404c3a33 Restart services in error and xymon-client
Also disable debug mode and add some explanations.
2018-08-21 16:36:45 +02:00
Jeremy Gardais d7887bd72a Get service information from two patterns
Get service name, the number of processes found, minimal and maximal.
2018-08-21 14:53:12 +02:00
Jeremy Gardais cb55bb2f8e Redirect output to log files 2018-08-21 13:41:35 +02:00
Jeremy Gardais 9249730a88 Add some sample of variables Xymon alert can send 2018-08-21 13:33:25 +02:00
Jeremy Gardais 25d460d928 Add a script to get Xymon's alerts variables 2018-08-21 13:33:03 +02:00
Jeremy Gardais a3832036b4 Move sample messages to specific directory 2018-08-21 11:04:27 +02:00
Jeremy Gardais 60bb08d609 Fix the input for SSH commands
This way, the ssh command no longer exit from while loop.
See : https://stackoverflow.com/a/9393147
2018-08-21 09:46:48 +02:00
Jeremy Gardais ad0fe27844 Avoid to restart more than once the same service 2018-08-21 09:43:17 +02:00
Jeremy Gardais 2204b250ea Add a binary path for Postfix on Debian Stretch 2018-08-21 09:24:52 +02:00
Jeremy Gardais 012472f86f Don't store host fingerprint with SSH 2018-08-21 09:20:04 +02:00
Jeremy Gardais 1cd251847b Create log files and remove empty one at the end 2018-08-21 08:48:44 +02:00
Jeremy Gardais aab15f81ba Disable debug for xymon scripts 2018-08-17 15:33:46 +02:00
Jeremy Gardais fc0e87eb3b Add a master script to redirect xymon alerts 2018-08-17 15:31:17 +02:00
Jeremy Gardais a0b6f958a3 Manage apache2.service 2018-08-17 14:03:43 +02:00
Jeremy Gardais 852046b176 Add ssh command to restart services 2018-08-17 11:49:40 +02:00
Jeremy Gardais 1ed852d180 Fix probe test for libs 2018-08-17 11:46:03 +02:00
Jeremy Gardais 192b959b70 Manage only libs probe for this script 2018-08-17 11:42:38 +02:00
Jeremy Gardais 180e5ddabd Add Netdata service and purge vars for test 2018-08-17 11:29:55 +02:00
Jeremy Gardais 4c8645288c Restart service only if it's managed 2018-08-17 11:06:21 +02:00
Jeremy Gardais 18e60cc89e Redirect stdout to a file for debug messages 2018-08-17 10:58:32 +02:00
Jeremy Gardais c642749986 Add a script to restart service after a xymon err
Only for libs probe.
2018-08-17 10:45:48 +02:00
Jeremy Gardais 76b628c04d Start a xymon script to restart a service in error 2018-08-14 17:25:55 +02:00
Jeremy Gardais 6da1d04fb1 Change Proxmox templates storage 2018-08-02 15:40:15 +02:00
Jeremy Gardais a89e47c370 Exist if partitionned disks are found 2018-06-25 17:07:19 +02:00
Jeremy Gardais 03a3f7ac29 Try to load zfs module 2018-06-25 17:01:07 +02:00
Jeremy Gardais 9a57c64941 Add a script to give the zpool creation command 2018-06-21 17:09:49 +02:00
Jeremy Gardais 0ed7d39b05 Add a script to generate ZFS's vdev file for IBM 2018-06-21 15:09:25 +02:00
Jeremy Gardais d93818eb87 Ensure to remove update information if upgraded 2018-05-04 16:58:18 +02:00
Jeremy Gardais 3dc74ad15f Script to upgrade Jenkins's plugins 2018-05-04 16:28:47 +02:00
Jeremy Gardais f2211f9580 Avoid to display a message when `cd -` 2018-05-02 16:10:23 +02:00
Jeremy Gardais 97c7f3b500 Ensure to change working directory for jenkins 2018-04-26 17:08:14 +02:00
Jeremy Gardais bf4cc41b3d Add a script to check Jenkins plugins updates 2018-04-26 16:39:31 +02:00
Jeremy Gardais 5e4ece1e7a Rename scripts 2018-04-26 16:34:23 +02:00
Jeremy Gardais 8c97848104 Add scripts to simplify hard disk management for IBM trays 2018-04-04 16:17:47 +02:00
Jeremy Gardais 20222ea1d0 End list of options for rm command 2018-03-26 14:06:26 +02:00
Jeremy Gardais b4fb6674fd Clean old journald logs 2018-03-26 14:04:26 +02:00
Jeremy Gardais 57ca51b307 Remove "none" test to be able to manage bind mounts
This impact /var/tmp bind mount. If a device don't have a mount path
(none), the `grep` in /etc/mtab will ignore this device.
2018-03-12 13:48:01 +01:00
Jeremy Gardais 0bb95412a2 Add a script to remount devices with extra rights
To be able to run updates such as apt, dpkg, grub,…
2018-03-12 13:47:53 +01:00
Jeremy Gardais de6a86ba5d Add a script to remount devices with default value 2018-03-12 10:49:33 +01:00