1
|
zephir-client
|
2
|
=============
|
3
|
|
4
|
* Statistiques Exim
|
5
|
data/monitor/bin/eximstats.sh:# le programme et les logs sont dans le conteneur web
|
6
|
data/monitor/bin/eximstats.sh:f1='/var/log/exim4/mainlog'
|
7
|
data/monitor/bin/eximstats.sh:f2='/var/log/exim4/mainlog.1'
|
8
|
|
9
|
* Antivirus temps réel (scannedonly)
|
10
|
zephir/monitor/agents/clamav.py: fichier = "/var/log/syslog"
|
11
|
|
12
|
* Fichiers spéciaux :)
|
13
|
zephir/monitor/agents/bacula.py: f = open('/var/log/bacula/agentzephir.log', 'a+')
|
14
|
zephir/monitor/agents/freshclam.py:freshclam_file = '/var/log/clamav/freshclam-status.log'
|
15
|
bin/enregistrement_zephir: conf_logs = open('/var/log/zephir/last_action.log').read().split('\n')
|
16
|
|
17
|
* Choses bizarres :)
|
18
|
bin/synchro_zephir:check, out, err = system_out('/usr/bin/tail', '-3', '/var/log/uucp/Log')
|
19
|
data/scripts/zephir_client.py: os.system('/bin/chown -R uucp.uucp /var/log/zephir >/dev/null')
|
20
|
data/scripts/zephir_client.py: log_data = file('/var/log/zephir/last_action.log').read()
|
21
|
data/scripts/zephir_client.py: f_log = file('/var/log/zephir/actions.log','a+')
|
22
|
|
23
|
|
24
|
ead
|
25
|
===
|
26
|
|
27
|
* Antivirus temps réel (scannedonly)
|
28
|
backend/actions/virus.py: file1 = join('/', fichier_path, 'var/log/syslog')
|
29
|
backend/actions/virus.py: file2 = join('/', fichier_path, 'var/log/syslog.1.gz')
|
30
|
|
31
|
* Historique des connexions Samba
|
32
|
backend/actions/scribe/tool/scribe_tools.py: filename = join('/', fichier_path, 'var/log/samba/connexions.log')
|
33
|
|
34
|
* "Observatoire des navigations" (dansguardian)
|
35
|
backend/actions/lib/logparser/config.py:LOG_DIR = proxy_container+'/var/log/dansguardian/'
|
36
|
backend/actions/lib/logparser/logparsing.py:from ead2.backend.actions.lib.logparser.config import LOG_DIR, TEMP_FILENAME, \
|
37
|
backend/actions/lib/logparser/logparsing.py: filepath = join(LOG_DIR, filename)
|
38
|
backend/actions/lib/logparser/logparsing.py: filepath = join(LOG_DIR, filename)
|
39
|
backend/actions/lib/logparser/file_listing.py:from ead2.backend.actions.lib.logparser.config import LOG_DIR, log_root_name
|
40
|
backend/actions/lib/logparser/file_listing.py: loglist = [_file for _file in listdir(LOG_DIR) if root_name in _file and not '~' in _file]
|
41
|
backend/actions/lib/logparser/file_listing.py: for _file in listdir(LOG_DIR):
|
42
|
|
43
|
|
44
|
autres paquets
|
45
|
==============
|
46
|
|
47
|
* eole-proxy
|
48
|
posttemplate/00-proxy: RunCmd "chown -R proxy.proxy /var/log/dansguardian" proxy
|
49
|
|
50
|
* scribe-backend
|
51
|
fichier/dyn-logon.py: system('%s >> /var/log/samba/%s.log' % (cmd, self.machine))
|
52
|
fichier/dyn-logon.py: system('%s >> /var/log/samba/connexions.log' % (cmd))
|
53
|
|
54
|
* eole-antivirus
|
55
|
posttemplate/00-antivirus:chown -R root:adm /var/log/clamav
|
56
|
|
57
|
* eole-posh
|
58
|
posttemplate/10-posh:LOG_PATH="/var/log/posh"
|
59
|
|
60
|
* eole-common
|
61
|
schedule/schedule_bacula:/usr/share/eole/schedule/schedule bacula $OPT >> /var/log/schedule.log 2>&1
|
62
|
diagnose/eole/07-Distrib:grep " zephir:" /var/log/syslog | tail -n20
|
63
|
posttemplate/00-eole-common:mkdir -p /var/log/eole
|
64
|
|