integrity is a simple script to configure, maintain and verify atributes and hashes of selected files. It uses hashdeep and mtree. Intended use is to schedule integrity in cron and email the changes.
Tested with FreeBSD and Ubuntu. Installation and configuration tested with galaxy.ansible.com/vbotka/ansible-integrity
Performance. Checking integrity of the set (bin, lib, sbin, usr-bin, usr-lib, usr-lib32, usr-local-bin, usr-local-etc, usr-local-lib, usr-local-sbin, usr-sbin) of default FreeBSD system
- at standard cloud VM takes ~10s.
- at dedicated Intel(R) Pentium(R) CPU G3240 @ 3.10GHz takes ~3s.