Commit Graph

276 Commits

Author SHA1 Message Date
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
Jeremy Gardais 041d5cd05d Need to escape a backslash 2018-02-21 09:45:38 +01:00
Jeremy Gardais 59a66af233 Add another missing ";"… 2018-02-21 09:19:34 +01:00
Jeremy Gardais 40ae5debe6 Add a missing ";"… 2018-02-16 09:52:09 +01:00
Jeremy Gardais 8d8527d4e2 Add a script to prepare a container to becoming a debian template 2018-02-13 13:58:04 +01:00
Jeremy Gardais dd83740f16 Add a hook to create Debian Stetch template 2018-02-13 11:48:34 +01:00
Jeremy Gardais 2add0a1412 The vzdump hook became specific to Debian Jessie
It will link the last tar file to a better name.
2018-02-13 11:37:33 +01:00
Jeremy Gardais cc5edc015c rename mailtosesame -> mail2sesame 2017-03-06 10:07:59 +01:00
Jeremy Gardais a52c10743c Ensure to use the right command to check core update ! 2017-02-15 16:11:56 +01:00