From e97d11855033476cfb832ac0a286d5f38b733860 Mon Sep 17 00:00:00 2001 From: Hades DAQ Date: Wed, 21 Mar 2018 13:54:02 +0100 Subject: [PATCH] update some links and board addresses in hmon --- hmon/QA.pm | 8 ++++---- hmon/doc/server-icinga.htt | 2 +- hmon/hmon_mdc_temp.pl | 2 +- hmon/index.cgi | 2 +- hmon/start.sh | 10 +++++----- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/hmon/QA.pm b/hmon/QA.pm index 0c1ab3f..60a176f 100644 --- a/hmon/QA.pm +++ b/hmon/QA.pm @@ -77,10 +77,10 @@ our @CPULimits = (95, 100, 100); our @TimeoutLimits = (0, 0, 1); our @LinkErrLimits = (50, 500, 1000); our @MdcEndpMissingLimits = (0, 0, 1); -our @RichEndpMissingLimits = (0, 30, 30); #!!!! +our @RichEndpMissingLimits = (0, 2, 4); #!!!! our @TofEndpMissingLimits = (0, 0, 0); our @RpcEndpMissingLimits = (0, 0, 0); -our @OtherEndpMissingLimits = (0, 30, 30);#!!! +our @OtherEndpMissingLimits = (0, 2, 4);#!!! our @EBDeltaRateLimits = (10, 15, 25); our $TrgCheckPolarity = 1; our @Eventsbroken = (.5,5,10); @@ -102,11 +102,11 @@ use constant {CTSAddress => 0x0003}; # Missing Boards ############################################################################### -our @mdc_boards_removed =(0x2257, 0x2029); # 2233 added 2014-08-28 , 2203 at 2014/09/03, 2029 2014/09/23 +our @mdc_boards_removed =(); #(0x2257, 0x2029); # 2233 added 2014-08-28 , 2203 at 2014/09/03, 2029 2014/09/23 our @mdc_chambers_removed =(); our @rich_boards_removed =(); our @tof_boards_removed =(); -our @rpc_boards_removed =(); +our @rpc_boards_removed =(0x8a00); our @other_boards_removed =(); diff --git a/hmon/doc/server-icinga.htt b/hmon/doc/server-icinga.htt index 72ae5de..850c645 100644 --- a/hmon/doc/server-icinga.htt +++ b/hmon/doc/server-icinga.htt @@ -7,7 +7,7 @@ This field shows if the Icinga Server is up and checks its status.

In case of an error (red field), please take a look to -the Icinga tactical overview. An eMail is automatically sent to a DAQ-expert, +the Icinga tactical overview. An eMail is automatically sent to a DAQ-expert, who should know how to proceed.

A DAQ restart will not change the situation.

An overview of the different servers and services monitored is given in the HADES Wiki. diff --git a/hmon/hmon_mdc_temp.pl b/hmon/hmon_mdc_temp.pl index 6638e35..3b3559c 100755 --- a/hmon/hmon_mdc_temp.pl +++ b/hmon/hmon_mdc_temp.pl @@ -83,7 +83,7 @@ while (1) { if($qastate >= QA::ERROR || ( $data->{'TempAlarmEPICS'}->{'val'} > 0 ) ) { - if($mailerrstatecnt++ >= 15) { + if($mailerrstatecnt++ >= 60) { Hmon::SendEmail('j.michel@gsi.de,c.wendisch@gsi.de',"Error: MDC Temperature too high","MDC temperatures are too high: \n$str"); $mailerrstatecnt = 0; diff --git a/hmon/index.cgi b/hmon/index.cgi index 68cfe9a..feb552e 100755 --- a/hmon/index.cgi +++ b/hmon/index.cgi @@ -35,7 +35,7 @@ function openwin(url) {

diff --git a/hmon/start.sh b/hmon/start.sh index cc311fc..009f626 100755 --- a/hmon/start.sh +++ b/hmon/start.sh @@ -10,7 +10,7 @@ echo " Renewing tunnels and environment..." pgrep -f 'ssh -f -R 8888' >/dev/null if [ $? -eq 1 ]; then echo " No tunnel found, digging new one"; -ssh -f -R 8888:hades33.gsi.de:80 -R 3060:hades33.gsi.de:80 -R 8889:hades33.gsi.de:1234 -R 9999:lxhadeb06.gsi.de:80 cerberus.x-matter.uni-frankfurt.de -N & +ssh -f -R 8888:hades33.gsi.de:80 -R 3060:hades33.gsi.de:80 -R 8889:hades33.gsi.de:1234 -R 9999:lxhadeb06p:80 cerberus.x-matter.uni-frankfurt.de -N & fi killall -f speakdaemon.pl @@ -28,11 +28,11 @@ mkdir `pwd`/vertex mkdir `pwd`/pion -DISPLAY=:0 ssh -f -X lxhadeb06 "ping -i 100 lxhadesdaqp" &>/dev/null & +DISPLAY=:0 ssh -f -X lxhadeb06p "ping -i 100 lxhadesdaqp" &>/dev/null & -sshfs -o allow_other hades-qa@lxhadeb06:/home/hades-qa/online/jun14/pics/vertex `pwd`/vertex -sshfs -o allow_other hades-qa@lxhadeb06:/home/hades-qa/online/aug14/pics `pwd`/qa -sshfs -o allow_other hadaq@lxhadeb06:/data01/tmp/ `pwd`/pion +sshfs -o allow_other hades-qa@lxhadeb06p:/home/hades-qa/online/jun14/pics/vertex `pwd`/vertex +sshfs -o allow_other hades-qa@lxhadeb06p:/home/hades-qa/online/aug14/pics `pwd`/qa +sshfs -o allow_other hadaq@lxhadeb06p:/data01/tmp/ `pwd`/pion echo " Linking files to server..." -- 2.43.0