[monit] ajout de rsyslog (au lieu de syslog-ng)
This commit is contained in:
parent
1226751f10
commit
ac81f972c4
1 changed files with 2 additions and 1 deletions
|
@ -185,7 +185,8 @@ service("ssh",
|
||||||
extra=["if failed port 22 protocol ssh timeout 30 seconds then restart",
|
extra=["if failed port 22 protocol ssh timeout 30 seconds then restart",
|
||||||
"if children > 200 then restart"])
|
"if children > 200 then restart"])
|
||||||
|
|
||||||
service("syslog-ng",
|
if has('rsyslog-client') or has('rsyslog-server'):
|
||||||
|
service(None, name="rsyslog",
|
||||||
extra=["depend on file/var/log/syslog"])
|
extra=["depend on file/var/log/syslog"])
|
||||||
|
|
||||||
service("ups-monitor",
|
service("ups-monitor",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue