Jeremy Gardais
|
393f9996d2
|
Get disk list from smartctl scan
|
2020-02-19 11:18:25 +01:00 |
Jeremy Gardais
|
681d1ee0c3
|
Init smart plugin from xymon.com
https://www.xymon.com/xymon-cgi/viewconf.sh?smart
|
2020-02-19 09:52:32 +01:00 |
Jeremy Gardais
|
3c6e0ad5ed
|
Uncomment the find commands…
|
2020-01-08 10:55:33 +01:00 |
Jeremy Gardais
|
ee6bd3a194
|
Also give number of files for error message
|
2020-01-08 10:53:05 +01:00 |
Jeremy Gardais
|
525826f0d0
|
Create an archive only if files are found
|
2020-01-08 10:51:14 +01:00 |
Jeremy Gardais
|
dea26fe311
|
Prefix messages with DEBUG or ERROR
|
2020-01-07 16:13:46 +01:00 |
Jeremy Gardais
|
86ef4f31d3
|
Check if the archive already exist and exit
|
2020-01-07 16:10:29 +01:00 |
Jeremy Gardais
|
71b1392dce
|
Add specific colors for debug messages
|
2020-01-07 16:10:01 +01:00 |
Jeremy Gardais
|
a7ce5f7b42
|
Add info about histlogs subdirectories as well
|
2020-01-07 14:29:55 +01:00 |
Jeremy Gardais
|
feb6615e57
|
Add xz compress level in tar filename
|
2020-01-07 10:50:17 +01:00 |
Jeremy Gardais
|
20e39439e4
|
Compress then remove files
|
2020-01-07 10:49:27 +01:00 |
Jeremy Gardais
|
7f2030edbb
|
Xymon: New script to archive client logfiles
|
2020-01-06 16:07:54 +01:00 |
Jeremy Gardais
|
5bf935198b
|
Now manage mumble-server service
|
2019-12-30 11:35:24 +01:00 |
Jeremy Gardais
|
0a20005056
|
Restart Nslcd service if require
|
2019-12-21 08:47:45 +01:00 |
Jeremy Gardais
|
23eba7fd51
|
Xymon: Add sample message for files probe
|
2019-10-10 11:52:45 +02:00 |
Jeremy Gardais
|
54615dd161
|
Disable debug and enable restart commands
|
2019-10-10 11:48:58 +02:00 |
Jeremy Gardais
|
7a0506fc50
|
Start by restarting rsyslog service
|
2019-10-10 11:46:53 +02:00 |
Jeremy Gardais
|
fedd213ff4
|
Set a pattern for unmodified files
|
2019-10-10 11:43:11 +02:00 |
Jeremy Gardais
|
3720b3cc11
|
Add a script to manage files probe
Only files that exceeds the modification time.
|
2019-10-09 10:32:48 +02:00 |
Jeremy Gardais
|
4e31c4ffa8
|
Prepare for a new script for files probe
|
2019-10-09 10:10:31 +02:00 |
Jeremy Gardais
|
84f7420ba2
|
Support php-fpm7.3 service
|
2019-08-28 11:29:30 +02:00 |
Jeremy Gardais
|
e37544c96f
|
Manage rdnssd service
|
2019-08-26 11:51:49 +02:00 |
Jeremy Gardais
|
4ce0d056be
|
Manage blkmapd libs for NFS
|
2019-02-19 07:39:03 +01:00 |
Jeremy Gardais
|
38c006b1fd
|
Manage lvmetad libs
|
2019-02-19 07:35:53 +01: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
|
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
|
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 |