]> jspc29.x-matter.uni-frankfurt.de Git - hadesicinga.git/commitdiff
JAM: added new config file for dcs servers
authormanaged by Chef via sys_accounts recipe <root@lxhadeb06.gsi.de>
Thu, 1 Mar 2018 11:47:02 +0000 (12:47 +0100)
committermanaged by Chef via sys_accounts recipe <root@lxhadeb06.gsi.de>
Thu, 1 Mar 2018 11:47:02 +0000 (12:47 +0100)
icinga/objects/hosts_dcs_servers.cfg [new file with mode: 0644]

diff --git a/icinga/objects/hosts_dcs_servers.cfg b/icinga/objects/hosts_dcs_servers.cfg
new file mode 100644 (file)
index 0000000..d8d3e72
--- /dev/null
@@ -0,0 +1,117 @@
+###############################################################################
+# Config File for Monitorng EB Servers
+#
+# HOST DEFINITIONS
+###############################################################################
+
+
+define host{
+       use                     eb-server   ; 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
+       host_name               lxhaddcs03
+       alias                   lxhaddcs03
+       address                 192.168.100.233
+}
+
+define host{
+       use                     eb-server   ; 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
+       host_name               lxhaddcs05
+       alias                   lxhaddcs05
+       address                 192.168.100.235
+}
+
+define host{
+       use                     eb-server   ; Name of host template to use
+       host_name               lxhaddcs06
+       alias                   lxhaddcs06
+       address                 192.168.100.236
+}
+
+
+
+
+
+
+
+
+
+
+
+
+###############################################################################
+# HOST GROUP DEFINITION
+###############################################################################
+
+
+# all Detector control system  servers
+define hostgroup{
+        hostgroup_name  dcs-servers  
+        alias           Dector Control System Servers 
+        members         lxhaddcs02,lxhaddcs03,lxhaddcs04,lxhaddcs05,lxhaddcs06
+}
+
+
+
+
+
+
+###############################################################################
+# SERVICE DEFINITIONS
+###############################################################################
+
+#define service{
+#        use                             ping-service         ; Name of service template to use
+#        hostgroup_name                  eb-servers
+#        service_description             PING
+#        check_command                   check_ping!100.0,20%!500.0,60%
+#}
+
+
+
+
+
+
+
+
+
+
+define service{
+        use                             remote-service         ; Name of service template to use
+        hostgroup_name                  dcs-servers
+        service_description             SSH
+        check_command                   check_ssh
+        }
+
+# remote cpu load
+define service{
+       use                             generic-service
+       hostgroup_name                  dcs-servers
+       service_description             CPU LOAD
+       normal_check_interval           5
+       retry_check_interval            1
+       notification_interval           120
+       check_command                   check_load_by_ssh!hadaq!0.9!0.8!0.8!0.9!0.95!0.99!
+       }
+
+
+
+
+
+
+
+
+
+