]> jspc29.x-matter.uni-frankfurt.de Git - hadesicinga.git/commitdiff
add contactgroup for all dcs services (P.Zumbruchs request) - to be tested
authormanaged by Chef via sys_accounts recipe <root@lxhadeb06.gsi.de>
Mon, 30 Apr 2018 10:14:47 +0000 (12:14 +0200)
committermanaged by Chef via sys_accounts recipe <root@lxhadeb06.gsi.de>
Mon, 30 Apr 2018 10:14:47 +0000 (12:14 +0200)
added new eventbuilder servers. not active yet, todo

icinga/objects/contacts.cfg
icinga/objects/daq2icinga.pl
icinga/objects/hosts_dcs_servers.cfg
icinga/objects/hosts_eb_servers.cfg
icinga/objects/hosts_etrax.cfg
icinga/objects/hosts_hades.cfg
icinga/objects/templates.cfg

index 1a984bdc2beb6c27bd330f10a750f42f7dec5a06..a23539a27929792ffa3fa8da63c8ddf70dfea50a 100644 (file)
@@ -60,16 +60,25 @@ define contact{
         alias                           Jan Michel             ; Full name of user
         email                           michel@physik.uni-frankfurt.de ; 
         }
+define contact{
+        contact_name                    ingo            ; Short name of user
+        use                             generic-contact         ; Inherit default values from generic-contact template (defined above)
+        alias                           Ingo Froehlich          ; Full name of user
+        email                           Froehlich@physik.uni-frankfurt.de;
+        }
 
 define contact{
-        contact_name                    ingo           ; Short name of user
+        contact_name                    peter          ; Short name of user
        use                             generic-contact         ; Inherit default values from generic-contact template (defined above)
-        alias                           Ingo Froehlich         ; Full name of user
-        email                           Froehlich@physik.uni-frankfurt.de; 
+        alias                           Peter Zumbruch         ; Full name of user
+        email                           p.zumbruch@gsi.de; 
         }
 
 
 
+
+
+
 ###############################################################################
 ###############################################################################
 #
@@ -88,3 +97,13 @@ define contactgroup{
         }
 
 # members                 joern,michael,ludwig,jan,ingo
+
+
+define contactgroup{
+        contactgroup_name       dcs
+        alias                   Detector Control System admins
+        members                 peter
+        }
+
+
+
index 88cecdd6644b0be9764075100e7bcd5fad74faf9..217e30b7e0dd0866b3cd47c019e8f4d7136d49c2 100755 (executable)
@@ -88,6 +88,10 @@ foreach my $component(@subsystems)
                                print      OUTFILE "     use         etrax\n";
                                my $hdef = sprintf("     host_name   %s \; assigned to %s \n",$nodename,$cid);
                                print OUTFILE $hdef;
+                               my $dispnm=$nodename;
+                               $dispnm=~ s/etraxp/etrax/;
+                               my $ddef = sprintf("     display_name  %s \n",$dispnm);
+                                print OUTFILE $ddef;
                                my $adef = sprintf("     alias   %s_%s \n",$nodename,$cid);
                                print OUTFILE $adef;
                                # to do: figure out ip from hostname
