# restart eventbuilder epics if state is critical after 3 attempts
define command {
command_name restart_eb_epics
- command_line $USER1$/my_restart_handler.pl -m hadaq@lxhadesdaq -s /home/hadaq/trbsoft/daq/evtbuild/start_eb_gbe.pl -a "-i start -n 1-16" -x $SERVICESTATE$ -y $SERVICESTATETYPE$ -z $SERVICEATTEMPT$
+ command_line $USER1$/my_restart_handler.pl -m hadaq@lxhadesdaq -s /home/hadaq/trbsoft/daq/evtbuild/start_eb_iocs.sh -a '> /dev/null 2>&1' -x $SERVICESTATE$ -y $SERVICESTATETYPE$ -z $SERVICEATTEMPT$
}
# restart oracle export processes if state is critical after 3 attempts
define command {
command_name restart_run2oracle
- command_line $USER1$/my_restart_handler.pl -m hadaq@lxhadesdaq -s /home/hadaq/trbsoft/daq/oracle/runinfo2orastart_parallel.sh -a "" -x $SERVICESTATE$ -y $SERVICESTATETYPE$ -z $SERVICEATTEMPT$
+ command_line $USER1$/my_restart_handler.pl -m hadaq@lxhadesdaq -s /home/hadaq/trbsoft/daq/oracle/runinfo2orastart_parallel.sh -a '> /dev/null 2>&1' -x $SERVICESTATE$ -y $SERVICESTATETYPE$ -z $SERVICEATTEMPT$
}
notification_interval 30
notification_options c,r
check_command check_proc_status!50998!daq2ora!
- event_handler restart_process!hadaq!/home/hadaq/trbsoft/daq/oracle/daq2ora_client.pl!"-d -o"!
+ event_handler restart_process!hadaq!/home/hadaq/trbsoft/daq/oracle/daq2ora_client.pl!'-d -o'!
}
# runinfo2ora in one process:
notification_interval 30
notification_options c,u,r
check_command check_proc_by_ssh!hadaq!daq_disks!
- event_handler restart_process!hadaq!/home/hadaq/bin/daq_disks!"-s 10"!
+ event_handler restart_process!hadaq!/home/hadaq/bin/daq_disks!'-a -s 10 > /dev/null 2>&1'!
}
define service{
notification_interval 30
notification_options c,u,r
check_command check_proc_status!50501!cleanup!
- event_handler restart_process!hadaq!/home/hadaq/bin/cleanup.pl!"-d"!
+ event_handler restart_process!hadaq!/home/hadaq/bin/cleanup.pl!'-d > /dev/null 2>&1'!
}
retry_check_interval 1
notification_interval 30
notification_options c,w,r
- check_command check_multi_proc_by_ssh!hadaq!SCREEN!4!CRITICAL!
- event_handler restart_eb_epics
+ check_command check_multi_proc_by_ssh!hadaq!SCREEN!4!CRITICAL!
}
-
+# disabled eventhandler until it is really working JAM
+#event_handler restart_eb_epics
## direct check of running iocs with fine granularity: