Anomalie #7038
L'agent "virus" plante z_stats si activer_clam = non
Description
File "/usr/lib/python2.7/dist-packages/zephir/monitor/agentmanager/zephirservice.py", line 109, in init
self.agents = self.load_agents()
File "/usr/lib/python2.7/dist-packages/zephir/monitor/agentmanager/zephirservice.py", line 157, in load_agents
execfile(f, globals(), h)
File "configs/virus.agent", line 8, in <module>
if CreoleClient().get_creole('smb_vscan') == 'oui':
File "/usr/lib/python2.7/dist-packages/creole/client.py", line 376, in get_creole
ret = self.get('/creole', *args, variable=name, **kwargs)
File "/usr/lib/python2.7/dist-packages/creole/client.py", line 340, in get
raise err
creole.client.CreoleClientError: Creole error 1: trying to access to an option named: clamav with properties ['disabled']
Révisions associées
- virus.agent : correction pour activer_clam = non
Fixes #7038 @20m
Historique
#1 Mis à jour par Joël Cuissinat il y a plus de 10 ans
- Sujet changé de L'agent "virus" plante z_stats si à L'agent "virus" plante z_stats si activer_clamav = non
#2 Mis à jour par Joël Cuissinat il y a plus de 10 ans
- Sujet changé de L'agent "virus" plante z_stats si activer_clamav = non à L'agent "virus" plante z_stats si activer_clam = non
#3 Mis à jour par Joël Cuissinat il y a plus de 10 ans
- Statut changé de Accepté à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit 3ac94ebcb6983523afe4d07c2dd73f0b69608ef5.
#4 Mis à jour par Joël Cuissinat il y a plus de 10 ans
- Version cible changé de Eole 2.4-RC2 à Eole 2.4-RC1
#5 Mis à jour par Emmanuel GARETTE il y a environ 10 ans
- Statut changé de Résolu à Fermé
root@scribe:~# CreoleGet activer_clam non
Avant la modif :
root@scribe:~# python /usr/share/zephir/monitor/configs/virus.agent Traceback (most recent call last): File "/usr/share/zephir/monitor/configs/virus.agent", line 8, in <module> if CreoleClient().get_creole('smb_vscan') == 'oui': File "/usr/lib/python2.7/dist-packages/creole/client.py", line 376, in get_creole ret = self.get('/creole', *args, variable=name, **kwargs) File "/usr/lib/python2.7/dist-packages/creole/client.py", line 340, in get raise err creole.client.CreoleClientError: Creole error 1: trying to access to an option named: clamav with properties ['disabled']
Après la modif :
root@scribe:~# python /usr/share/zephir/monitor/configs/virus.agent root@scribe:~#