Commit Graph

143 Commits

Author SHA1 Message Date
Jeremy Gardais bfc6d287e7 New script to automatically create user's homedir
This way new users should be enable to connect to Compute Cluster
without human actions.
2018-10-08 18:15:28 +02:00
Jeremy Gardais 2d10dee279 Add purpose for creation scripts 2018-10-08 18:13:53 +02:00
Jeremy Gardais b727bc7261 Disable debug mode for creation scripts 2018-10-08 18:09:27 +02:00
Jeremy Gardais 7ce55bcce1 Check if dir already exists
This way it's avoid the chown/chmod on an existing home/work directory.
2018-10-08 11:30:30 +02:00
Jeremy Gardais 574d1fc318 Add a script to create user's work dir 2018-09-14 11:07:00 +02:00
Jeremy Gardais fb40c9d1d2 Move compute's script to cluster directory 2018-09-14 11:06:53 +02:00
Jeremy Gardais 0ed2f19144 Script to create user's homedir for the CC 2018-09-13 17:39:05 +02:00
Jeremy Gardais 0d29f3cde8 Forgot to define remote user for procs probe 2018-09-06 17:31:29 +02:00
Jeremy Gardais 348157cb77 Manage php-fpm service 2018-09-06 09:13:10 +02:00
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