Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
a429869a
Commit
a429869a
authored
Jun 10, 2014
by
Fred Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make aide send reports to syslog. make aide logs readable by splunk
parent
55bef11e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
playbooks/roles/aide/tasks/main.yml
+7
-0
playbooks/roles/aide/templates/etc/default/aide.j2
+5
-0
No files found.
playbooks/roles/aide/tasks/main.yml
View file @
a429869a
...
...
@@ -10,6 +10,13 @@
src=etc/default/aide.j2 dest=/etc/default/aide
owner=root group=root mode=0644
-
name
:
open read permissions on aide logs
file
:
>
name="/var/log/aide"
recurse="yes"
state="directory"
mode="755"
-
name
:
aide initial scan (this can take a long time)
command
:
>
aideinit -y -f
...
...
playbooks/roles/aide/templates/etc/default/aide.j2
View file @
a429869a
# These settings are mainly for the wrapper scripts around aide,
# such as aideinit and /etc/cron.daily/aide
# send reports to syslog
REPORT_URL=syslog:LOG_LOCAL1
# This is used as the host name in the AIDE reports that are sent out
# via e-mail. It defaults to the output of $(hostname --fqdn), but can
# be set to arbitrary values.
...
...
@@ -11,6 +15,7 @@
# some variable content here (for example $(date +%Y-%m-%d)).
MAILSUBJ="Daily AIDE report for $FQDN"
# This is the email address reports get mailed to
# default is root
# This variable is expanded before it is used, so you can use variables
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment