User Tools

Site Tools


software:openmonica

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
software:openmonica [2011/10/26 06:37]
127.0.0.1 external edit
software:openmonica [2012/01/25 01:42] (current)
Jamie McCallum
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/pages/software/openmonica.txt · Last modified: 2012/01/25 01:42 by Jamie McCallum