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
Romain Dessort
516adc25f9
Improve previous commit for mytop check
2017-08-31 12:23:21 -04:00
Romain Dessort
b2fa3073c0
mytop is now part of mariadb-client
2017-08-31 11:24:02 -04:00
Gregory Colpart
2eddb6b1bf
Fix IS_APACHEMUNIN check in Stretch
2017-08-22 03:42:16 +02:00
Gregory Colpart
a2839d24c0
Forget -q in grep
2017-08-22 03:19:16 +02:00
Gregory Colpart
cb7a0adf79
Fix vlan interfaces in Debian 9
2017-08-22 03:18:04 +02:00
Romain Dessort
18ca4d4845
TMOUT is now set in /etc/profile.d/evolinux.sh
2017-08-14 11:02:18 -04:00
Gregory Colpart
fee216b218
autorize no PermitRoot option for Stretch because default is secure
2017-07-11 00:21:52 +02:00
Gregory Colpart
03db1f93ba
Improve check (avoid warning)
2017-07-11 00:05:43 +02:00
Gregory Colpart
53c67a0157
For Stretch (we don't use anymore listchanges)
2017-07-10 23:41:04 +02:00
Romain Dessort
87e280895f
Allow use of env= in Allow from directives.
2017-07-07 16:34:46 -04:00
Benoît S.
6869dba9fb
Added a protection in case of buggy partition.
...
Like I/O error.
2017-06-01 15:38:18 +02:00
Benoît S.
5b6e30d992
Added check IS_TUNE2FS_M5.
2017-05-31 16:01:19 +02:00
Romain Dessort
81c28cd59e
Increase grace for IS_NOTUPGRADED
2017-04-03 08:44:46 -04:00
Romain Dessort
acca5f226e
Fix #1959 . IS_BACKUPUPTODATE now fails if files are older than 2 day
2017-02-03 10:44:36 -05:00
Romain Dessort
3a5fe95bed
Add tun to interfaces to exclude
2017-02-03 10:42:30 -05:00
Romain Dessort
ee3d82b5c6
Fix comment for IS_NOTUPGRADED check
2016-11-30 11:49:38 -05:00
Romain Dessort
ec677f720d
Add a check to ensure system is upgraded periodically
2016-11-30 11:39:25 -05:00
Benoît S.
43bc39a72d
Implement #1957 . IS_APTGETBAK
2016-08-31 15:38:38 +02:00
Romain Dessort
dbe53542f0
Fix parenthesis in condition for Squeeze.
2016-06-30 08:12:27 -04:00
Gregory Colpart
0b39053882
Fix check when there is no partitions /usr /tmp in Jessie
2016-06-24 01:37:46 +02:00
Romain Dessort
16a53a5dc6
Add check for /etc/.git/ permissions.
2016-06-16 12:08:22 -04:00
Romain Dessort
251f02ac1a
Fix some bugs.
2016-06-03 11:29:45 -04:00
Romain Dessort
3b59217d0d
Fix #1861 . More explicit check for NRPE pid.
2016-05-13 10:42:53 -04:00
Romain Dessort
b7c41b9181
Fix #1864 . Add quotes to avoid error in comparaison.
2016-05-13 10:34:28 -04:00
Romain Dessort
62b13e9e77
Exclude macvtap interfaces from check.
2016-05-12 19:59:26 -04:00
Romain Dessort
3c9ba79ad5
Missing quiet option for grep.
2016-05-12 19:59:01 -04:00
Romain Dessort
0325dc93e4
In case of many generated graphs, take the newest.
2016-05-12 14:21:32 -04:00
Romain Dessort
b8969e6f12
IPv6 compatible regexp for BINDCHROOT.
2016-05-12 14:20:57 -04:00
Romain Dessort
5ec7be4111
Check mtime of images only with graph_strategy = cron.
2016-05-12 13:37:58 -04:00
Romain Dessort
57a68cdd1d
Fix first regexp in 'IS_APACHEIPINALLOW check.
2016-05-12 13:37:25 -04:00
Romain Dessort
ef262a8272
Improve/simplify regexp to support IPv6, netmasks and ignore commented lines.
2016-05-12 12:24:55 -04:00