Submodules module

Script for parsing the dbview (or other) service log files and re-doing the requests the url to a local service

only GET requests are supported

The scripts assumes that a (dbview) web service is running on localhost:8080, run one with :

awe $AWEPIPE/common/services/general/ -t -h localhost -p 8080, verbose=0) module

Script for parsing the data server status page.

This script can be used by nagios to query data servers.

class, port, verbose=False)

Bases: object


return statistics for the set data server


Bases: html.parser.HTMLParser

handle_starttag(tag, attrs)

convert bytes unit string to number module

Generate nagios config files

Return the nagios contact given the domain. If domain is unknown use default_contact, port, service_groups), alias, address, service_groups, check=1), host_name, port, path, service_groups), port, service_groups) module

Script for testing web services, the main page is requested and the time is measured. If the request takes longer then a defined maximum a mail is send., msg, subject)

mail the messages, symbol, filename, max_y)

make plot of the coords, to_print=False, to_plot=True)

parse the stats file, to_write, to_stats)

ping the services and write retrieve times, stats)

make plots of the stats


Bases: threading.Thread

class to ‘ping’ a web service

run() module

List of Astro/Lofar/Muse WISE services.

This list can be used by and

Format is a dictionary :

services = {
(domain, type) : [service_url_1, service_url_2, …], …


return all data servers

Module contents