Download TIMaCS User
Transcript
Tools for Intelligent System Management of Very Large Computing Systems 5.1.1 channel_dumper – a tool to listen to an AMQP-channel A tool that can attach to a particular AMQP channel, subscribe with a topic and dump every message it receives. In normal mode only the TIMaCS specific payload of the messages is dumped in a readable format, as used inside the monitoring component. In "raw" mode the entire AMQP message is displayed. Usage: channel_dumper [options] Options: -h, --help show this help message and exit --channel=CHANNEL URL of channel to listen to --raw Dump raw AMQP messages --topic=TOPIC topic to subscribe, default matches all topics 5.1.2 RPC for listing the running threads TIMaCS provides a remote procedure call for listing the running threads. Usage: python direct_rpc_client.py localhost list_threads or nc localhost 9450 list_threads 5.1.3 RPC to display channel statistics TIMaCS provides a remote procedure call for displaying channel statistics. Usage: PYTHONPATH=... direct_rpc_client.py localhost channel_stats 5.2 Monitoring The TIMaCS Monitoring Infrastructure is built out of following components and abstractions: 1. Channel: An abstraction for communication paths between monitoring components. Uses topic based publish/subscribe semantics and currently implements a local channel (usable among threads inside the python process) and an AMQP channel. 2. Importer: Generic metrics publisher class from which all metric generators should inherit. Publishes to one or more channels with a hierarchy-dependent topic. Monitoring 38/77