diff options
Diffstat (limited to 'config/pdv')
46 files changed, 1702 insertions, 0 deletions
diff --git a/config/pdv/servers.disabled/20_spec_appserver.cfg b/config/pdv/servers.disabled/20_spec_appserver.cfg new file mode 100644 index 0000000..83d43c4 --- /dev/null +++ b/config/pdv/servers.disabled/20_spec_appserver.cfg @@ -0,0 +1,33 @@ +define hostgroup { + hostgroup_name app-servers + alias Application Servers + register 0 +} + +define service { + use ssh-service + hostgroup_name app-servers + service_description CPU + check_command check_ssh_load!16.0,8.0,4.0!24.0,16.0,8.0 +} + +define service { + use ssh-service + hostgroup_name app-servers + service_description MEMORY + check_command check_ssh_mem!50!80 +} + +define service { + use ssh-service + hostgroup_name app-servers + service_description SWAP + check_command check_ssh_swap!20!10 +} + +define service { + use ssh-service + hostgroup_name app-servers + service_description DISK + check_command check_ssh_all_disks!20%!10% +} diff --git a/config/pdv/servers.disabled/20_spec_cluster.cfg b/config/pdv/servers.disabled/20_spec_cluster.cfg new file mode 100644 index 0000000..1ca04cb --- /dev/null +++ b/config/pdv/servers.disabled/20_spec_cluster.cfg @@ -0,0 +1,34 @@ +define host { + name ib-switch + use switch + check_command check_ib_node!$_HOSTMASTER_IP$ + register 0 + _MASTER_IP 192.168.26.133 +} + +define host { + name ib-server + use ib-switch + register 0 +} + +define host { + name kaas-switch + use ib-switch + register 0 + _MASTER_IP kaas.kit.edu +} + +define host { + name kaas-server + use kaas-switch + register 0 +} + + +# This is not available (really) and I have not found a way to ping IB addresses (without running ib-ping server which will +# not work with switches). Anyway, why we even need that? We can map using normal IP addresses. +define command { + command_name check_ib_node + command_line $USER2$/check_by_ssh -H $ARG1$ -p $ARG2$ -l $ARG3$ -C "/opt/scripts/nagios_ib_node.sh $HOSTADDRESS$" +} diff --git a/config/pdv/servers.disabled/20_spec_compute.cfg b/config/pdv/servers.disabled/20_spec_compute.cfg new file mode 100644 index 0000000..741b594 --- /dev/null +++ b/config/pdv/servers.disabled/20_spec_compute.cfg @@ -0,0 +1,13 @@ +define hostgroup { + hostgroup_name compute-servers + alias Compute Servers +} + +define service { + use ssh-service + hostgroup_name compute-servers + service_description DISK + check_command check_ssh_all_disks!20%!10% +} + + diff --git a/config/pdv/servers.disabled/20_spec_win_nsclients.cfg b/config/pdv/servers.disabled/20_spec_win_nsclients.cfg new file mode 100644 index 0000000..f6def62 --- /dev/null +++ b/config/pdv/servers.disabled/20_spec_win_nsclients.cfg @@ -0,0 +1,26 @@ +define hostgroup { + hostgroup_name nsclients + alias Windows Systems + register 0 +} + +define service { + use pdv-service + hostgroup_name nsclients + service_description CPU + check_command check_nt!CPULOAD!-l 5,80,90 +} + +define service { + use pdv-service + hostgroup_name nsclients + service_description MEMORY + check_command check_nt!MEMUSE!-w 80 -c 90 +} + +define service { + use pdv-service + hostgroup_name nsclients + service_description DISK C: + check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 +} diff --git a/config/pdv/servers.disabled/kaas_cluster.cfg b/config/pdv/servers.disabled/kaas_cluster.cfg new file mode 100644 index 0000000..96aa04c --- /dev/null +++ b/config/pdv/servers.disabled/kaas_cluster.cfg @@ -0,0 +1,51 @@ + + +define host { + host_name kaas-main-switch + use kaas-switch + address 0x248a0703007b3440 + parents kaas +} + +define host { + host_name kaas-storage-1 + use kaas-server + address 0x248a070300e42d91 + parents kaas-main-switch +} + +define host { + host_name kaas-storage-2 + use kaas-server + address 0x248a070300e42ce1 + parents kaas-main-switch +} + +define host { + host_name kaas-storage-3 + use kaas-server + address 0xf452140300706571 + parents kaas-main-switch +} + +define host { + host_name kaas-node-1 + use kaas-server + address 0x248a070300e42d01 + parents kaas-main-switch +} + +define host { + host_name kaas-node-2 + use kaas-server + address 0x248a070300e42d11 + parents kaas-main-switch +} + +define host { + host_name kaas-node-3 + use kaas-server + address 0xf4521403007062d1 + parents kaas-main-switch + +} diff --git a/config/pdv/servers.disabled/pdv_cluster.cfg b/config/pdv/servers.disabled/pdv_cluster.cfg new file mode 100644 index 0000000..1428ed2 --- /dev/null +++ b/config/pdv/servers.disabled/pdv_cluster.cfg @@ -0,0 +1,108 @@ +define host { + host_name ib-data-switch + use ib-switch + address 0x0002c90200454b58 + parents ipepdvarchive +} + +define host { + host_name ib-compute-switch + use ib-switch + address 0x0002c90200469180 + parents ib-data-switch +} + +define host { + host_name ib-upper-switch + use ib-switch + address 0x0002c90200454b58 + parents ib-data-switch +} + +# ipekatrinadei +define host { + host_name ands-storage0 + use ib-server + address 0x0002c90300502d35 + parents ib-data-switch +} + +# ands1 +define host { + host_name ands-storage1 + use ib-server + address 0x000000000000000 + parents ib-data-switch +} + +define host { + host_name ands-virt1 + use ib-server + address 0x000000000000000 + parents ib-upper-switch +} + +define host { + host_name ands-virt2 + use ib-server + address 0x0002c90300f97f01 + parents ib-data-switch +} + +define host { + host_name ands-compute1 + use ib-server + address 0x000000000000000 + parents ib-data-switch +} + +define host { + host_name ands-compute2 + use ib-server + address 0x000000000000000 + parents ib-data-switch +} + +define host { + host_name ands-compute3 + use ib-server + address 0x000000000000000 + parents ib-data-switch +} + +define host { + host_name ands-compute4 + use ib-server + address 0x000000000000000 + parents ib-data-switch +} + + + +define host { + host_name ib-compute1 + use ib-server + address 0x000000000000000 + parents ib-compute-switch +} + +define host { + host_name ib-compute2 + use ib-server + address 0x000000000000000 + parents ib-compute-switch +} + +define host { + host_name ib-compute3 + use ib-server + address 0x000000000000000 + parents ib-compute-switch +} + +define host { + host_name ib-compute4 + use ib-server + address 0x000000000000000 + parents ib-compute-switch +} diff --git a/config/pdv/servers/00__README__ b/config/pdv/servers/00__README__ new file mode 100644 index 0000000..d2b89e3 --- /dev/null +++ b/config/pdv/servers/00__README__ @@ -0,0 +1,24 @@ +Structure +========= + - Network structure is monitored with "host" objects connected using "parent" + properties. + - Service structure is monitored with "service" objects. There is two types + of services: standard and host-specific. For standard services, "hostgroup" + objects defined and services list for this hostgroup. Later hosts just tell + that they belong to this group. The custom services are listed after the + host description and refer this exact node only. + - There is some standard nodes: "adei", "zeus". Several such nodes are + defined with abstract "host" descriptions. Abstract definitions are + listing the mandatory "hostgroup". So, in the actual host description + only an extra groups should be listed. + - As well, "hostgroup" speicifcation is used to group nodes belonging + to certain experiment (katrin-servers). + - Services are inheriting the abstract "service" as well. The main goal + to configure rate of execution for multiple services at once. + - Finally "servicegroup" is used to group certain type of services. For + example, ADEI services. + +Experiments +=========== + + diff --git a/config/pdv/servers/01_commands.cfg b/config/pdv/servers/01_commands.cfg new file mode 100644 index 0000000..34fcbad --- /dev/null +++ b/config/pdv/servers/01_commands.cfg @@ -0,0 +1,46 @@ +define command { + command_name true + command_line /bin/true +} + +define command { + command_name check_host + command_line $USER2$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 +} + +define command { + command_name check_ip + command_line $USER2$/check_ping -H $ARG1$ -w 100.0,1% -c 500.0,5% -p 5 +} + +define command { + command_name check_remote_ip + command_line $USER2$/check_ping -H $ARG1$ -w 500.0,5% -c 2000.0,20% -p 5 +} + +define command { + command_name check_ntp + command_line $USER2$/check_ntp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -t 1 +} + +define command { + command_name check_ntp_win + command_line $USER2$/check_ntp_win -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -t 1 +} + +define command { + command_name check_mysql + command_line $USER2$/check_mysql -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$ +} + +# We should not resolve ourselves (and actually argument looks different). So we go for original here. +define command { + command_name check_dns + command_line $USER1$/check_dns -s $HOSTADDRESS$ -H $ARG1$ -a $ARG2$ +} + +define command { + command_name check_openvpn + command_line $USER1$/check_openvpn -H $HOSTADDRESS$ -p $ARG1$ -n -r $ARG2$ -c +} + diff --git a/config/pdv/servers/01_commands_ssh.cfg b/config/pdv/servers/01_commands_ssh.cfg new file mode 100644 index 0000000..db962b8 --- /dev/null +++ b/config/pdv/servers/01_commands_ssh.cfg @@ -0,0 +1,54 @@ +define command { + command_name check_ssh_disk + command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$" +} + +define command { + command_name check_ssh_all_disks + command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_disk -w $ARG1$ -c $ARG2$ -A -X fuse.gvfs-fuse-daemon -X tmpfs -X devtmpfs -X nfs -X fuse.glusterfs" +} + +define command { + command_name check_ssh_load + command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_load -w $ARG1$ -c $ARG2$" +} + +define command { + command_name check_ssh_procs + command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$" +} + +define command { + command_name check_ssh_users + command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_users -w $ARG1$ -c $ARG2$" +} + +define command { + command_name check_ssh_swap + command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_swap -w $ARG1$ -c $ARG2$" +} + +define command { + command_name check_ssh_mem + command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_mem -u -C -w $ARG1$ -c $ARG2$" +} + +define command { + command_name check_ssh_mysql + command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_mysql -H 127.0.0.1 -u root" +} + +define command { + command_name check_ssh_pgsql + command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_pgsql -l nagios -p iosnag -d $ARG1$" +} + +#define command { +# command_name check_ssh_ipmi +# command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_ipmi_sensor1 -H localhost -T $ARG1$" +#} + +define command { + command_name check_ssh_ibnode + command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "/opt/scripts/nagios_ib_node.sh $ARG1$" +} diff --git a/config/pdv/servers/01_commands_www.cfg b/config/pdv/servers/01_commands_www.cfg new file mode 100644 index 0000000..b7cc196 --- /dev/null +++ b/config/pdv/servers/01_commands_www.cfg @@ -0,0 +1,41 @@ +define command { + command_name check_http_redirect + command_line $USER1$/check_http -H $HOSTADDRESS$ -f ok -u '$ARG1$' $ARG2$ +} + +define command { + command_name check_vhost_redirect + command_line $USER1$/check_http -H $ARG1$ -f ok -u '$ARG2$' $ARG3$ +} + +define command { + command_name check_http_page + command_line $USER1$/check_http -H $HOSTADDRESS$ -f follow -u '$ARG1$' $ARG2$ +} + +define command { + command_name check_https_page + command_line $USER1$/check_http -S -H $HOSTADDRESS$ -f follow -u '$ARG1$' $ARG2$ +} + +define command { + command_name check_http_page_content + command_line $USER1$/check_http -H $HOSTADDRESS$ -f follow -u '$ARG1$' -r '$ARG2$' +} + +define command { + command_name check_vhost_page + command_line $USER1$/check_http -H $ARG1$ -f follow -u '$ARG2$' +} + +define command { + command_name check_vhost_page_content + command_line $USER1$/check_http -H $ARG1$ -f follow -u '$ARG2$' -r '$ARG3$' +} + + + +define command { + command_name check_http_service + command_line $USER1$/check_http -H $HOSTADDRESS$ -f follow -p $ARG1$ -u '$ARG2$' -r '$ARG3$' +} diff --git a/config/pdv/servers/02_admins.cfg b/config/pdv/servers/02_admins.cfg new file mode 100644 index 0000000..a00c2a3 --- /dev/null +++ b/config/pdv/servers/02_admins.cfg @@ -0,0 +1,12 @@ +define contact { + contact_name csa + use generic-contact + alias Suren A. Chilingaryan + email csa-kitnagios@localhost +} + +define contactgroup { + contactgroup_name pdv-admins + alias Nagios Administrators + members csa +} diff --git a/config/pdv/servers/03_host_types.cfg b/config/pdv/servers/03_host_types.cfg new file mode 100644 index 0000000..b47329d --- /dev/null +++ b/config/pdv/servers/03_host_types.cfg @@ -0,0 +1,39 @@ +define host { + name unit + use generic-host + check_period 24x7 ; By default, Linux hosts are checked round the clock + check_interval 5 ; Actively check the host every 5 minutes + retry_interval 1 ; Schedule host check retries at 1 minute intervals + max_check_attempts 10 ; Check each Linux host 10 times (max) + notification_period 24x7 ; Linux admins hate to be woken up, so we only notify during the day + notification_interval 1440 ; Resend notifications every 2 hours + notification_options d,u,r ; Only send notifications for specific host states + contact_groups pdv-admins ; Notifications get sent to the admins by default + check_command check_host!500,10%!2000,40% + register 0 +} + +define host { + name switch + use unit + icon_image switch.gif + vrml_image switch.gd2 + statusmap_image switch.gd2 + register 0 +} + + +define host { + name server + use unit + icon_image rack-server.gif + vrml_image rack-server.gd2 + statusmap_image rack-server.gd2 + register 0 +} + +define host { + name cluster + use server + register 0 +} diff --git a/config/pdv/servers/03_service_types.cfg b/config/pdv/servers/03_service_types.cfg new file mode 100644 index 0000000..80da7e4 --- /dev/null +++ b/config/pdv/servers/03_service_types.cfg @@ -0,0 +1,56 @@ +define service { + name standard-service + use generic-service + contact_groups pdv-admins + + notifications_enabled 0 + notification_options u,c ; Send notifications about unknown, critical events (but not warnings and recovery events) + notification_interval 1440 ; Re-notify about service problems every hour + notification_period 24x7 ; Notifications can be sent out at any time + + max_check_attempts 4 + check_interval 5 + retry_interval 1 + register 0 +} + +define service { + name crtitical-service + use standard-service + contact_groups pdv-admins + + notifications_enabled 1 + notification_options u,c ; Send notifications about unknown, critical events (but not warnings and recovery events) +} + +define service { + name ping-service ; Pings, port-checks, etc. + use standard-service + max_check_attempts 4 + check_interval 10 + retry_interval 2 + register 0 +} + +define service { + name remote-service ; Remote services (scripts-over-ssh, localy initiated adei-checks, etc.) + use standard-service + max_check_attempts 4 + check_interval 10 + retry_interval 2 + register 0 +} + +define service { + name heavy-service ; Service puts high load on infrastructure (gpu verifications, etc. + use remote-service +# servicegroups ufo-services + max_check_attempts 4 + check_interval 360 + retry_interval 20 + register 0 +} + +#critical-ping-service +#critical-remote-service +#critical-heavy-service
\ No newline at end of file diff --git a/config/pdv/servers/10_spec_network.cfg b/config/pdv/servers/10_spec_network.cfg new file mode 100644 index 0000000..7aea8ee --- /dev/null +++ b/config/pdv/servers/10_spec_network.cfg @@ -0,0 +1,4 @@ +define servicegroup { + servicegroup_name network-services + alias Network Services +} diff --git a/config/pdv/servers/11_spec_ipmi.cfg b/config/pdv/servers/11_spec_ipmi.cfg new file mode 100644 index 0000000..192dca7 --- /dev/null +++ b/config/pdv/servers/11_spec_ipmi.cfg @@ -0,0 +1,66 @@ +define hostgroup { + hostgroup_name ipmi-nodes + alias IPMI Nodes + register 0 +} + +define hostgroup { + hostgroup_name ipmi-tested + alias IPMI Nodes + register 0 +} + +define host { + name ipmi-server + use unix-server + hostgroups +ipmi-nodes + _IPMI_IP _none_ + _IPMI_USER nagios + _IPMI_PASS _iosnag_ + register 0 +} + +define host { + name ipmi-ondemand-server + use ipmi-server +# Switch off later, as I prefer to see which nodes are off + check_command check_ip!$_HOSTIPMI_IP$ +} + +define service { + name ipmi-service + use remote-service +} + +define service { + use ping-service + hostgroup_name ipmi-nodes + service_description IPMI + check_command check_ip!$_HOSTIPMI_IP$ +} + +define service { + use ipmi-service + hostgroup_name ipmi-tested + service_description IPMI/TEMPERATURES + check_command check_ipmi!temperature!$_HOSTIPMI_TEMP_EXCLUDES$ +} + +define service { + use ipmi-service + hostgroup_name ipmi-tested + service_description IPMI/VOLTAGES + check_command check_ipmi!voltage!$_HOSTIPMI_VOLTAGE_EXCLUDES$ +} + +define service { + use ipmi-service + hostgroup_name ipmi-tested + service_description IPMI/FANS + check_command check_ipmi!fan!$_HOSTIPMI_FAN_EXCLUDES$ +} + +define command { + command_name check_ipmi + command_line $USER1$/check_ipmi_sensor1 -H $_HOSTIPMI_IP$ -U $_HOSTIPMI_USER$ -P $_HOSTIPMI_PASS$ -T $ARG1$ $ARG2$ +} diff --git a/config/pdv/servers/14_spec_server_unix.cfg b/config/pdv/servers/14_spec_server_unix.cfg new file mode 100644 index 0000000..0f0f85e --- /dev/null +++ b/config/pdv/servers/14_spec_server_unix.cfg @@ -0,0 +1,59 @@ +# This is a minimal list of services which should be supported by any UNIX server +define hostgroup { + hostgroup_name unix-servers + alias UNIX Servers + register 0 +} + +define host { + name unix-server + use server + hostgroups unix-servers + _SSH_PORT 22 + _SMTP_PORT 25 + register 0 +} + +define hostgroup { + hostgroup_name remote-servers + alias UNIX Servers + register 0 +} + +define host { + name remote-server + use unix-server + hostgroups remote-servers + register 0 +} + + +#This may be used that we can connect over ssh. +#define host { +# name ands-server ; The name of this host template +# use server ; This template inherits other values from the generic-host template +# register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! +# hostgroups +unix-servers +#} + +define service { + use ping-service + hostgroup_name unix-servers + service_description PING + check_command check_host!100,1%!500,5% +} + + +define service { + use ping-service + hostgroup_name remote-servers + service_description PING + check_command check_host!400,4%!1200,10% +} + +define service { + use ping-service + hostgroup_name unix-servers, remote-servers + service_description SSH + check_command check_ssh! -p $_HOSTSSH_PORT$ +} diff --git a/config/pdv/servers/14_spec_server_win.cfg b/config/pdv/servers/14_spec_server_win.cfg new file mode 100644 index 0000000..4b586d4 --- /dev/null +++ b/config/pdv/servers/14_spec_server_win.cfg @@ -0,0 +1,26 @@ +# This is a minimal list of services which should be supported by any Windows server +# * If it is not the case we may consider either separating some of the listed service here +# or re-declare the server as simple 'server' (as we likely don't have access anyway) + +define hostgroup { + hostgroup_name win-servers + alias Windows Systems + register 0 +} + +define host { + name win-server + use server + register 0 + hostgroups +win-servers +} + + + +define service { + use ping-service + hostgroup_name win-servers + service_description PING + check_command check_host!100.0,20%!500.0,60% +} + diff --git a/config/pdv/servers/15_spec_server_db.cfg b/config/pdv/servers/15_spec_server_db.cfg new file mode 100644 index 0000000..5c8523f --- /dev/null +++ b/config/pdv/servers/15_spec_server_db.cfg @@ -0,0 +1,5 @@ +define hostgroup { + hostgroup_name database-servers + alias DATABASE Servers + hostgroup_members mssql-servers, mysql-servers, pgsql-servers +} diff --git a/config/pdv/servers/15_spec_server_db_mssql.cfg b/config/pdv/servers/15_spec_server_db_mssql.cfg new file mode 100644 index 0000000..fc14ae2 --- /dev/null +++ b/config/pdv/servers/15_spec_server_db_mssql.cfg @@ -0,0 +1,12 @@ +define hostgroup { + hostgroup_name mssql-servers + alias MSSQL Servers + register 0 +} + +define service { + use ping-service + hostgroup_name mssql-servers + service_description MSSQL + check_command check_tcp!1433 +} diff --git a/config/pdv/servers/15_spec_server_db_mysql.cfg b/config/pdv/servers/15_spec_server_db_mysql.cfg new file mode 100644 index 0000000..8a4e5b8 --- /dev/null +++ b/config/pdv/servers/15_spec_server_db_mysql.cfg @@ -0,0 +1,12 @@ +define hostgroup { + hostgroup_name mysql-servers + alias MySQL + register 0 +} + +define service { + use ping-service + hostgroup_name mysql-servers + service_description MySQL + check_command check_tcp!3306 +} diff --git a/config/pdv/servers/15_spec_server_db_pgsql.cfg b/config/pdv/servers/15_spec_server_db_pgsql.cfg new file mode 100644 index 0000000..f16f139 --- /dev/null +++ b/config/pdv/servers/15_spec_server_db_pgsql.cfg @@ -0,0 +1,12 @@ +define hostgroup { + hostgroup_name pgsql-servers + alias PostgreSQL + register 0 +} + +define service { + use ping-service + hostgroup_name pgsql-servers + service_description PostgreSQL + check_command check_tcp!5432 +} diff --git a/config/pdv/servers/15_spec_server_ntp.cfg b/config/pdv/servers/15_spec_server_ntp.cfg new file mode 100644 index 0000000..559040f --- /dev/null +++ b/config/pdv/servers/15_spec_server_ntp.cfg @@ -0,0 +1,26 @@ +define hostgroup { + hostgroup_name ntp-servers + alias NTP Servers + register 0 +} + +define hostgroup { + hostgroup_name time-servers + alias TIME Servers + register 0 +} + + +define service { + use ping-service + hostgroup_name ntp-servers + service_description NTP + check_command check_ntp!1!3 +} + +define service { + use ping-service + hostgroup_name time-servers + service_description TIME + check_command check_ntp_win!1!3 +} diff --git a/config/pdv/servers/15_spec_server_smtp.cfg b/config/pdv/servers/15_spec_server_smtp.cfg new file mode 100644 index 0000000..afff71e --- /dev/null +++ b/config/pdv/servers/15_spec_server_smtp.cfg @@ -0,0 +1,12 @@ +define hostgroup { + hostgroup_name smtp-servers + alias SMTP Servers + register 0 +} + +define service { + use ping-service + hostgroup_name smtp-servers + service_description SMTP + check_command check_smtp! -p $_HOSTSMTP_PORT$ +} diff --git a/config/pdv/servers/15_spec_server_www.cfg b/config/pdv/servers/15_spec_server_www.cfg new file mode 100644 index 0000000..b170c9e --- /dev/null +++ b/config/pdv/servers/15_spec_server_www.cfg @@ -0,0 +1,13 @@ +define hostgroup { + hostgroup_name www-servers + alias WWW Servers + register 0 +} + +define service { + use ping-service + hostgroup_name www-servers + service_description HTTP + check_command check_http +} + diff --git a/config/pdv/servers/20_spec_adei.cfg b/config/pdv/servers/20_spec_adei.cfg new file mode 100644 index 0000000..918785b --- /dev/null +++ b/config/pdv/servers/20_spec_adei.cfg @@ -0,0 +1,74 @@ +define hostgroup { + hostgroup_name adei-servers + alias ADEI Servers +} + +define host { + name adei-server + use unix-server + hostgroups adei-servers, www-servers + register 0 +} + +define servicegroup { + servicegroup_name adei-services + alias ADEI Services +} + +define service { + name adei-service + use remote-service + servicegroups adei-services + max_check_attempts 4 + check_interval 20 + retry_interval 5 + register 0 +} + +define service { + use adei-service + hostgroup_name adei-servers + service_description ADEI + check_command host_adei_status +} + + +# Worth not, adei_status will report if MySQL is broken +#define service { +# use ssh-service +# hostgroup_name adei-servers +# service_description MYSQL +# check_command check_ssh_mysql +#} + + +define command { + command_name host_adei_status + command_line $USER2$/check_adei_status $HOSTADDRESS$ $ARG1$ +} + +define command { + command_name host_adei_source + command_line $USER2$/check_adei_source $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ +} + +define command { + command_name host_adei_control + command_line $USER2$/check_adei_control $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ +} + + +define command { + command_name adei_status + command_line $USER2$/check_adei_status $ARG1$ $ARG2$ +} + +define command { + command_name adei_source + command_line $USER2$/check_adei_source $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ +} + +define command { + command_name adei_control + command_line $USER2$/check_adei_control $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ +} diff --git a/config/pdv/servers/20_spec_gpu.cfg b/config/pdv/servers/20_spec_gpu.cfg new file mode 100644 index 0000000..984dfa8 --- /dev/null +++ b/config/pdv/servers/20_spec_gpu.cfg @@ -0,0 +1,24 @@ +define hostgroup { + hostgroup_name gpu-servers + alias GPU Servers + register 0 +} + +define host { + name gpu-server + use unix-server + hostgroups +gpu-servers + register 0 +} + +#define service { +# use gpu-service +# hostgroup_name gpu-servers +# service_description OpenCL +# check_command check_opencl_gpu +#} + +#define command { +# command_name check_opencl_gpu +# command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -t 300 -C "/opt/scripts/nagios_opencl.sh" `/opt/scripts/nagios_ssh_params.sh $HOSTADDRESS$` +#} diff --git a/config/pdv/servers/20_spec_zeus.cfg b/config/pdv/servers/20_spec_zeus.cfg new file mode 100644 index 0000000..2dea1db --- /dev/null +++ b/config/pdv/servers/20_spec_zeus.cfg @@ -0,0 +1,41 @@ +define hostgroup { + hostgroup_name zeus-servers + alias ZEUS Systems +} + +define host { + name zeus-server + use win-server + hostgroups +zeus-servers,time-servers;, nsclients + _ZEUS_PORT 8155 + _ZEUS_DISK d + register 0 +} + +define servicegroup { + servicegroup_name zeus-services + alias ZEUS Services + register 0 +} + +define service { + name zeus-service + use ping-service + servicegroups zeus-services + register 0 +} + +define service { + use zeus-service + hostgroup_name zeus-servers + service_description ZEUS + check_command check_tcp!$_HOSTZEUS_PORT$ +} + +#Should just return OK unless host in nsclients group +#define service { +# use zeus-service +# hostgroup_name zeus-servers +# service_description DISK SPACE +# check_command check_nt!USEDDISKSPACE!-l $_HOSTZEUS_DISK$ -w 80 -c 90 +#} diff --git a/config/pdv/servers/20_spec_zeus_cfp.cfg b/config/pdv/servers/20_spec_zeus_cfp.cfg new file mode 100644 index 0000000..c540fd0 --- /dev/null +++ b/config/pdv/servers/20_spec_zeus_cfp.cfg @@ -0,0 +1,11 @@ +define hostgroup { + hostgroup_name cfp-servers + alias ZEUS/CFP Proxy Systems +} + +define service { + use zeus-service + hostgroup_name cfp-servers + service_description CFPCOM + check_command check_tcp!12345 +} diff --git a/config/pdv/servers/50_network_ipe.cfg b/config/pdv/servers/50_network_ipe.cfg new file mode 100644 index 0000000..d58e43a --- /dev/null +++ b/config/pdv/servers/50_network_ipe.cfg @@ -0,0 +1,90 @@ +# Underground server room, Central rack (up to bottom) +# Central rack in the server room +define host { + use switch + host_name ipe007 + check_command true +} + +define service { + use ping-service + servicegroups +network-services + host_name ipe007 + service_description SWITCH/ipe-ss3-10 + check_command check_ip!ipe-ss3-10.ipe.kit.edu +} + +define service { + use ping-service + servicegroups +network-services + host_name ipe007 + service_description SWITCH/ipe-ss3-21 + check_command check_ip!ipe-ss3-21.ipe.kit.edu +} + +#define host { +# use switch +# host_name ipe-ss3-10 +# address 141.52.64.143 +# parents ipegw +#} + +#define host { +# use switch +# host_name ipe-ss3-21 +# address 141.52.64.47 +# parents ipegw +#} + + +## Upper Server Room, Front Rack (top to bottom) +## 401.0 - 403.30 +#define host { +# use switch +# host_name ipe-ss3-15 +# address 141.52.64.30 +# parents ipe007 +#} + +## 403.31 - 414.02, 415.09 - 416.09, 418.06 - 420.06, My Plugs +#define host { +# use switch +# host_name ipe-ss3-16 +# address 141.52.64.111 +# parents ipe007 +#} + +# 414.04 - 415.07, 417.02 - 418.04, 420.07 - 420.15, Rack-Servers. Plugs of Andreas (and central - connecting styx), Student Room +define host { + use switch + host_name ipe-ss3-17 + address 141.52.64.135 + parents ipe007 +} + +## It ssems an uplink, but I am not sure (only 4-cables connected) +#define host { +# use switch +# host_name ipe-ss3-32 +# address 141.52.64.147 +# parents ipe007 +#} + + +## Upper Server Room, Back Rack +#define host { +# use switch +# host_name ipe-ss3-20 +# address 141.52.64.36 +# parents ipe007 +#} + + + +# Somewhere +define host { + use switch + host_name ipe-ssx-xx + parents ipe007 + check_command true +} diff --git a/config/pdv/servers/50_network_scc.cfg b/config/pdv/servers/50_network_scc.cfg new file mode 100644 index 0000000..6e12c30 --- /dev/null +++ b/config/pdv/servers/50_network_scc.cfg @@ -0,0 +1,27 @@ +define host { + use switch + host_name ipegw + address 141.52.64.207 + parents ipe007 +} + +define host { + use switch + host_name sccgw + address 141.52.249.145 + parents ipegw +} + +define host { + use switch + host_name kitgw + address 141.52.249.254 + parents sccgw +} + +define host { + use switch + host_name inetgw + address 141.52.249.254 + parents kitgw +} diff --git a/config/pdv/servers/51_network_dns.cfg b/config/pdv/servers/51_network_dns.cfg new file mode 100644 index 0000000..aff8d88 --- /dev/null +++ b/config/pdv/servers/51_network_dns.cfg @@ -0,0 +1,58 @@ +define hostgroup { + hostgroup_name dns-servers + alias KIT DNS Servers + register 0 +} + +define host { + use server + host_name dns-int-03 + address 141.52.8.18 + hostgroups +dns-servers,ntp-servers + parents sccgw +} + +define host { + use server + host_name dns-int-01 + address 141.52.3.3 + hostgroups +dns-servers + parents sccgw +} + +define service { + use ping-service + servicegroups katrin-services + hostgroup_name dns-servers + service_description KAAS.KIT.EDU + check_command check_dns!kaas.kit.edu!141.52.64.15,141.52.64.17 +} + +define service { + use ping-service + servicegroups katrin-services + hostgroup_name dns-servers + service_description KATRIN.KIT.EDU + check_command check_dns!katrin.kit.edu!141.52.64.14 +} + +define service { + use ping-service + hostgroup_name dns-servers + service_description UFO.KIT.EDU + check_command check_dns!ufo.kit.edu!141.52.64.54 +} + +define service { + use ping-service + hostgroup_name dns-servers + service_description ADEI.INFO + check_command check_dns!adei.info!217.112.40.22 +} + +define service { + use ping-service + hostgroup_name dns-servers + service_description WWW.FOSSILS.KIT.EDU + check_command check_dns!www.fossils.kit.edu!141.52.64.71 +} diff --git a/config/pdv/servers/adei_bess.cfg b/config/pdv/servers/adei_bess.cfg new file mode 100644 index 0000000..23220d8 --- /dev/null +++ b/config/pdv/servers/adei_bess.cfg @@ -0,0 +1,28 @@ +define host { + use switch + host_name scc-bess-xxx + parents sccgw + check_command true +} + +define host { + use server + host_name pcebessdb2 + address pcebessdb2.competence-e.kit.edu + hostgroups +mssql-servers + parents scc-bess-xxx +} + +define host { + use adei-server + host_name pcebessadei + address pcebessadei.competence-e.kit.edu + parents scc-bess-xxx +} + +define service { + use adei-service + host_name pcebessadei + service_description ADEI BESS250 + check_command host_adei_source!battery!Bess250!.* +} diff --git a/config/pdv/servers/adei_imk.cfg b/config/pdv/servers/adei_imk.cfg new file mode 100644 index 0000000..0e73c9f --- /dev/null +++ b/config/pdv/servers/adei_imk.cfg @@ -0,0 +1,26 @@ +define host { + use switch + host_name kit-imk-xxx + parents ipegw + check_command true +} + +define host { + use server + host_name imkmastdb2 + hostgroups +mssql-servers + parents kit-imk-xxx +} + +define host { + use adei-server + host_name imkmastadei + parents kit-imk-xxx +} + +define service { + use adei-service + host_name imkmastadei + service_description ADEI MAST + check_command host_adei_source!mast!Mastdaten_rep!.* +} diff --git a/config/pdv/servers/dark.cfg b/config/pdv/servers/dark.cfg new file mode 100644 index 0000000..61f9f35 --- /dev/null +++ b/config/pdv/servers/dark.cfg @@ -0,0 +1,40 @@ +define host { + use unix-server + host_name styx + address 141.52.64.104 + parents ipe-ss3-17 +} + +define host { + use unix-server + host_name suren.me + address 141.52.64.115 + parents ipe-ss3-17 + hostgroups +smtp-servers +} + +define host { + use unix-server + host_name surengw + address suren.me + parents sccgw + hostgroups +smtp-servers + _SSH_PORT 24 +} + +define host { + use remote-server + host_name darksoft.org + parents inetgw + hostgroups +smtp-servers + _SMTP_PORT 2500 +} + +define host { + use remote-server + host_name serv4 + address serv4.suren.me + parents inetgw + hostgroups +smtp-servers + _SMTP_PORT 2500 +} diff --git a/config/pdv/servers/kaas.cfg b/config/pdv/servers/kaas.cfg new file mode 100644 index 0000000..f7fbedc --- /dev/null +++ b/config/pdv/servers/kaas.cfg @@ -0,0 +1,44 @@ +define host { + use cluster + host_name kaas + address kaas.kit.edu + hostgroups +katrin + parents ipe007 +} + +define service { + use ping-service + host_name kaas + service_description LB/katrin1 + check_command check_ip!katrin1.ipe.kit.edu +} + +define service { + use ping-service + host_name kaas + service_description LB/katrin2 + check_command check_ip!katrin2.ipe.kit.edu +} + +define service { + use ping-service + host_name kaas + service_description NODE/ipekatrin1 + check_command check_ip!ipekatrin1.ipe.kit.edu +} + +define service { + use ping-service + host_name kaas + service_description NODE/ipekatrin2 + check_command check_ip!ipekatrin2.ipe.kit.edu +} + +define service { + use ping-service + host_name kaas + service_description NODE/ipekatrin3 + check_command check_ip!ipekatrin3.ipe.kit.edu +} + +# gluster- and oc-based checks come here next... diff --git a/config/pdv/servers/kaas_adei.cfg b/config/pdv/servers/kaas_adei.cfg new file mode 100644 index 0000000..9728888 --- /dev/null +++ b/config/pdv/servers/kaas_adei.cfg @@ -0,0 +1,34 @@ +# Generator would be nice + +define service { + use adei-service + servicegroups +katrin-services + host_name kaas + service_description ADEI Katrin FPD + check_command adei_source!katrin!fpd!katrin_rep +} + +define service { + use adei-service + servicegroups +katrin-services + host_name kaas + service_description ADEI Katrin AC + check_command adei_source!katrin!aircoils!aircoils_rep +} + +define service { + use adei-service + servicegroups +katrin-services + host_name kaas + service_description ADEI Katrin MOS + check_command adei_source!katrin!mos!Monitorspeczeus_rep +} + + +define service { + use adei-service + host_name kaas + service_description ADEI Monitoring + check_command adei_source!http://adei-munin.kaas.kit.edu/adei/!munin!styx +} + diff --git a/config/pdv/servers/kaas_bora.cfg b/config/pdv/servers/kaas_bora.cfg new file mode 100644 index 0000000..df4e45a --- /dev/null +++ b/config/pdv/servers/kaas_bora.cfg @@ -0,0 +1,43 @@ +# Generator should be written (based on oc-tools). It is also nice to check +# if update is correct. + +define service { + use ping-service + servicegroups katrin-services + host_name kaas + service_description BORA CPS + check_command check_vhost_page!bora-cps.kaas.kit.edu!/list +} + +define service { + use ping-service + servicegroups katrin-services + host_name kaas + service_description BORA CPS-BT + check_command check_vhost_page!bora-cps-bt.kaas.kit.edu!/list +} + +define service { + use ping-service + servicegroups katrin-services + host_name kaas + service_description BORA WGTS + check_command check_vhost_page!bora-wgts.kaas.kit.edu!/list +} + +define service { + use ping-service + servicegroups katrin-services + host_name kaas + service_description BORA WGTS-MAGNETS + check_command check_vhost_page!bora-wgts-magnets.kaas.kit.edu!/list +} + +define service { + use ping-service + servicegroups katrin-services + host_name kaas + service_description BORA DPS + check_command check_vhost_page!bora-dps.kaas.kit.edu!/list +} + diff --git a/config/pdv/servers/kaas_forwards.cfg b/config/pdv/servers/kaas_forwards.cfg new file mode 100644 index 0000000..230be9f --- /dev/null +++ b/config/pdv/servers/kaas_forwards.cfg @@ -0,0 +1,27 @@ +# Check Ufo.kit.edu web-site + +define service { + use ping-service + servicegroups katrin-services + host_name kaas + service_description FORWARD katrin.kit.edu/elog + check_command check_vhost_redirect!katrin.kit.edu!/elog/ +} + +define service { + use ping-service + servicegroups katrin-services + host_name kaas + service_description FORWARD katrin.kit.edu/wiki + check_command check_vhost_redirect!katrin.kit.edu!/wiki/ +} + +define service { + use ping-service + servicegroups katrin-services + host_name kaas + service_description FORWARD katrin.kit.edu/ipedaq + check_command check_vhost_page!katrin.kit.edu!/ipedaq/ +} + + diff --git a/config/pdv/servers/kaas_web.cfg b/config/pdv/servers/kaas_web.cfg new file mode 100644 index 0000000..f7bbff1 --- /dev/null +++ b/config/pdv/servers/kaas_web.cfg @@ -0,0 +1,7 @@ +define service { + use ping-service + host_name kaas + service_description TRAC ZEUS + check_command check_vhost_page_content!trac-pdv.kaas.kit.edu!/zeus!ZEUS +} + diff --git a/config/pdv/servers/katrin.cfg b/config/pdv/servers/katrin.cfg new file mode 100644 index 0000000..6d6f1f8 --- /dev/null +++ b/config/pdv/servers/katrin.cfg @@ -0,0 +1,46 @@ +define hostgroup { + hostgroup_name katrin + alias KATRIN Servers +} + + +define servicegroup { + servicegroup_name katrin-services + alias KATRIN Services +# servicegroup_members zeus-services + members ikkatrinmssql3, MSSQL + members ikkatrinmssql4, MSSQL +# members detector_zeus, TIME +# members ipekatrinadei, ADEI +# members ikkatrinadei, ADEI +} + +define host { + use switch + host_name katrin-group + parents ipe007 + check_command true +} + +define host { + use win-server + host_name ipepdvmssqldb2 + address 141.52.64.73 + hostgroups +mssql-servers + parents katrin-group +} + +define host { + use win-server + host_name ikkatrinmssql4 + hostgroups +mssql-servers, katrin + parents katrin-group +} + +define host { + use win-server + host_name ikkatrinmssql3 + address ikkatrinmssql3.ka.fzk.de + hostgroups +mssql-servers, katrin + parents ipe-ssx-xx +} diff --git a/config/pdv/servers/katrin_adei.cfg b/config/pdv/servers/katrin_adei.cfg new file mode 100644 index 0000000..6db75f8 --- /dev/null +++ b/config/pdv/servers/katrin_adei.cfg @@ -0,0 +1,123 @@ +define host { + use adei-server + host_name ikkatrinadei + parents kaas + address 192.168.110.67 + hostgroups +katrin +} + + +define service { + use ping-service + servicegroups +network-services + host_name ikkatrinadei + service_description VPN/192.168.110.xxx + check_command check_ip!192.168.110.67 +} + + +define service { + use adei-service + servicegroups +katrin-services + host_name ikkatrinadei + service_description ADEI Katrin FPD + check_command host_adei_source!detector!katrin +} + +define service { + use adei-service + servicegroups +katrin-services + host_name ikkatrinadei + service_description ADEI Katrin AC + check_command host_adei_source!aircoils!aircoils +} + +define service { + use adei-service + servicegroups +katrin-services + host_name ikkatrinadei + service_description ADEI Katrin MOS + check_command host_adei_source!monitorspec!monitorspec +} + +define service { + use adei-service + servicegroups +katrin-services, zeus-services + host_name ikkatrinadei + service_description ADEI/Control Katrin FPD - cFP0 IST + check_command host_adei_control!detector!katrin!0 +} + +define service { + use adei-service + servicegroups +katrin-services, zeus-services + host_name ikkatrinadei + service_description ADEI/Control Katrin FPD - cFP0 SOLL + check_command host_adei_control!detector!katrin!5 +} + +define service { + use adei-service + servicegroups +katrin-services, zeus-services + host_name ikkatrinadei + service_description ADEI/Control Katrin FPD - cFP1 IST + check_command host_adei_control!detector!katrin!44 +} + +define service { + use adei-service + servicegroups +katrin-services, zeus-services + host_name ikkatrinadei + service_description ADEI/Control Katrin FPD - cFP1 SOLL + check_command host_adei_control!detector!katrin!45 +} + + +#define service { +# use adei-service +# servicegroups +katrin-services, zeus-services +# host_name ikkatrinadei +# service_description ADEI/Control Katrin AC - NW IST +# check_command host_adei_control!aircoils!aircoils!3 +#} + +#define service { +# use adei-service +# servicegroups +katrin-services, zeus-services +# host_name ikkatrinadei +# service_description ADEI/Control Katrin AC - NW SOLL +# check_command host_adei_control!aircoils!aircoils!7 +#} + +#define service { +# use adei-service +# servicegroups +katrin-services, zeus-services +# host_name ikkatrinadei +# service_description ADEI/Control Katrin AC - SW IST +# check_command host_adei_control!aircoils!aircoils!11 +#} + +#define service { +# use adei-service +# servicegroups +katrin-services, zeus-services +# host_name ikkatrinadei +# service_description ADEI/Control Katrin AC - SW SOLL +# check_command host_adei_control!aircoils!aircoils!19 +#} + +define service { + use adei-service + servicegroups +katrin-services, zeus-services + host_name ikkatrinadei + service_description ADEI/Control Katrin MOS - IST + check_command host_adei_control!monitorspec!monitorspec!0 +} + +define service { + use adei-service + servicegroups +katrin-services, zeus-services + host_name ikkatrinadei + service_description ADEI/Control Katrin MOS - SOLL + check_command host_adei_control!monitorspec!monitorspec!1 +} + diff --git a/config/pdv/servers/katrin_hall.cfg b/config/pdv/servers/katrin_hall.cfg new file mode 100644 index 0000000..f50f281 --- /dev/null +++ b/config/pdv/servers/katrin_hall.cfg @@ -0,0 +1,51 @@ +define host { + use server + host_name ikkatrinesx1 + address 192.168.110.216 + hostgroups katrin + parents ikkatrinadei +} + +define host { + use win-server + host_name ikkatrinmssql1 + address 192.168.110.172 + hostgroups +katrin,mssql-servers + parents ikkatrinesx1 +} + +define host { + use zeus-server + host_name aircoils_zeus + address 192.168.110.173 + hostgroups +katrin + parents ikkatrinesx1 + _ZEUS_PORT 8152 +} + +define host { + use zeus-server + host_name detector_zeus + address 192.168.110.174 + hostgroups +katrin,cfp-servers + parents ikkatrinesx1 + _ZEUS_DISK c +} + +define host { + use zeus-server + host_name monspec_zeus + address 192.168.110.175 + hostgroups +katrin,cfp-servers + parents ikkatrinesx1 + _ZEUS_PORT 8152 +} + +define host { + use zeus-server + host_name hv_zeus + address 192.168.110.176 + hostgroups +katrin,cfp-servers + parents ikkatrinesx1 + _ZEUS_PORT 8152 +} diff --git a/config/pdv/servers/pdv_compute.cfg b/config/pdv/servers/pdv_compute.cfg new file mode 100644 index 0000000..56ceeff --- /dev/null +++ b/config/pdv/servers/pdv_compute.cfg @@ -0,0 +1,42 @@ +define host { + use switch + host_name compute-group + parents ipe007 + check_command true +} + +define host { + use ipmi-ondemand-server + host_name ipepdvcompute1 + address 192.168.26.131 + parents compute-group + hostgroups +gpu-servers + _IPMI_IP 192.168.26.151 +} + +define host { + use ipmi-ondemand-server + host_name ipepdvcompute2 + address 192.168.26.132 + parents compute-group + hostgroups +gpu-servers,ipmi-tested + _IPMI_IP 192.168.26.152 +} + +define host { + use ipmi-ondemand-server + host_name ipepdvcompute3 + address 192.168.26.135 + parents compute-group + hostgroups +gpu-servers + _IPMI_IP 192.168.26.155 +} + +define host { + use ipmi-ondemand-server + host_name ipepdvcompute4 + address 192.168.26.136 + parents compute-group + hostgroups +gpu-servers,ipmi-tested + _IPMI_IP 192.168.26.156 +} diff --git a/config/pdv/servers/pdv_storage.cfg b/config/pdv/servers/pdv_storage.cfg new file mode 100644 index 0000000..bb888d1 --- /dev/null +++ b/config/pdv/servers/pdv_storage.cfg @@ -0,0 +1,18 @@ +define host { + use ipmi-server + host_name ipepdvarchive + address 192.168.26.133 + parents ipe007 + hostgroups unix-servers, katrin + _IPMI_IP 192.168.26.153 +} + +define host { + use ipmi-server + host_name ipeands + address 192.168.26.140 + hostgroups unix-servers + parents ipe007 + _IPMI_IP 192.168.26.160 +} + diff --git a/config/pdv/servers/pdv_virt.cfg b/config/pdv/servers/pdv_virt.cfg new file mode 100644 index 0000000..1f1b413 --- /dev/null +++ b/config/pdv/servers/pdv_virt.cfg @@ -0,0 +1,45 @@ +# Virtualization Servers + +define hostgroup { + hostgroup_name vm-servers + alias Virtualization Servers +} + +define host { + use unix-server + host_name ipepdvsrv1 + address 141.52.64.9 + hostgroups vm-servers, www-servers, mysql-servers + parents ipe-ss3-17 +} + +define host { + use ipmi-server + host_name ipepdvsrv2 + address 192.168.26.134 + hostgroups vm-servers, www-servers, mysql-servers, pgsql-servers + parents ipe007 + _IPMI_IP 192.168.26.154 + _IPMI_FAN_EXCLUDES -x Fan2 -x Fan7 -x Fan8 +} + +#define service { +# use ping-service +# host_name ipepdvsrv1 +# service_description MySQL Status +# check_command check_mysql!adei!adei +#} + +define service { + use ping-service + host_name ipepdvsrv1 + service_description ARCHIVE Software + check_command check_http_page!/software/ +} + +define service { + use ping-service + host_name ipepdvsrv1 + service_description ARCHIVE Data + check_command check_http_page!/data/ +} diff --git a/config/pdv/servers/pdv_virt_vm.cfg b/config/pdv/servers/pdv_virt_vm.cfg new file mode 100644 index 0000000..4851a66 --- /dev/null +++ b/config/pdv/servers/pdv_virt_vm.cfg @@ -0,0 +1,19 @@ +define hostgroup { + hostgroup_name vm + alias Virtual Machines +} + +define host { + use unix-server + host_name git + address 141.52.64.105 + hostgroups +vm, katrin + parents ipepdvsrv2 +} + +#define host { +# use unix-server +# host_name ipevirtrouter +# hostgroups +vm +# parents ipepdvsrv2 +#} |