User Tools

Site Tools


postproc:pcsalarmcont
Program Name

pcsAlarmCont

PCS stream-state

group: TPP table: TPP state: ALARM

Description

pcsAlarmCont provides one of the connection points between the PCS system and the post processing alarm system. For each event found it the configured PCS stream-state, a CMS message is sent to the alarmdec_pp program by means of the alarmevent program.

pcsAlarmCont runs the basic PCS client loop:

  • queries for the next event in its assigned stream-state
  • if an event is found, run alarmevent <evid>
  • if alarmevent succedded, set stream-state event result to 1 and repeat the loop
  • if alarmevent failed, set stream-state event result to 100 and repeat the loop
  • if no event is found, sleep 30 seconds and repeat the loop
Program Location

post-proc systems: /home/ncss/ncpp/bin/

Configuration File

none

Source of Database name
Cron Starter Program
0,10,20,30,40,50 * * * * /home/ncss/ncpp/bin/startPcsTasks
Log File

/home/ncss/ncpp/logs/pcsAlarmCont.log

Other Programs Called
  • /home/ncss/ncpp/bin/alarmsend: checks for existence of event, then calls alarmevent -c /home/ncss/run/params/alarmevent-pp.cfg <evid>
  • /home/ncss/run/bin/alarmevent: publishes CMS message with subject /signals/event/final
postproc/pcsalarmcont.txt · Last modified: 2018/01/09 15:51 by 127.0.0.1