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.
There are two versions: One that will probably only work on AuScope telescopes (and possibly Warkworth) as it contains some station-specific data, and a generic version with no station-specific data. Both versions consist of several pieces of source code and a Makefile. They can be downloaded as compressed tar files here:
On the PCFS, log in as prog
:
cd /usr2/st
tar xzvf mondump.tar.gz
/usr2/st/mondump
cd mondump
mdumpout.c
and change the definition of portno
and/or the server address on line 344hb
(Hobart 12m) by default. Edit mdumpout.c
and change the line strcat(outbuff, "info hb ");
Replace hb
with your antenna's two-letter code.
mondump
:make
mondump
can be tested from the command line:
/usr2/st/mondump/mondump
On the PCFS, log in as prog
:
cd /usr2/st
tar xzvf mondump_nost.tgz
/usr2/st/mondump_nost
cd mondump_nost
mdumpout.c
and change the definition of portno
and/or the server address on line 344hb
(Hobart 12m) by default. Edit mdumpout.c
and change the line strcat(outbuff, "info hb ");
Replace hb
with your antenna's two-letter code.
mondump
:make
mondump
can be tested from the command line:
/usr2/st/mondump_nost/mondump