Commit Graph

26 Commits

Author SHA1 Message Date
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