]> jspc29.x-matter.uni-frankfurt.de Git - hadesicinga.git/commitdiff
JAM: excluded eventbuilder 16 in icinga checks. This ioc is deactivated for BNET...
authormanaged by Chef via sys_accounts recipe <root@lxhadeb06.gsi.de>
Wed, 18 Apr 2018 10:55:33 +0000 (12:55 +0200)
committermanaged by Chef via sys_accounts recipe <root@lxhadeb06.gsi.de>
Wed, 18 Apr 2018 10:55:33 +0000 (12:55 +0200)
Under construction, still to be changed for new EB servers ;-)

icinga/objects/hosts_eb_servers.cfg

index b4c6d7f22ea117fb8718035d4f8695a13e881e63..a1e9ea14458eccfbba6db7df966c4837a4e992c7 100644 (file)
@@ -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{