Jérémy Lecour
6993e8f8b3
fix quoting error
2020-09-04 12:01:15 +02:00
Jérémy Lecour
3f65cdafc6
IS_POSTGRES_BACKUP: look for compressed backup too
2020-09-04 11:56:00 +02:00
Jérémy Dubois
4798873ace
Add check_backupuptodate - Check that /home/backup is not older than 2 days
2020-08-04 15:08:21 +02:00
Jérémy Dubois
8eb2c5f9bc
Update changelog
2020-07-27 17:01:15 +02:00
Jérémy Dubois
5bad0301d9
Add check_ntp() - Check the ntpd configuration
2020-07-27 16:59:54 +02:00
Jérémy Dubois
57d44cbf91
Removed check_postgresql - Deprecated since we now use an API
2020-07-23 11:00:34 +02:00
Jérémy Dubois
3d86996f5d
Fix check_defaultroute - We need to check if the /etc/mygate file exists before comparing it - version 6.7.3
2020-07-23 10:28:34 +02:00
Jérémy Dubois
04994ecebc
Add check_defaultroute function and update CHANGELOG file to 6.7.2
2020-07-22 14:27:27 +02:00
Tristan PILAT
c688b0d524
Bump to version 6.7.1
2020-07-15 11:31:38 +02:00
Tristan PILAT
b58ad51307
Fix check_sudomaint function - ADMIN group does not exist anymore, we now check that the wheel group has NOPASSWD for evomaintenance
2020-07-15 11:21:10 +02:00
Tristan PILAT
5eedf3ad4d
Fix check_customsyslog - We have to check whether EvoBSD is present in newsyslog.conf file
2020-07-15 11:19:30 +02:00
Tristan PILAT
239c5896df
We want evocheck advbase output to be uniq
2020-07-15 11:08:32 +02:00
Benoît S.
e3778343a5
Merge pull request 'IS_DUPLICATE_FS_LABEL: blkid has a cache that can provoke false positive' ( #124 ) from IS_DUPLICATE_FS_LABEL-blkid-fix into master
...
Reviewed-on: evolix/evocheck#124
2020-06-26 08:51:44 +02:00
Benoît S.
eea3e4b36e
Merge branch 'master' into IS_DUPLICATE_FS_LABEL-blkid-fix
2020-06-26 08:50:58 +02:00
Benoît S.
fdaa5ed0ab
IS_DUPLICATE_FS_LABEL: Update changelog
2020-06-26 15:49:38 +09:00
Benoît S.
652fcdbe44
IS_DUPLICATE_FS_LABEL: blkid has a cache that can provoke false positive
...
Disable the cache by using `-c /dev/null`.
Example of false positive:
```
/dev/mapper/HDD0-swap2: LABEL="SWAP2" UUID="5540a49e-3e7b-4528-9c4e-49fb5f8d7f3d" TYPE="swap"
/dev/dm-0: LABEL="SWAP2" UUID="5540a49e-3e7b-4528-9c4e-49fb5f8d7f3d" TYPE="swap"
```
`dm-0` may have been cached during boot time, if you don't use a cache,
it doesn't appear any more.
2020-06-26 15:49:30 +09:00
Jérémy Lecour
98caca3592
Remove PROGDIR variable
...
The "realpath -m" command is not compatible with old versions of Debian.
The PROGDIR variable is unused.
2020-06-17 22:52:17 +02:00
Jérémy Lecour
5e4b60e61b
IS_EVOBACKUP_EXCLUDE_MOUNT: exclude disabled backup scripts
2020-05-11 17:18:04 +02:00
Jérémy Lecour
ddba7cbed9
Release 20.04.4
2020-04-28 15:59:01 +02:00
Jérémy Lecour
3d0e632dec
Don't search /etc/nginx if it doesn't exist
2020-04-28 15:58:08 +02:00
Tristan PILAT
8d80e5bfc8
Update CHANGELOG to 6.6.2
2020-04-27 15:45:41 +02:00
Tristan PILAT
4fead89240
Add check_sync function - If a server is a Carp member we check whether the sync.sh script is present or not
2020-04-27 15:38:27 +02:00
Tristan PILAT
e0716d3197
Remove check_oldhomedir - This information is irrelevant since we always keep home directories of former sysadmins
2020-04-27 15:35:28 +02:00
Tristan PILAT
c436480014
Add check_pfenabled function
2020-04-27 15:30:42 +02:00
Tristan PILAT
a5a034e611
Add check_uptodate function
2020-04-27 15:30:00 +02:00
Tristan PILAT
1d47e0f8d8
Raname kerneluptodate function to uptodate
2020-04-27 15:28:59 +02:00
Tristan PILAT
82a9050e00
Now use a version-naming scheme based on OpenBSD's one
2020-04-27 15:27:31 +02:00
Jérémy Lecour
d95275a23a
Release 20.04.3
2020-04-24 11:25:36 +02:00
Jérémy Lecour
e72de02c96
IS_EVOBACKUP_INCS: also look for the new command
2020-04-24 11:24:11 +02:00
Tristan PILAT
0b6ad08b5b
Add RAID check
2020-04-22 17:53:26 +02:00
Jérémy Lecour
490d351aca
shellcheck fixes
2020-04-22 14:03:55 +02:00
Tristan PILAT
b1868829aa
It might be useful to have /usr/share/scripts in the crontab PATH
2020-04-21 18:21:03 +02:00
Tristan PILAT
cf975ee14b
We have no use of Vagrant here
2020-04-21 18:19:33 +02:00
Tristan PILAT
f019e82255
Update main contributors of this branch
2020-04-21 18:18:39 +02:00
Tristan PILAT
c72a779f6c
Let's create a new changelog file for this version of evocheck
2020-04-21 18:17:51 +02:00
Tristan PILAT
68823b7c91
We can't run the OpenBSD version of evocheck in DroneCI
2020-04-21 18:16:53 +02:00
Tristan PILAT
6f5b5d78d8
Create the main function and add calls to all checks
2020-04-21 17:44:37 +02:00
Tristan PILAT
e69e08160d
We now use functions instead of if statements as in the linux version of the script
2020-04-21 17:41:32 +02:00
Tristan PILAT
425b08552a
Merge --version flag to --help. Both are now showing the help message
2020-04-21 17:37:07 +02:00
Tristan PILAT
fe76e40b35
Delete show_version since it is now included in show_help function
2020-04-21 17:34:19 +02:00
Tristan PILAT
9164fe2459
Amend show_help function for a more complete
2020-04-21 17:32:48 +02:00
Tristan PILAT
5ee0d20fe9
Add VERSION variable from linux version
2020-04-21 17:30:39 +02:00
Tristan PILAT
82af0db8b2
Delete default configuration values since they are now included in the main function
2020-04-21 16:59:58 +02:00
Tristan PILAT
ef2b234d49
Fix a mistake in the description
2020-04-21 16:59:08 +02:00
Jérémy Lecour
dad08d7c3d
IS_NGINX_LETSENCRYPT_UPTODATE: new check
...
verify that the letsencrypt snippet is compatible with the current
version of Nginx
2020-04-16 12:17:45 +02:00
Jérémy Lecour
985a57412f
Release 20.04.2
2020-04-15 18:00:01 +02:00
Jérémy Lecour
40ada4de70
IS_CHROOTED_BINARY_NOT_UPTODATE: new check
...
Verify that chrooted processes run up-to-date binaries
2020-04-15 10:46:25 +02:00
Jérémy Lecour
95c9f1f99b
Release 20.04.1
2020-04-12 22:27:14 +02:00
Jérémy Lecour
084348548b
IS_EVOBACKUP_EXCLUDE_MOUNT : verify that mount points are excluded in evobackup scripts
2020-04-12 20:01:50 +02:00
Jérémy Lecour
9158f4e0be
Release 20.02.1
2020-02-27 11:35:34 +01:00