@@ -175,9 +179,13 @@ print OUTFILE "#################################################################
 foreach my $scnode (@scsnodes) {
     print OUTFILE "\n\# HOST DEFINITION $scnode \n";
     print OUTFILE "define host{\n";
-    print      OUTFILE "     use         etrax\n";
+    print      OUTFILE "     use         etrax-dcs\n";
+    my $dispnm=$scnode;
+    $dispnm=~ s/etraxp/etrax/;
     my $hdef = sprintf("     host_name   %s \; assigned to slow control system\n",$scnode);
     print OUTFILE $hdef;
+    my $ddef = sprintf("     display_name   %s \n",$dispnm);   
+    print OUTFILE $ddef;
     my $adef = sprintf("     alias   %s_scs \n",$scnode);
     print OUTFILE $adef; 
     print OUTFILE "}\n"; 
index d8d3e72ac761428c886b441aa7b3483f9481a83a..f36f0f99563f2a444b94f8b1d6fb1f67f29f285d 100644 (file)
@@ -6,35 +6,35 @@
 
 
 define host{
-       use                     eb-server   ; Name of host template to use
+       use                     hades-dcs ; Name of host template to use
        host_name               lxhaddcs02
        alias                   lxhaddcs02
        address                 192.168.100.232
 }
 
 define host{
-       use                     eb-server   ; Name of host template to use
+       use                     hades-dcs   ; Name of host template to use
        host_name               lxhaddcs03
        alias                   lxhaddcs03
        address                 192.168.100.233
 }
 
 define host{
-       use                     eb-server   ; Name of host template to use
+       use                     hades-dcs   ; Name of host template to use
        host_name               lxhaddcs04
        alias                   lxhaddcs04
        address                 192.168.100.234
 }
 
 define host{
-       use                     eb-server   ; Name of host template to use
+       use                     hades-dcs   ; Name of host template to use
        host_name               lxhaddcs05
        alias                   lxhaddcs05
        address                 192.168.100.235
 }
 
 define host{
-       use                     eb-server   ; Name of host template to use
+       use                     hades-dcs   ; Name of host template to use
        host_name               lxhaddcs06
        alias                   lxhaddcs06
        address                 192.168.100.236
index a1e9ea14458eccfbba6db7df966c4837a4e992c7..2262fb928b37b4ce9c89152c6cade8438ab6edf1 100644 (file)
@@ -40,19 +40,49 @@ define host{
 }
 
 define host{
-       use                     eb-server   ; Name of host template to use
+       use                     hades-dcs   ; Name of host template to use
        host_name               lxhadeb06
        alias                   lxhadeb06
        address                 192.168.100.16
 }
 
 define host{
-       use                     eb-server   ; Name of host template to use
+       use                     hades-dcs   ; Name of host template to use
        host_name               lxhadeb07
        alias                   lxhadeb07
        address                 140.181.80.125
 }
 
+define host{
+       use                     eb-server   ; Name of host template to use
+       host_name               lxhadeb08
+       alias                   lxhadeb08
+       address                 192.168.100.8
+}
+
+
+define host{
+       use                     eb-server   ; Name of host template to use
+       host_name               lxhadeb09
+       alias                   lxhadeb09
+       address                 192.168.100.9
+}
+
+define host{
+       use                     eb-server   ; Name of host template to use
+       host_name               lxhadeb10
+       alias                   lxhadeb10
+       address                 192.168.100.10
+}
+
+
+
+
+
+
+
+
+
 
 define host{
        use                     eb-server   ; Name of host template to use
@@ -71,7 +101,7 @@ define host{
 define hostgroup{
         hostgroup_name  eb-servers  
         alias           EB Servers 
-        members         lxhadeb02,lxhadeb03,lxhadeb04,lxhadeb05,lxhadeb06,lxhadeb07
+        members         lxhadeb02,lxhadeb03,lxhadeb04,lxhadeb05,lxhadeb06,lxhadeb07,lxhadeb08,lxhadeb09,lxhadeb10
 }
 
 # Eventbuilder servers in use for eventbuilding
@@ -79,6 +109,7 @@ define hostgroup{
         hostgroup_name  eb-servers-active  
         alias           active EB Servers 
         members         lxhadeb02,lxhadeb03,lxhadeb04,lxhadeb05
+#,lxhadeb08,lxhadeb09,lxhadeb10
 }
 
 #Eventbuilder servers equipped with all disks (preliminary, suppress errors)
@@ -263,8 +294,8 @@ define service{
 
 define service{
        use                             remote-service
-       hostgroup_name                  eb-servers-active 
-       host_name                       lxhadeb06
+       #hostgroup_name                  eb-servers-active 
+       host_name                       lxhadeb02,lxhadeb03,lxhadeb04,lxhadeb05,lxhadeb06
        service_description             adaptec
        normal_check_interval           10
        retry_check_interval            1
index efea63b227c7ee94cb155246878afd029e4efd96..69956682bdc8945903997749a69f6efd90a83203 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 # Config File for Monitoring etrax nodes
 # This file was automatically generated from trb.db files by daq2icinga.pl
-# Creation time: 16.03.2018 at 09:42:59
+# Creation time: 30.04.2018 at 11:01:02
 #
 # HOST DEFINITIONS
 ###############################################################################
@@ -14,6 +14,7 @@
 define host{
      use         etrax
      host_name   etraxp107 ; assigned to blr 
+     display_name  etrax107 
      alias   etraxp107_blr 
 }
 
@@ -21,6 +22,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp119 ; assigned to cts 
+     display_name  etrax119 
      alias   etraxp119_cts 
 }
 
@@ -28,6 +30,7 @@ define host{
 define host{
      use         etrax
      host_name   hadesp31 ; assigned to pexor 
+     display_name  hadesp31 
      alias   hadesp31_pexor 
 }
 define hostgroup{
@@ -44,6 +47,7 @@ define hostgroup{
 define host{
      use         etrax
      host_name   etraxp062 ; assigned to tof 
+     display_name  etrax062 
      alias   etraxp062_tof 
 }
 
@@ -51,6 +55,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp064 ; assigned to tof 
+     display_name  etrax064 
      alias   etraxp064_tof 
 }
 
@@ -58,6 +63,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp072 ; assigned to tof 
+     display_name  etrax072 
      alias   etraxp072_tof 
 }
 
@@ -65,6 +71,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp079 ; assigned to tof 
+     display_name  etrax079 
      alias   etraxp079_tof 
 }
 
@@ -72,6 +79,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp081 ; assigned to tof 
+     display_name  etrax081 
      alias   etraxp081_tof 
 }
 
@@ -79,6 +87,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp084 ; assigned to tof 
+     display_name  etrax084 
      alias   etraxp084_tof 
 }
 
@@ -86,6 +95,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp086 ; assigned to tof 
+     display_name  etrax086 
      alias   etraxp086_tof 
 }
 define hostgroup{
@@ -102,13 +112,23 @@ define hostgroup{
 define host{
      use         etrax
      host_name   etraxp031 ; assigned to rpc 
+     display_name  etrax031 
      alias   etraxp031_rpc 
 }
 
+# HOST DEFINITION etraxp034 
+define host{
+     use         etrax
+     host_name   etraxp034 ; assigned to rpc 
+     display_name  etrax034 
+     alias   etraxp034_rpc 
+}
+
 # HOST DEFINITION etraxp040 
 define host{
      use         etrax
      host_name   etraxp040 ; assigned to rpc 
+     display_name  etrax040 
      alias   etraxp040_rpc 
 }
 
@@ -116,6 +136,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp051 ; assigned to rpc 
+     display_name  etrax051 
      alias   etraxp051_rpc 
 }
 
@@ -123,6 +144,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp052 ; assigned to rpc 
+     display_name  etrax052 
      alias   etraxp052_rpc 
 }
 
@@ -130,6 +152,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp053 ; assigned to rpc 
+     display_name  etrax053 
      alias   etraxp053_rpc 
 }
 
@@ -137,20 +160,23 @@ define host{
 define host{
      use         etrax
      host_name   etraxp054 ; assigned to rpc 
+     display_name  etrax054 
      alias   etraxp054_rpc 
 }
 
-# HOST DEFINITION etraxp056 
+# HOST DEFINITION etraxp055 
 define host{
      use         etrax
-     host_name   etraxp056 ; assigned to rpc 
-     alias   etraxp056_rpc 
+     host_name   etraxp055 ; assigned to rpc 
+     display_name  etrax055 
+     alias   etraxp055_rpc 
 }
 
 # HOST DEFINITION etraxp059 
 define host{
      use         etrax
      host_name   etraxp059 ; assigned to rpc 
+     display_name  etrax059 
      alias   etraxp059_rpc 
 }
 
@@ -158,6 +184,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp061 ; assigned to rpc 
+     display_name  etrax061 
      alias   etraxp061_rpc 
 }
 
@@ -165,6 +192,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp063 ; assigned to rpc 
+     display_name  etrax063 
      alias   etraxp063_rpc 
 }
 
