From 2525c49b685d9fa167c216b6b024d91e911bc195 Mon Sep 17 00:00:00 2001 From: managed by Chef via sys_accounts recipe Date: Wed, 18 Apr 2018 12:55:33 +0200 Subject: [PATCH] JAM: excluded eventbuilder 16 in icinga checks. This ioc is deactivated for BNET setup Under construction, still to be changed for new EB servers ;-) --- icinga/objects/hosts_eb_servers.cfg | 42 +++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/icinga/objects/hosts_eb_servers.cfg b/icinga/objects/hosts_eb_servers.cfg index b4c6d7f..a1e9ea1 100644 --- a/icinga/objects/hosts_eb_servers.cfg +++ b/icinga/objects/hosts_eb_servers.cfg @@ -286,14 +286,14 @@ define service{ - ####### 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 @@ -302,6 +302,26 @@ define service{ } #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 @@ -420,12 +440,12 @@ define service{ 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 +# } @@ -455,7 +475,7 @@ define servicegroup{ 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{ -- 2.43.0