Difference between revisions of "LCG-FR /monitoring ActiveMQ"

Un article de lcgwiki.
Jump to: navigation, search
Ligne 1: Ligne 1:
== Messaging System Architecture ==
+
=== Messaging System Architecture ===
 
https://twiki.cern.ch/twiki/bin/view/EGEE/MsgArchitecture
 
https://twiki.cern.ch/twiki/bin/view/EGEE/MsgArchitecture
  
== sur la nagios BOX ==
+
=== sur la nagios BOX ===
 
*Il y a un cron pour recuperer les Broker accessibles (utilisation du systeme d'information et de l'attribut: ''GlueServiceType=msg.broker.stomp '')
 
*Il y a un cron pour recuperer les Broker accessibles (utilisation du systeme d'information et de l'attribut: ''GlueServiceType=msg.broker.stomp '')
  
Ligne 11: Ligne 11:
 
*current broker network supports SSL but at this point there is no authorization mechanism
 
*current broker network supports SSL but at this point there is no authorization mechanism
  
== etat de notre queue ==
+
=== etat de notre queue ===
  
 
Pour importer de maniere interactive les resultats dans nagios (permet de debugger):
 
Pour importer de maniere interactive les resultats dans nagios (permet de debugger):
Ligne 26: Ligne 26:
 
sometimes msg-to-queue does not reconnect correctly due Net::Stomp library problems.
 
sometimes msg-to-queue does not reconnect correctly due Net::Stomp library problems.
  
For a terribly simple consumer the following STOMP perl client works.
+
For a terribly simple consumer the following STOMP perl client works:
 
https://twiki.cern.ch/twiki/bin/view/EGEE/MsgArchitecture#STOMP
 
https://twiki.cern.ch/twiki/bin/view/EGEE/MsgArchitecture#STOMP
  
 
James Casey just build and produced rpms for stomp.py 2.0.1 which works on python >= 2.3.
 
James Casey just build and produced rpms for stomp.py 2.0.1 which works on python >= 2.3.
 
It’s now in our test repositories for EGEE-SA1 for SL4 & SL5 : https://twiki.cern.ch/twiki/bin/view/EGEE/EGEESA1PackageRepository
 
It’s now in our test repositories for EGEE-SA1 for SL4 & SL5 : https://twiki.cern.ch/twiki/bin/view/EGEE/EGEESA1PackageRepository

Version du 11:23, 19 février 2010

Messaging System Architecture

https://twiki.cern.ch/twiki/bin/view/EGEE/MsgArchitecture

sur la nagios BOX

  • Il y a un cron pour recuperer les Broker accessibles (utilisation du systeme d'information et de l'attribut: GlueServiceType=msg.broker.stomp )
/etc/cron.d/broker-cache-file
  • Msg architecture utilisé pour recuperer les sorties des jobs soumis sur les CE
  • current broker network supports SSL but at this point there is no authorization mechanism

etat de notre queue

Pour importer de maniere interactive les resultats dans nagios (permet de debugger):

/usr/libexec/grid-monitoring/plugins/nagios/recv_from_queue  -v
/usr/sbin/msg-to-queue --prefix /queue/grid.probe.metricOutput.EGEE.a635834332381123c8b296d02b682f8f --broker-uri stomp://prod-grid-msg.cern.ch:6163

On peut voir l'etat de notre queue: http://gridmsg101.cern.ch/admin/queueBrowse/grid.probe.metricOutput.EGEE.a635834332381123c8b296d02b682f8f?view=rss&feedType=rss_2.0

s'abonner au flux RSS:

queue://grid.probe.metricOutput.EGEE.a635834332381123c8b296d02b682f8f

sometimes msg-to-queue does not reconnect correctly due Net::Stomp library problems.

For a terribly simple consumer the following STOMP perl client works: https://twiki.cern.ch/twiki/bin/view/EGEE/MsgArchitecture#STOMP

James Casey just build and produced rpms for stomp.py 2.0.1 which works on python >= 2.3. It’s now in our test repositories for EGEE-SA1 for SL4 & SL5 : https://twiki.cern.ch/twiki/bin/view/EGEE/EGEESA1PackageRepository