@@ -172,6 +200,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp065 ; assigned to rpc 
+     display_name  etrax065 
      alias   etraxp065_rpc 
 }
 
@@ -179,6 +208,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp067 ; assigned to rpc 
+     display_name  etrax067 
      alias   etraxp067_rpc 
 }
 
@@ -186,6 +216,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp074 ; assigned to rpc 
+     display_name  etrax074 
      alias   etraxp074_rpc 
 }
 
@@ -193,6 +224,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp075 ; assigned to rpc 
+     display_name  etrax075 
      alias   etraxp075_rpc 
 }
 
@@ -200,6 +232,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp078 ; assigned to rpc 
+     display_name  etrax078 
      alias   etraxp078_rpc 
 }
 
@@ -207,6 +240,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp080 ; assigned to rpc 
+     display_name  etrax080 
      alias   etraxp080_rpc 
 }
 
@@ -214,6 +248,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp083 ; assigned to rpc 
+     display_name  etrax083 
      alias   etraxp083_rpc 
 }
 
@@ -221,6 +256,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp085 ; assigned to rpc 
+     display_name  etrax085 
      alias   etraxp085_rpc 
 }
 
@@ -228,6 +264,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp089 ; assigned to rpc 
+     display_name  etrax089 
      alias   etraxp089_rpc 
 }
 
@@ -235,6 +272,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp091 ; assigned to rpc 
+     display_name  etrax091 
      alias   etraxp091_rpc 
 }
 
@@ -242,33 +280,29 @@ define host{
 define host{
      use         etrax
      host_name   etraxp092 ; assigned to rpc 
+     display_name  etrax092 
      alias   etraxp092_rpc 
 }
 
-# HOST DEFINITION etraxp094 
-define host{
-     use         etrax
-     host_name   etraxp094 ; assigned to rpc 
-     alias   etraxp094_rpc 
-}
-
 # HOST DEFINITION etraxp110 
 define host{
      use         etrax
      host_name   etraxp110 ; assigned to rpc 
+     display_name  etrax110 
      alias   etraxp110_rpc 
 }
 
-# HOST DEFINITION etraxp122 
+# HOST DEFINITION etraxp124 
 define host{
      use         etrax
-     host_name   etraxp122 ; assigned to rpc 
-     alias   etraxp122_rpc 
+     host_name   etraxp124 ; assigned to rpc 
+     display_name  etrax124 
+     alias   etraxp124_rpc 
 }
 define hostgroup{
      hostgroup_name  rpc 
      alias           etrax_rpc
-     members etraxp031,etraxp040,etraxp051,etraxp052,etraxp053,etraxp054,etraxp056,etraxp059,etraxp061,etraxp063,etraxp065,etraxp067,etraxp074,etraxp075,etraxp078,etraxp080,etraxp083,etraxp085,etraxp089,etraxp091,etraxp092,etraxp094,etraxp110,etraxp122,etraxp054,etraxp059,etraxp089,etraxp091,etraxp092,etraxp094 
+     members etraxp031,etraxp034,etraxp040,etraxp051,etraxp052,etraxp053,etraxp054,etraxp055,etraxp059,etraxp061,etraxp063,etraxp065,etraxp067,etraxp074,etraxp075,etraxp078,etraxp080,etraxp083,etraxp085,etraxp089,etraxp091,etraxp092,etraxp110,etraxp124,etraxp054,etraxp055,etraxp059,etraxp089,etraxp091,etraxp092 
 }
 
 ###############################################################################
@@ -279,6 +313,7 @@ define hostgroup{
 define host{
      use         etrax
      host_name   etraxp060 ; assigned to wall 
+     display_name  etrax060 
      alias   etraxp060_wall 
 }
 
@@ -286,6 +321,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp090 ; assigned to wall 
+     display_name  etrax090 
      alias   etraxp090_wall 
 }
 
@@ -293,6 +329,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp108 ; assigned to wall 
+     display_name  etrax108 
      alias   etraxp108_wall 
 }
 define hostgroup{
@@ -309,6 +346,7 @@ define hostgroup{
 define host{
      use         etrax
      host_name   etraxp096 ; assigned to hub 
+     display_name  etrax096 
      alias   etraxp096_hub 
 }
 
@@ -316,6 +354,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp101 ; assigned to hub 
+     display_name  etrax101 
      alias   etraxp101_hub 
 }
 
@@ -323,6 +362,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp102 ; assigned to hub 
+     display_name  etrax102 
      alias   etraxp102_hub 
 }
 
@@ -330,6 +370,7 @@ define host{
 define host{
      use         etrax
      host_name   etraxp121 ; assigned to hub 
+     display_name  etrax121 
      alias   etraxp121_hub 
 }
 define hostgroup{
@@ -344,134 +385,105 @@ define hostgroup{
 
 # HOST DEFINITION etraxp231 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   etraxp231 ; assigned to slow control system
+     display_name   etrax231 
      alias   etraxp231_scs 
 }
 
 # HOST DEFINITION etraxp239 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   etraxp239 ; assigned to slow control system
+     display_name   etrax239 
      alias   etraxp239_scs 
 }
 
 # HOST DEFINITION etraxp207 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   etraxp207 ; assigned to slow control system
+     display_name   etrax207 
      alias   etraxp207_scs 
 }
 
 # HOST DEFINITION etraxp230 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   etraxp230 ; assigned to slow control system
+     display_name   etrax230 
      alias   etraxp230_scs 
 }
 
-# HOST DEFINITION etraxp232 
+# HOST DEFINITION etraxp221 
 define host{
-     use         etrax
-     host_name   etraxp232 ; assigned to slow control system
-     alias   etraxp232_scs 
+     use         etrax-dcs
+     host_name   etraxp221 ; assigned to slow control system
+     display_name   etrax221 
+     alias   etraxp221_scs 
 }
 
 # HOST DEFINITION etraxp233 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   etraxp233 ; assigned to slow control system
+     display_name   etrax233 
      alias   etraxp233_scs 
 }
 
 # HOST DEFINITION etraxp222 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   etraxp222 ; assigned to slow control system
+     display_name   etrax222 
      alias   etraxp222_scs 
 }
 
-# HOST DEFINITION etraxp202 
-define host{
-     use         etrax
-     host_name   etraxp202 ; assigned to slow control system
-     alias   etraxp202_scs 
-}
-
-# HOST DEFINITION etraxp238 
-define host{
-     use         etrax
-     host_name   etraxp238 ; assigned to slow control system
-     alias   etraxp238_scs 
-}
-
 # HOST DEFINITION etraxp236 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   etraxp236 ; assigned to slow control system
+     display_name   etrax236 
      alias   etraxp236_scs 
 }
 
-# HOST DEFINITION etraxp201 
-define host{
-     use         etrax
-     host_name   etraxp201 ; assigned to slow control system
-     alias   etraxp201_scs 
-}
-
-# HOST DEFINITION etraxp225 
-define host{
-     use         etrax
-     host_name   etraxp225 ; assigned to slow control system
-     alias   etraxp225_scs 
-}
-
-# HOST DEFINITION etraxp221 
-define host{
-     use         etrax
-     host_name   etraxp221 ; assigned to slow control system
-     alias   etraxp221_scs 
-}
-
 # HOST DEFINITION etraxp204 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   etraxp204 ; assigned to slow control system
+     display_name   etrax204 
      alias   etraxp204_scs 
 }
 
-# HOST DEFINITION etraxp237 
-define host{
-     use         etrax
-     host_name   etraxp237 ; assigned to slow control system
-     alias   etraxp237_scs 
-}
-
 # HOST DEFINITION dreamp04 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   dreamp04 ; assigned to slow control system
+     display_name   dreamp04 
      alias   dreamp04_scs 
 }
 
 # HOST DEFINITION dreamp05 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   dreamp05 ; assigned to slow control system
+     display_name   dreamp05 
      alias   dreamp05_scs 
 }
 
 # HOST DEFINITION dreamp06 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   dreamp06 ; assigned to slow control system
+     display_name   dreamp06 
      alias   dreamp06_scs 
 }
 
 # HOST DEFINITION dreamp09 
 define host{
-     use         etrax
+     use         etrax-dcs
      host_name   dreamp09 ; assigned to slow control system
+     display_name   dreamp09 
      alias   dreamp09_scs 
 }
 
