Projet

Général

Profil

Proposition Scénario #16704

Mis à jour par Daniel Dehennin il y a presque 8 ans

h3. Problème

L’agent dansguardian fait des appels à *@pyeole.process.system_out@* qui fait des appels à *@creole.client@*.

Si *@creoled@* est arrêté, ces appels lèvent une exception.

h3. Propositions

h3. Demande initiale

dans la continuité de la demande #16703 si creoled est arrêté l'agent zéphir fait des erreurs
et notamment empêche la relance de e2guardian. en effet les établissements nous appelle car ils n'ont plus d'accès internet,
le fait de lancer creoled l'agent zéphir semble débloquer la situation, alors est-ce lié ou non ?! voilà un bout de log :

<pre>
2016-07-05T10:19:34.933952+02:00 lacotiere.0011326l.local zephiragents: [-] /!\ Agent dans-stats, exception during measure: HTTP error: socket.error: [Errno 111] ECONNREFUSED
2016-07-05T10:19:34.933960+02:00 lacotiere.0011326l.local zephiragents: [-] #011Please check creoled's log (/var/log/creoled.log) and restart service with command 'service creoled start' (ligne 332)
2016-07-05T10:19:46.119623+02:00 lacotiere.0011326l.local zephiragents: [-] erreur retournée par bin/squid_snmp.sh
2016-07-05T10:19:46.120353+02:00 lacotiere.0011326l.local zephiragents: [-] /!\ measure return empty value: squid-stats
2016-07-05T10:19:46.120537+02:00 lacotiere.0011326l.local zephiragents: message repeated 5 times: [ [-] /!\ measure return empty value: squid-stats]
2016-07-05T10:19:46.120714+02:00 lacotiere.0011326l.local zephiragents: [-] RRDtool warning: stats/281/squid-stats/squid-stats.rrd: not a simple unsigned integer: 'None'
2016-07-05T10:21:33.720612+02:00 lacotiere.0011326l.local zephiragents: [-] /!\ Agent dans-stats, exception during measure: HTTP error: socket.error: [Errno 111] ECONNREFUSED
2016-07-05T10:21:33.720622+02:00 lacotiere.0011326l.local zephiragents: [-] #011Please check creoled's log (/var/log/creoled.log) and restart service with command 'service creoled start' (ligne 332)
2016-07-05T10:21:46.125038+02:00 lacotiere.0011326l.local zephiragents: [-] erreur retournée par bin/squid_snmp.sh
2016-07-05T10:21:46.125473+02:00 lacotiere.0011326l.local zephiragents: [-] /!\ measure return empty value: squid-stats
2016-07-05T10:21:46.125751+02:00 lacotiere.0011326l.local zephiragents: message repeated 5 times: [ [-] /!\ measure return empty value: squid-stats]
2016-07-05T10:23:33.718503+02:00 lacotiere.0011326l.local zephiragents: [-] /!\ Agent dans-stats, exception during measure: HTTP error: socket.error: [Errno 111] ECONNREFUSED
2016-07-05T10:23:33.718511+02:00 lacotiere.0011326l.local zephiragents: [-] #011Please check creoled's log (/var/log/creoled.log) and restart service with command 'service creoled start' (ligne 332)
2016-07-05T10:23:46.123428+02:00 lacotiere.0011326l.local zephiragents: [-] erreur retournée par bin/squid_snmp.sh
2016-07-05T10:23:46.123883+02:00 lacotiere.0011326l.local zephiragents: [-] /!\ measure return empty value: squid-stats
2016-07-05T10:23:46.124182+02:00 lacotiere.0011326l.local zephiragents: message repeated 5 times: [ [-] /!\ measure return empty value: squid-stats]
2016-07-05T10:23:46.124336+02:00 lacotiere.0011326l.local zephiragents: [-] RRDtool warning: stats/281/squid-stats/squid-stats.rrd: not a simple unsigned integer: 'None'
2016-07-05T10:25:33.727015+02:00 lacotiere.0011326l.local zephiragents: [-] /!\ Agent dans-stats, exception during measure: HTTP error: socket.error: [Errno 111] ECONNREFUSED
2016-07-05T10:25:33.727026+02:00 lacotiere.0011326l.local zephiragents: [-] #011Please check creoled's log (/var/log/creoled.log) and restart service with command 'service creoled start' (ligne 332)
2016-07-05T10:25:46.123295+02:00 lacotiere.0011326l.local zephiragents: [-] erreur retournée par bin/squid_snmp.sh
2016-07-05T10:25:46.123762+02:00 lacotiere.0011326l.local zephiragents: [-] /!\ measure return empty value: squid-stats
2016-07-05T10:25:46.124059+02:00 lacotiere.0011326l.local zephiragents: message repeated 5 times: [ [-] /!\ measure return empty value: squid-stats]
2016-07-05T10:25:46.124216+02:00 lacotiere.0011326l.local zephiragents: [-] RRDtool warning: stats/281/squid-stats/squid-stats.rrd: not a simple unsigned integer: 'None'
</pre>

et ensuite si on lance creoled voici ce qu'il nous dit :

<pre>
2016-07-05T10:27:18.546946+02:00 lacotiere.0011326l.local zephiragents: [-] agent dans1 : service e2guardian relancé
2016-07-05T10:27:40.430050+02:00 lacotiere.0011326l.local zephiragents: [-] agent dans2 : service e2guardian relancé
</pre>

et e2guardian est de nouveau opérationnel.

Retour