User Tools

Site Tools


development:dynamicobserving:mondump

This wiki is not maintained! Do not use this when setting up AuScope experiments!

This is an old revision of the document!


mondump

mondump is a program based on the PCFS monit2 software that retrieves monitoring information and sends it to a central server. The information is used by scheduling software to decide how to use the telescope. mondump can be run from the command line or via a PCFS procedure (e.g. midob) if desired, but it is called regularly by dysched.pl to keep the server up to date.

Note that mondump does not send the telescope availability flag which the scheduling software uses to decide whether to include the station or not. This is set and updated by ds_redbutton.pl.

Download

mondump consists of several pieces of source code and a Makefile. It can be downloaded as a compressed tar file here:

Configuration and Installation

On the PCFS, log in as prog:

  1. cd /usr2/st
  2. tar xzvf mondump.tar.gz
    1. This will create a directory called /usr2/st/mondump
  3. cd mondump
    1. This directory contains the code and Makefile you need
    2. By default, the software is configured to send monitoring data to fourier.phys.utas.edu.au on a TCP socket connection on port 63000. If you want to change the destination or port number, edit the code in mdumpout.c and change the definition of portno and/or the server address on line 344
  4. Now compile the software to create a binary called mondump:
    1. make

mondump can be tested from the command line:

/usr2/st/mondump/mondump
/home/www/auscope/opswiki/data/attic/development/dynamicobserving/mondump.1459815061.txt.gz · Last modified: 2016/04/05 00:11 by Jim Lovell