/usr/share/aide/config/aide/aide.conf.d/31_aide_torrus is in aide-common 0.16~a2.git20130520-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #!/bin/bash
if ! [ -d /var/lib/torrus ]; then
exit 0
fi
find /var/lib/torrus/collector_rrd -name '*.rrd' | \
sed 's/^\(.*\)/\1$ VarFile/'
TORRUS_TREES=""
for tree in $TORRUS_TREES; do
cat <<EOF
@@define TORRUS_TREE $tree
/var/lib/torrus/db/sub/@@{TORRUS_TREE}/(config_readers|nodepcache_1|scheduler_stats)\.db$ VarFile
/var/log/torrus/collector\.@@{TORRUS_TREE}_0\.log$ Log
/@@{RUN}/torrus/collector\.@@{TORRUS_TREE}_0\.pid$ VarFile
EOF
done
cat <<EOF
!/var/cache/torrus/[0-9a-f]{32}_[0-9]{5}$
/var/lib/torrus/db/__db\.00[1234]$ VarFile
/var/lib/torrus/db/render_cache\.db$ VarFile
!/var/lib/torrus/session_data/store/[0-9a-f]{32}$
!/var/lib/torrus/session_data/lock/Apache-Session-[0-9a-f]{32}\.lock$
/var/lib/torrus/session_data/(store|lock)$ VarDir
!/var/log/torrus/dbenv_errlog_$(pidof collector)$
/var/log/torrus$ VarDir
/@@{RUN}/torrus$ VarDirInode
EOF
|