-
####### here check iocs for eventbuilders:
# there must be exactly 4 processes on any active EB server
-# if not, we will restart _all_ iocs on all machines
+# if not, we will restart _all_ iocs on all machines (deactivated !)
define service{
use remote-service
- hostgroup_name eb-servers-active
- service_description EB-EPICS procs
+# hostgroup_name eb-servers-active
+ host_name lxhadeb05, lxhadeb02, lxhadeb03
+ service_description EB-EPICS 4 procs
normal_check_interval 10
retry_check_interval 1
notification_interval 30
}
#event_handler restart_eb_epics
+####### here check iocs for eventbuilders:
+# for lxhadeb04 we have only 3 processes (skip EB16 for BNET)n 2018
+# if not, we will restart _all_ iocs on all machines (deactivated!)
+define service{
+ use remote-service
+# hostgroup_name eb-servers-active
+ host_name lxhadeb04
+ service_description EB-EPICS 3 procs
+ normal_check_interval 10
+ retry_check_interval 1
+ notification_interval 30
+ notification_options c,w,r
+ check_command check_multi_proc_by_ssh!hadaq!SCREEN!3!CRITICAL!
+ }
+ #event_handler restart_eb_epics
+
+
+
+
+
## direct check of running iocs with fine granularity:
# note: these will give critical if ioc is there, but eb process is not
# these will give unknown if ioc is not available
check_command check_epics_pv!hadaq!HAD:eb12:status!1!10012
}
-define service{
- use eventbuilder-status
- host_name lxhadeb04
- service_description EB16-status
- check_command check_epics_pv!hadaq!HAD:eb16:status!1!10016
- }
+#define service{
+# use eventbuilder-status
+# host_name lxhadeb04
+# service_description EB16-status
+# check_command check_epics_pv!hadaq!HAD:eb16:status!1!10016
+# }
define servicegroup{
servicegroup_name EB-epics
alias Eventbuilder EPICS
- members *,EB-EPICS procs,*,EB01-status,*,EB02-status,*,EB03-status,*,EB04-status,*,EB05-status,*,EB06-status,*,EB07-status,*,EB08-status,*,EB09-status,*,EB10-status,*,EB11-status,*,EB12-status,*,EB13-status,*,EB14-status,*,EB15-status,*,EB16-status;
+ members *,EB-EPICS 4 procs,*,EB-EPICS 3 procs,*,EB01-status,*,EB02-status,*,EB03-status,*,EB04-status,*,EB05-status,*,EB06-status,*,EB07-status,*,EB08-status,*,EB09-status,*,EB10-status,*,EB11-status,*,EB12-status,*,EB13-status,*,EB14-status,*,EB15-status;
}
define servicegroup{