Commit graph

431 commits

Author SHA1 Message Date
Jérémy Lecour 6ea7e2ad7c Simplify the check
The original issue is fixed by removing the uotes (qhich fixes the 
expansion).
Then we check only that a check_mysql is configured, without matching 
the whole line.
2019-06-18 16:39:12 +02:00
Jérémy Lecour 3c92290917 fix check_mysqlnrpe
the shell doesn't expand "~nagios", which makes the first test fail.
the grep wasn't looking for the nrpe config file :/
2019-06-07 14:54:47 +02:00
Benoît S. 8b2d789830 Merge branch 'apachesymlink-verbose' 2019-06-06 16:36:04 +02:00
Benoît S. 27350990c5 Merge branch 'diskperf-disabled-for-now' of evolix/evocheck into master 2019-06-06 16:27:29 +02:00
Benoît S. 16f1d6cf65 Merge branch 'apache-wrong-package-name' of evolix/evocheck into master 2019-06-06 16:26:40 +02:00
Benoît S. 982db855aa APACHE_SYMLINK: Add verbose mode and replace stat by find 2019-06-04 17:48:19 +02:00
Benoît S. 7d5080d496 Closes #91. DISKPERF check is not used anymore
Could be re-added in the future.
2019-06-04 17:05:48 +02:00
Benoît S. cad468af62 apache2.2-common is not installed on Jessie nor Stretch
5 checks were not checked because apache2.2-common was not in dpkg -l output!
Replaced apache2.2-common by apache2.

ii  apache2
2019-06-04 16:57:54 +02:00
Victor LABORIE 07c6572b76 Update .drone.yml for use evolix repository 2019-05-03 11:34:14 +02:00
Jérémy Lecour d63b1b67fb Merge branch 'release-1904' of evolix/evocheck into master 2019-04-25 17:06:40 +02:00
Jérémy Lecour d310af3b5c fix shellcheck warnings 2019-04-25 14:10:28 +02:00
Jérémy Lecour ffbfadfb9b prepare CHANGELOG for release 2019-04-25 13:25:52 +02:00
Jérémy Lecour b568993b93 clean CHANGELOG (remove trailing spaces) 2019-04-25 13:22:29 +02:00
Jérémy Lecour a76565dd2d Version 19.04 2019-04-25 13:22:29 +02:00
Jérémy Lecour 8565fe0007 Merge branch 'evomaintenance-api' of evolix/evocheck into master 2019-04-25 13:21:26 +02:00
Nicolas Roman d7bf71a6a1 added API_ENDPOINT and API_KEY fields for the evomaintenance check config 2019-04-25 12:05:07 +02:00
Victor Laborie 32913015fc Merge branch 'check-bkctld-incs' of evolix/evocheck into master 2019-04-25 11:58:33 +02:00
Jérémy Lecour cd4ea09ac6 Add IS_EVOBACKUP_INCS check 2019-04-25 11:55:55 +02:00
Victor Laborie 018b8a3598 Merge branch 'readme-conventions' of evolix/evocheck into master 2019-04-25 11:19:37 +02:00
Victor Laborie 10e9804581 Merge branch 'extract_functions' of evolix/evocheck into master 2019-04-25 11:18:16 +02:00
Jérémy Lecour 7ec807b3b4 fix return value for minifirewall_file function 2019-04-05 21:35:08 +02:00
Jérémy Lecour 407adabda0 Add conventions to the README 2019-04-05 18:23:07 +02:00
Jérémy Lecour 5c055b681b move comments above functions 2019-04-05 15:45:36 +02:00
Jérémy Lecour c93939c306 extract minifirewall_file function 2019-04-05 15:45:36 +02:00
Jérémy Lecour 5160d5a56c Extract functions 2019-04-05 15:45:36 +02:00
Benoît S. 84d197047a Merge branch 'fast-debian-check' of evolix/evocheck into master 2019-04-05 11:01:52 +02:00
Benoît S. bbb34c7df0 Merge branch 'cleanup' into fast-debian-check 2019-04-05 10:59:01 +02:00
Jérémy Lecour 9e50962b17 do not print warnings in quiet mode 2019-04-04 20:52:13 +02:00
Jérémy Lecour 53b86b991f add a break 2019-04-04 18:32:43 +02:00
Jérémy Lecour 4d952b1013 limit Samba check to lenny 2019-04-04 18:30:46 +02:00
Jérémy Lecour 0fa12b0cfd use octal representation of permissions 2019-04-04 18:28:49 +02:00
Jérémy Lecour 7dab67e303 fix typo 2019-04-04 18:25:10 +02:00
Jérémy Lecour 774796e190 fix lenny test 2019-04-03 21:25:57 +02:00
Jérémy Lecour e9cee7c4c0 report if blkid is missing 2019-03-25 10:04:40 +01:00
Jérémy Lecour decb3fbb0c bump version 2019-03-24 21:56:20 +01:00
Jérémy Lecour 4547705b45 skip test if munin is not setup in cron mode 2019-03-24 21:52:32 +01:00
Jérémy Lecour 3838f07c3b awstats must be installed to check its configuration 2019-03-24 21:50:51 +01:00
Jérémy Lecour f4b1c96be0 verbose mode for AUTOIF 2019-03-24 21:35:28 +01:00
Jérémy Lecour 809146de52 systemd network configuration is not supported yet 2019-03-24 21:27:16 +01:00
Jérémy Lecour a7abd80f93 Use awk to have a rounded percentage
python is slow
bash supports only integer arithmetics
"bc" can't round to the ceiling
2019-03-24 21:10:47 +01:00
Jérémy Lecour 4136b310c1 fallback to python if bc(1) is missing 2019-03-23 21:09:36 +01:00
Jérémy Lecour e2fb5ae837 fail if lspci is missing 2019-03-23 10:32:53 +01:00
Jérémy Lecour 9cd5e1c325 improve backup detection 2019-03-23 10:32:29 +01:00
Jérémy Lecour 3979b71831 Check for files before going further
Some non conventional servers might have important files or programs 
missing.
2019-03-23 10:18:01 +01:00
Jérémy Lecour 83379f6787 fix excessive quoting
it breaks globbing
2019-03-23 02:36:42 +01:00
Jérémy Lecour 8f255fa392 IS_EVOMAINTENANCEUSERS search trap only in active users home 2019-03-23 02:36:42 +01:00
Jérémy Lecour 4daaf99e36 split IS_EVOMAINTENANCECONF in 3 checks 2019-03-23 02:36:42 +01:00
Jérémy Lecour f377df3370 fix evobakup scripts detection
find returns with 0 even if nothing is found, so we use the number of 
occurences
2019-03-23 02:36:42 +01:00
Jérémy Lecour c9acd91671 Break the loop unless in verbose mode 2019-03-23 02:36:42 +01:00
Jérémy Lecour 8980ca7b69 document -h for help option 2019-03-23 02:36:42 +01:00