forked from hardware/monit-conf.d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ossec.conf
41 lines (24 loc) · 1.35 KB
/
ossec.conf
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
32
33
34
35
36
37
38
39
40
41
check process ossec-maild matching "/var/ossec/bin/ossec-maild"
start program = "/var/ossec/bin/ossec-control start"
stop program = "/var/ossec/bin/ossec-control stop"
if 3 restarts within 5 cycles then alert
check process ossec-execd matching "/var/ossec/bin/ossec-execd"
start program = "/var/ossec/bin/ossec-control start"
stop program = "/var/ossec/bin/ossec-control stop"
if 3 restarts within 5 cycles then alert
check process ossec-analysisd matching "/var/ossec/bin/ossec-analysisd"
start program = "/var/ossec/bin/ossec-control start"
stop program = "/var/ossec/bin/ossec-control stop"
if 3 restarts within 5 cycles then alert
check process ossec-logcollector matching "/var/ossec/bin/ossec-logcollector"
start program = "/var/ossec/bin/ossec-control start"
stop program = "/var/ossec/bin/ossec-control stop"
if 3 restarts within 5 cycles then alert
check process ossec-syscheckd matching "/var/ossec/bin/ossec-syscheckd"
start program = "/var/ossec/bin/ossec-control start"
stop program = "/var/ossec/bin/ossec-control stop"
if 3 restarts within 5 cycles then alert
check process ossec-monitord matching "/var/ossec/bin/ossec-monitord"
start program = "/var/ossec/bin/ossec-control start"
stop program = "/var/ossec/bin/ossec-control stop"
if 3 restarts within 5 cycles then alert