Commit graph

804 commits

Author SHA1 Message Date
Benoît S. 26e980279e Merge branch 'suppress-stderr' into 'master'
IS_BACKPORTSCONF: suppress stderr output in any case

See merge request evolix/evocheck!5
2018-02-20 09:22:38 +01:00
Gregory Colpart 0d68452dcc avoid too much FAILED for IS_MYSQLMUNIN 2018-02-19 23:26:53 +01:00
Gregory Colpart 7d7e289817 suppress stderr output in any case 2018-02-19 22:23:53 +01:00
Benoît S. 5e761eef62 Add changelog 2018-02-19 14:29:03 +01:00
Benoît S. a432972104 Added --git-export-dir=/tmp/build-area for build instructions 2018-02-07 22:48:21 +01:00
Benoît S. e787815ee9 Updated the README file for new packaging method 2018-02-07 22:26:57 +01:00
Benoît S. fcaf4fc430 Merge branch '20-increase-the-threshold' into 'master'
IS_UPTIME in --cron mode && IS_NOTUPGRADED at 90d

Closes #20

See merge request evolix/evocheck!4
2018-01-31 16:26:41 +01:00
Benoît.S 034b88faa4 IS_UPTIME in --cron mode && IS_NOTUPGRADED at 90d 2018-01-31 16:25:28 +01:00
Benoît S. 3a412beca6 Merge branch '16-deal-with-missing-etc-network-interfaces' into 'master'
Resolve "Deal with missing /etc/network/interfaces"

Closes #16

See merge request evolix/evocheck!3
2018-01-22 16:57:11 +01:00
Benoît.S b62a9f606e We don't manage systemd-network yet
Added a IS_NETWORK_INTERFACES and disabling IS_AUTOIF and IS_INTERFACESGW if
IS_NETWORK_INTERFACES failing.
2018-01-22 16:55:42 +01:00
Benoît.S 57bd4312ce Breakline indentation 2018-01-11 14:46:46 +01:00
Benoît.S d2278292cc Diffrent test for Jessie kernel 2018-01-11 14:45:12 +01:00
Benoît.S 1418d4306e Modified Meltdown check to handle kaiser and pti 2018-01-11 11:52:43 +01:00
Benoît.S 2c6d075e2a Add IS_MELTDOWN
We check kaiser flags in /proc/cpuinfo and CONFIG_PAGE_TABLE_ISOLATION in
kernel config file.
2018-01-11 11:24:42 +01:00
Benoît S. c993244885 Merge branch '15-mysql-munin-plugin-check-error' into 'master'
Resolve "Mysql munin plugin check error"

Closes #15

See merge request !1
2017-12-20 10:08:06 +01:00
Benoît S. f78628c1d7 Fix #15. Add mysql_ prefix for munin plugin check 2017-12-20 10:06:39 +01:00
Benoît S. b62c194cf0 Update CONTRIBUTING.md 2017-12-15 09:33:30 +01:00
Benoît S. 4bb3606237 Update CONTRIBUTING.md 2017-12-15 09:32:51 +01:00
Benoît S. d038b06ae3 Delete TODO 2017-12-14 11:29:26 +01:00
Benoît S. 23188bbec7 Update README 2017-12-14 11:29:07 +01:00
Benoît S. f39b283236 Add contribution guide 2017-12-14 11:27:57 +01:00
Benoît.S aa8eb3c2a9 Merge branch 'EvoQA-4732' 2017-12-08 15:57:50 +01:00
Benoît.S 15c323f56b Add MOUNT_FSTAB check 2017-12-08 15:56:31 +01:00
Benoît.S 91e7654d1c Merge branch 'EvoQA-3332' 2017-12-06 14:38:26 +01:00
Benoît.S 99451d54a8 Add ELASTIC_BACKUP check 2017-12-06 11:05:02 +01:00
Benoît.S 09c4e5f5b2 Add REDIS_BACKUP check 2017-12-06 10:49:52 +01:00
Benoît.S 824e0fcf55 Missing IS_LDAP_BACKUP=1 2017-12-06 10:46:08 +01:00
Benoît.S 35f0cc3c86 Add MONGO_BACKUP check 2017-12-06 10:42:16 +01:00
Benoît.S 227249f411 Add POSTGRES_BACKUP check 2017-12-06 10:28:39 +01:00
Benoît.S 6c37875d1f Add LDAP_BACKUP check 2017-12-06 10:14:17 +01:00
Benoît.S f527e92ce4 Only check if file exist 2017-12-06 10:06:03 +01:00
Benoît.S 340c686b03 Implement EvoQA#3332. Check for SQL backup. 2017-12-05 18:03:40 +01:00
Benoît S. eeca2fab19 Don't match start of line
While inverse grepping some interface names, don't match the start of the line.
2017-11-22 11:31:24 +01:00
Benoît S. a9cbeca7cc Use group evolinux-sudo for Debian >=9 2017-11-14 17:35:23 +01:00
Benoît.S 85c757d9d4 Test if /etc/apache2 is present
Otherwise this check will always fail on non-apache server...
2017-11-10 11:06:33 +01:00
Benoît S. 31518d39b1 For IS_LOG2MAILMYSQL, better grep.
Because we can have /etc/log2mail/config/{default,mysql,mysql.conf} ⋅ ⋅ ⋅
2017-10-26 11:51:13 +02:00
Jérémy Lecour 0d4bd0a717 AUTOIF: on stretch, only look for UP interfaces 2017-10-04 14:11:50 +02:00
Romain Dessort 76495a204c Fix IS_BROADCOMFIRMWARE and IS_HARDWARERAIDTOOL checks 2017-10-02 16:39:13 -04:00
Romain Dessort f90b1d9e71 Use python instead of bc to get percentage of reserved blocks
bc is not installed on all servers.
2017-10-02 16:23:04 -04:00
Romain Dessort 3453423579 Add some checks for stretch 2017-10-02 15:05:24 -04:00
Jérémy Lecour 848a97883a Revert "IS_MYSQLUTILS: better check for mytop user"
This reverts commit 604c313c90.
2017-09-22 11:01:04 +02:00
Jérémy Lecour 604c313c90 IS_MYSQLUTILS: better check for mytop user
The 'debian-sys-maint' user is not necessarily the best one to use with mytop.
We just need to check that the mytop config file contains a user value.

The regular expression checks that :
* there is a line beggining with "user" (not commented)
* it is a variable assignent with optional spaces
* the value is 1 or more non-whitespace characters
2017-09-22 09:43:31 +02:00
Gregory Colpart 7314ffc631 Fix squid conffile in stretch 2017-09-14 01:18:32 +02:00
Gregory Colpart 1b843937b0 web-add.sh can be in new path 2017-09-14 01:18:32 +02:00
Gregory Colpart 80a2d4a2b6 no need of ';' avec return 0 2017-09-14 01:18:32 +02:00
Romain Dessort 69a61bcc51 Check for world readable private keys 2017-09-11 11:16:42 -04:00
Romain Dessort 9e21e22414 Check for /etc/evomaintenance.cf permissions 2017-09-11 10:11:58 -04:00
Benoît S. 461dec1a37 Missing () for the condition 2017-09-07 11:53:16 +02:00
Romain Dessort 67665c2738 Fix IS_SQUID in stretch 2017-08-31 12:41:18 -04:00
Romain Dessort d30b1dbace Fix Grégory's fix about IS_APACHEMUNIN for non-stretch machines 2017-08-31 12:34:58 -04:00