address 192.168.100.15
}
-
+define host{
+ use eb-server ; 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
define hostgroup{
hostgroup_name eb-servers
alias EB Servers
- members lxhadeb01,lxhadeb02,lxhadeb03,lxhadeb04, lxhadeb05
+ members lxhadeb01,lxhadeb02,lxhadeb03,lxhadeb04,lxhadeb05,lxhadeb06
+}
+
+define hostgroup{
+ hostgroup_name eb-servers-active
+ alias active EB Servers
+ members lxhadeb02,lxhadeb03,lxhadeb04,lxhadeb05
}
## put lxhadesdaq into hostgroup for better display in web interface JAM
define service{
use remote-service
- hostgroup_name eb-servers
+ hostgroup_name eb-servers-active
service_description daq_disks
normal_check_interval 10
retry_check_interval 1
define service{
use remote-service
- hostgroup_name eb-servers
+ hostgroup_name eb-servers-active
service_description disks cleanup
normal_check_interval 10
retry_check_interval 1
}
+####### here check iocs for eventbuilders:
+
+define service{
+ use remote-service
+ hostgroup_name eb-servers-active
+ service_description EB-EPICS 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!4!WARNING!
+ }
+
+
+
+## direct check of running iocs with fine granularity:
+
+
+
+####### EB Server 1:
+define service{
+ use remote-service
+ host_name lxhadeb05
+ service_description EB01-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb01:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb05
+ service_description EB05-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb05:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb05
+ service_description EB09-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb09:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb05
+ service_description EB13-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb13:status!1
+ }
+
+
+####### EB Server 2:
+define service{
+ use remote-service
+ host_name lxhadeb02
+ service_description EB02-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb02:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb02
+ service_description EB06-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb06:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb02
+ service_description EB10-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb10:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb02
+ service_description EB14-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb14:status!1
+ }
+
+
+####### EB Server 3:
+define service{
+ use remote-service
+ host_name lxhadeb03
+ service_description EB03-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb03:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb03
+ service_description EB07-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb07:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb03
+ service_description EB11-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb11:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb03
+ service_description EB15-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb15:status!1
+ }
+
+
+####### EB Server 4:
+define service{
+ use remote-service
+ host_name lxhadeb04
+ service_description EB04-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb04:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb04
+ service_description EB08-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb08:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb04
+ service_description EB12-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb12:status!1
+ }
+
+define service{
+ use remote-service
+ host_name lxhadeb04
+ service_description EB16-status
+ normal_check_interval 10
+ retry_check_interval 2
+ notification_interval 30
+ notification_options c,u,r
+ check_command check_epics_pv!hadaq!HAD:eb16:status!1
+ }
+
+
+
+
+
+
#--- HARD DISK TEST service group
define servicegroup{
define servicegroup{
servicegroup_name EB-disks
- alias Eventbuilder data disk balancing/cleanup
+ alias Eventbuilder disks balancing and cleanup
members *,daq_disks,*,disks cleanup;
}
+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;
+ }
+
######### here all data disks: