On retire les @ du fichier, et le code mort.
This commit is contained in:
parent
a4625b74ca
commit
6fdd3edc31
1 changed files with 3 additions and 8 deletions
|
@ -324,17 +324,12 @@ for i in range(0,dernierecarte):
|
|||
stop_cmd = """/sbin/start-stop-daemon --stop --pidfile /var/run/mumudvb/mumudvb_adapter%d_tuner0.pid""" % i
|
||||
)
|
||||
|
||||
@check file file/var/log/syslog with path /var/log/syslog
|
||||
@ if timestamp > 15 minutes then alert
|
||||
@
|
||||
print """check file file/var/log/syslog with path /var/log/syslog
|
||||
if timestamp > 15 minutes then alert
|
||||
"""
|
||||
|
||||
service('igmpproxy')
|
||||
|
||||
if False: # Ce bout de code est mort tant qu'on n'a pas la nouvelle imprimante
|
||||
@# print_status
|
||||
@check file file/usr/scripts/var/print_status/error.txt with path /usr/scripts/var/print_status/error.txt
|
||||
@ if size > 0 for 3 cycles then alert
|
||||
|
||||
disques = {}
|
||||
if has('blkid'):
|
||||
for line in metadata.Probes["blkid"].splitlines():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue