User Tools

Site Tools


software:openmonica

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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:openmonica [2011/08/05 05:50]
Warren Hankey
software:openmonica [2020/07/13 01:52] (current)
Warren Hankey
Line 4: Line 4:
  
 **Configuration and Building** **Configuration and Building**
 +(ON WHICH COMPUTERS DOES SERVER RUN? One on each pcfs machine (also newsmerd, sille and hobart)?\\
 Configuration of MoniCA is done by editing the files in the config directory under openMonica2. After configuration,​ you need to build the server using the '​ant'​ command, and then rerun MoniCA. The easiest way to do this is with the system service Monica.monica:​ Configuration of MoniCA is done by editing the files in the config directory under openMonica2. After configuration,​ you need to build the server using the '​ant'​ command, and then rerun MoniCA. The easiest way to do this is with the system service Monica.monica:​
  
Line 21: Line 21:
 At Hobart, MoniCA also connects to the MET3 sensor in the same way as the field system, and the site temperature,​ pressure and humidity comes from that sensor. At Hobart, MoniCA also connects to the MET3 sensor in the same way as the field system, and the site temperature,​ pressure and humidity comes from that sensor.
  
 +**Updating monitor points**
 +If the response from a monitor point changes (e.g, if additional variables are returned) Monica will ignore these until it is recompiled with the correct monitor-points.txt settings. For the servers (pcfshb, etc), the relevant file is ''/​usr2/​AuscopeUtils/​monitoring/​openMonica2/​config/​monitor-points.txt''​. The format of the lines is fairly clear (described in detail [[http://​code.google.com/​p/​open-monica/​wiki/​MonitorPointsFileFormat|here]]). For additional returned variables, use the current configuration as a guide. Once the ''​monitor-points.txt''​ file is correct, run the follwing commands to generate a new open-monica.jar file
 +
 +''/​etc/​init.d/​Monica.monica stop''​\\
 +''​cd /​usr2/​AuscopeUtils/​monitoring/​openMonica2/''​\\
 +''​ant''​
 +
 +If there are no reported errors, restart the monica server with ''/​etc/​init.d/​Monica.monica start''​. From here on, the new variables will be logged into the Monica database.  ​
 +
 +To be able to monitor the new variables, you will also need to edit the monitor points on ops-serv2. The relevant file on ops-serv2 is ''/​usr2/​AuscopeUtils/​monitoring/​oMonica/​config.pcfshb/​monitor-points.txt''​. Stop any processes using open-monica.jar & rebuild it with 
  
 +''​cd /​usr2/​AuscopeUtils/​monitoring/​oMonica/''​\\
 +''​ant''​
  
 +It should rebuild 4 jar files and exit cleanly. Start the Monica client & check that you can monitor the new variables. ​
 ====== Below this line is the old information ====== ====== Below this line is the old information ======
  
/home/www/auscope/opswiki/data/attic/software/openmonica.1312523406.txt.gz · Last modified: 2011/10/26 06:37 (external edit)