From 4b83eff054844281ae66a20986cedf3299c65ebc Mon Sep 17 00:00:00 2001 From: managed by Chef via sys_accounts recipe Date: Thu, 1 Mar 2018 12:47:02 +0100 Subject: [PATCH] JAM: added new config file for dcs servers --- icinga/objects/hosts_dcs_servers.cfg | 117 +++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 icinga/objects/hosts_dcs_servers.cfg diff --git a/icinga/objects/hosts_dcs_servers.cfg b/icinga/objects/hosts_dcs_servers.cfg new file mode 100644 index 0000000..d8d3e72 --- /dev/null +++ b/icinga/objects/hosts_dcs_servers.cfg @@ -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! + } + + + + + + + + + + -- 2.43.0