Evolution #3213
Suites aux évolutions rsyslog, l'agent eximstats ne fonctionne plus
Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Target version:
Distribution:
EOLE 2.3
Related issues
Associated revisions
- eximstats.sh : mise à niveau des chemins vers les fichiers de log
Fixes #3213 @30m
Drop default chart from preferences; fixes #3213
History
#1 Updated by Joël Cuissinat over 11 years ago
Proposition de code pour /usr/share/zephir/monitor/bin/eximstats.sh :
#!/bin/bash # statistiques Exim . /usr/share/eole/FonctionsEoleNg # calcul du nom d'hôte pour rsyslog host=`RunCmd "hostname -s" $container_name_mail` f1=/var/log/rsyslog/$host/exim/exim.info.log f2="$f1.1" for log in $f1 $f2;do [ -f "$log" ] && f="$f $log" done if [ ! -z "$f" ];then opts="-nt -h0 -tnl -t0 -nr -nvr -q60" $container_path_mail/usr/sbin/eximstats $opts $f fi exit 0
#2 Updated by Benjamin Bohard over 11 years ago
L'arborescence a encore changé :)
f1=/var/log/rsyslog/local/exim/exim.info.log
#3 Updated by Joël Cuissinat over 11 years ago
- Status changed from Accepté to Résolu
- % Done changed from 0 to 100
Appliqué par commit 89160e7de91505577e05d361efef7fce994fe11a.
#4 Updated by Daniel Dehennin over 11 years ago
- Status changed from Résolu to Fermé
Fonctionne
Réception 38.3 ko 44 Envoi 38.3 ko 44