############################################################################### # # HOST TEMPLATES # ############################################################################### # Generic host definition template - This is NOT a real host, just a template! define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program retain_nonstatus_information 1 ; Retain non-status information across prog notification_period 24x7 ; Send host notifications at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A } # Linux host definition template - This is NOT a real host, just a template! define host{ name linux-server ; The name of this host template use generic-host ; This template inherits other values from check_period 24x7 ; By default, Linux hosts are checked round max_check_attempts 5 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period 24x7 ; Linux admins hate to be woken up, so we o ; Note that the notification_period variabl ; the value that is inherited from the gene notification_interval 0 ; Resend notification every 2 hours notification_options d,u,r ; Only send notifications for specific host contact_groups admins ; Notifications get sent to the admins by d register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A } define host{ name network-devices use generic-host check_period 24x7 max_check_attempts 5 check_command check-host-alive notification_interval 0 notification_options d,r contact_groups admins register 0 } ############################################################################### # # HOSTS # ############################################################################### ############################################################## # # Répcelak # ############################################################## # Repcelak DSL router define host{ use network-devices host_name repcelak-DSL alias Repcelak DSL address 192.168.25.1 } # Repcelak router define host{ use network-devices host_name repcelak-rtr alias Repcelak GTS address 172.16.3.34 parents repcelak-DSL } # Repcelak APs define host{ use network-devices host_name repcelak-ap2101 alias Repcelak 1231G address 10.25.9.21 parents repcelak-rtr } define host{ use network-devices host_name repcelak-ap2102 alias Repcelak 1231G address 10.25.9.22 parents repcelak-rtr } define host{ use network-devices host_name repcelak-ap2103 alias Repcelak 1231G address 10.25.9.23 parents repcelak-rtr } define host{ use network-devices host_name repcelak-ap2104 alias Repcelak 1231G address 10.25.9.24 parents repcelak-rtr } define host{ use network-devices host_name repcelak-ap2105 alias Repcelak 1231G address 10.25.9.25 parents repcelak-rtr } define host{ use network-devices host_name repcelak-ap2106 alias Repcelak 1231G address 10.25.9.26 parents repcelak-rtr } define host{ use network-devices host_name repcelak-ap2107 alias Repcelak 1231G address 10.25.9.27 parents repcelak-rtr } #define host{ # use network-devices # host_name repcelak-ap2108 # alias Repcelak 1231G # address 10.25.9.28 # parents repcelak-rtr # } ################################################## # # Dunaujváros # ################################################## # Dunaujvaros GTS define host{ use network-devices host_name dunaujvaros-GTS-rtr alias Dunaujvaros GTS router address 172.16.1.6 parents repcelak-rtr } # Dunaujváros Telekom define host{ use network-devices host_name dunaujvaros-T-rtr alias Dunaujvaros TELEKOM router address 10.254.60.178 parents repcelak-rtr } # Dunaújváros default-gateway define host{ use network-devices host_name dunaujvaros-def-gw alias Dunaujvaros default-gateway address 10.25.97.1 parents dunaujvaros-T-rtr,dunaujvaros-GTS-rtr } # Dunaujvaros APs define host{ use network-devices host_name dunaujvaros-ap6101 alias Dunaujvaros 1231G address 10.25.97.151 parents dunaujvaros-def-gw } define host{ use network-devices host_name dunaujvaros-ap6102 alias Dunaujvaros 1231G address 10.25.97.152 parents dunaujvaros-def-gw } define host{ use network-devices host_name dunaujvaros-ap6103 alias Dunaujvaros 1231G address 10.25.97.153 parents dunaujvaros-def-gw } define host{ use network-devices host_name dunaujvaros-ap6104 alias Dunaujvaros 1231G address 10.25.97.154 parents dunaujvaros-def-gw } define host{ use network-devices host_name dunaujvaros-ap6105 alias Dunaujvaros 1231G address 10.25.97.155 parents dunaujvaros-def-gw } ################################################## # # Budapest # ################################################## ### Budapest GTS ### define host{ use network-devices host_name budapest-GTS-rtr alias Budapest GTS address 172.16.3.3 parents repcelak-rtr } ### Budapest T-online ### define host{ use network-devices host_name budapest-T-rtr alias Budapest Telekom address 10.253.1.221 parents repcelak-rtr } # Budapest default-gateway define host{ use network-devices host_name budapest-def-gw alias Miskolc DEF-GW address 10.25.16.1 parents budapest-GTS-rtr,budapest-T-rtr } # Budapest APs define host{ use network-devices host_name budapest-ap5102 alias Budapest 1231G address 10.25.17.202 parents budapest-def-gw } define host{ use network-devices host_name budapest-ap5103 alias Budapest 1231G address 10.25.17.203 parents budapest-def-gw } define host{ use network-devices host_name budapest-ap5104 alias Budapest 1231G address 10.25.17.204 parents budapest-def-gw } define host{ use network-devices host_name budapest-ap5105 alias Budapest 1231G address 10.25.17.205 parents budapest-def-gw } define host{ use network-devices host_name budapest-ap5106 alias Budapest 1242AG address 10.25.17.206 parents budapest-def-gw } ################################################# # # Miskolc # ################################################# ### Miskolc GTS ### define host{ use network-devices host_name miskolc-GTS-rtr alias Miskolc GTS address 172.16.1.18 parents repcelak-rtr } ### Miskolc T-online ### define host{ use network-devices host_name miskolc-T-rtr alias Miskolc Telekom address 10.253.1.223 parents repcelak-rtr } # Miskolc default-gateway define host{ use network-devices host_name miskolc-def-gw alias Miskolc DEF-GW address 10.25.24.1 parents miskolc-GTS-rtr,miskolc-T-rtr } # Miskolc APs define host{ use network-devices host_name miskolc-ap4101 alias Miskolc 1242AG address 10.25.24.221 parents miskolc-def-gw } define host{ use network-devices host_name miskolc-ap4102 alias Miskolc 1242AG address 10.25.24.222 parents miskolc-def-gw } define host{ use network-devices host_name miskolc-ap4103 alias Miskolc 1242AG address 10.25.24.223 parents miskolc-def-gw } define host{ use network-devices host_name miskolc-ap4104 alias Miskolc 1242AG address 10.25.24.224 parents miskolc-def-gw } #################################################### # # Kazincbarcika # #################################################### # Kazincbarcika GTS define host{ use network-devices host_name kazincbarcika-GTS-rtr alias Kazincbarcika GTS router address 172.16.1.2 parents repcelak-rtr } # Kazicbarcika T define host{ use network-devices host_name kazincbarcika-T-rtr alias Kazincbarcika TELEKOM router address 10.253.1.222 # address 10.25.44.6 parents repcelak-rtr } # kazincbarcika default-gateway define host{ use network-devices host_name kazincbarcika-def-gw alias Kazincbarcika default-gateway address 10.25.44.1 parents kazincbarcika-GTS-rtr,kazincbarcika-T-rtr } # Kazincbarcika APs define host{ use network-devices host_name kazincbarcika-ap3101 alias Kazincbarcika 1242AG address 10.25.44.221 parents kazincbarcika-def-gw } define host{ use network-devices host_name kazincbarcika-ap3102 alias Kazincbarcika 1231G address 10.25.44.222 parents kazincbarcika-def-gw } define host{ use network-devices host_name kazincbarcika-ap3103 alias Kazincbarcika 1231G address 10.25.44.223 parents kazincbarcika-def-gw } define host{ use network-devices host_name kazincbarcika-ap3104 alias Kazincbarcika 1232AG address 10.25.44.224 parents kazincbarcika-def-gw } define host{ use network-devices host_name kazincbarcika-ap3105 alias Kazincbarcika 1232AG address 10.25.44.225 parents kazincbarcika-def-gw } define host{ use network-devices host_name kazincbarcika-ap3106 alias Kazincbarcika 1231G address 10.25.44.226 parents kazincbarcika-def-gw } define host{ use network-devices host_name kazincbarcika-ap3107 alias Kazincbarcika 1242G address 10.25.44.227 parents kazincbarcika-def-gw } define host{ use network-devices host_name kazincbarcika-ap3108 alias Kazincbarcika 1242G address 10.25.44.228 parents kazincbarcika-def-gw } ############################################################################### # HOST GROUPS ############################################################################### define hostgroup{ hostgroup_name repcelak-grp alias Repcelak members repcelak-rtr,repcelak-ap2101,repcelak-ap2102,repcelak-ap2103,repcelak-ap2104,repcelak-ap2105,repcelak-ap2106,repcelak-ap2107 } define hostgroup{ hostgroup_name dunaujvaros-grp alias Dunaujvaros members dunaujvaros-GTS-rtr,dunaujvaros-T-rtr,dunaujvaros-def-gw,dunaujvaros-ap6101,dunaujvaros-ap6102,dunaujvaros-ap6103,dunaujvaros-ap6104,dunaujvaros-ap6105 } define hostgroup{ hostgroup_name budapest-grp alias Bunaujvaros members budapest-GTS-rtr,budapest-T-rtr,budapest-def-gw,budapest-ap5102,budapest-ap5103,budapest-ap5104,budapest-ap5105,budapest-ap5106 } define hostgroup{ hostgroup_name miskolc-grp alias Miskolc members miskolc-GTS-rtr,miskolc-T-rtr,miskolc-def-gw,miskolc-ap4101,miskolc-ap4102,miskolc-ap4103,miskolc-ap4104 } define hostgroup{ hostgroup_name kazincbarcika-grp alias Kazincbarcika members kazincbarcika-GTS-rtr,kazincbarcika-T-rtr,kazincbarcika-def-gw,kazincbarcika-ap3101,kazincbarcika-ap3102,kazincbarcika-ap3103,kazincbarcika-ap3104,kazincbarcika-ap3106,kazincbarcika-ap3107,kazincbarcika-ap3108 }