@@ -482,7 +494,7 @@ define host{
 define hostgroup{
      hostgroup_name  scs 
      alias           etrax_scs
-     members etraxp231,etraxp239,etraxp207,etraxp230,etraxp232,etraxp233,etraxp222,etraxp202,etraxp238,etraxp236,etraxp201,etraxp225,etraxp221,etraxp204,etraxp237,dreamp04,dreamp05,dreamp06,dreamp09 
+     members etraxp231,etraxp239,etraxp207,etraxp230,etraxp221,etraxp233,etraxp222,etraxp236,etraxp204,dreamp04,dreamp05,dreamp06,dreamp09 
 }
 
 
index 77a54cfc8c9d8457e9c836c12225d3839819d79a..2fd973755fd1b4c803409828b848afbf99bc95c7 100644 (file)
@@ -174,7 +174,7 @@ define host{
 
 define host{
         name                    e7had2
-        use                     hades-host     ; Name of host template to use
+        use                     hades-dcs     ; Name of host template to use
         host_name               e7had2
         alias                   MDC slow control (e7had2)
         address                 140.181.98.161
@@ -183,7 +183,7 @@ define host{
 
 define host{
         name                    hadsc1
-        use                     hades-host     ; Name of host template to use
+        use                     hades-dcs     ; Name of host template to use
         host_name               hadsc1
         alias                   CAN/SIAM slow control (hadsc1)
         address                 140.181.111.196
@@ -193,7 +193,7 @@ define host{
 
 define host{
         name                    lxir043
-        use                     hades-host     ; Name of host template to use
+        use                     hades-dcs     ; Name of host template to use
         host_name               lxir043
         alias                   MDC CSS (J. Markert))
         address                 140.181.86.212
@@ -321,6 +321,9 @@ define hostgroup{
 ###############################################################################
 
 
+
+#     hostgroup_name             hades-pcs,hades-desktops
+
 define service{
       use                        remote-service
       hostgroup_name             hades-pcs, EPICS-archivers
@@ -329,7 +332,7 @@ define service{
       check_command              check-host-alive
 }
 
-#     hostgroup_name             hades-pcs,hades-desktops
+
 
 
 define service{
@@ -340,22 +343,50 @@ define service{
       check_command              check_raid_by_ssh!hadaq
 }
 
+
 define service{
         use                             remote-service         ; Name of service template to use
         hostgroup_name                  hades-pcs, EPICS-archivers
-       host_name                       lxir043
+        host_name                       lxir043
         service_description             SSH
         check_command                   check_ssh
         }
 
+
+
 define service{
       use                        remote-service
       hostgroup_name             EPICS-archivers
       service_description        CA archiver http 4912
       notifications_enabled      1 ; Suppress direct notification by setting to 0
+      contact_groups             dcs 
       check_command              check_http!"-p 4912"!
 }
 
+
+define service{
+      use                        remote-service
+      hostgroup_name             scs
+      host_name                  lxhadeb06
+#, lxhadeb07
+      service_description        Check EPICS IOC
+      notifications_enabled      1 ; Suppress direct notification by setting to 0
+      contact_groups             dcs
+      check_command              check_epics_pv_local!HAD:IOC:$HOSTDISPLAYNAME$:stats:led!
+}
+
+define service{
+      use                        remote-service
+      host_name                  lxhadeb07
+      service_description        Check EPICS IOC for MDC
+      notifications_enabled      1 ; Suppress direct notification by setting to 0
+      contact_groups             dcs
+      check_command              check_epics_pv_local!HAD:IOC:lxhadeb07_mdc\-dl:stats:led!
+}
+
+
+
+
 #define service{
 #      use                        remote-service
 #      hostgroup_name             EPICS-archivers
@@ -404,11 +435,18 @@ define servicegroup{
         }
 
 define servicegroup{
-        servicegroup_name       Epics CA
-        alias                   Channel Access archiver and data server prozesses
+        servicegroup_name       EPICS CA Archivers
+        alias                   Channel Access archiver and data server processes
 #        members                 *,CA archiver http 4812,*,CA archiver http 4912,*,CA archive data server http 8086
        members                 *,CA archiver http 4912
         }
 
+define servicegroup{
+        servicegroup_name       EPICS IOCs
+        alias                   Check EPICS IOC availability
+        members                 *,Check EPICS IOC,*,Check EPICS IOC for MDC
+        }
+
+
 
 
index da811a4f6d0581fffefea25bb880d675b45ad0a0..04c84f6345ba23241a322cca42030171302eff93 100644 (file)
@@ -150,6 +150,16 @@ define host{
        notification_period     24x7
 }
 
+define host{
+        name                            hades-dcs    ; The name of this host template
+        use                             linux-server
+        check_interval                  3
+        notification_period     24x7
+        notifications_enabled      1 ; Suppress direct notification by setting to 0
+        contact_groups             dcs
+}
+
+
 
 define host{
         name                            etrax    ; The name of this host template
@@ -158,6 +168,16 @@ define host{
        notification_period     24x7
 }
 
+define host{
+        name                            etrax-dcs    ; The name of this host template
+        use                             etrax
+        notifications_enabled      1 ; Suppress direct notification by setting to 0
+       contact_groups             dcs
+}
+
+
+
+
 define host{
         name                            trb3    ; The name of this host template
         use                             linux-server