#################################### HOSTGROUP DEFINITION #################################### define hostgroup{ hostgroup_name cpu-load-centos alias cpu-load members 389-01,jira } define hostgroup{ hostgroup_name swap-load-centos alias swap-load members jira } define hostgroup{ hostgroup_name check-local-load alias local-load members jira } define hostgroup{ hostgroup_name linux-servers alias linux-servers #members orion,aegean,helios,nova,olympus,qadb,iris,deimos,389-01,svn,bitbucket,jira,appnx,seafile members orion,aegean,helios,nova,olympus,qadb,iris,deimos,389-01,svn,bitbucket,jira,appnx } define hostgroup{ hostgroup_name windows-servers alias windows-servers members luna,accounting # members luna,accounting,halo,qadev,delphi # members luna,itserv,apollo,accserv,halo,qadev,delphi,appcb } define hostgroup{ hostgroup_name windows-servers-new alias windows-servers-new members halo,apollo } define hostgroup{ hostgroup_name switches alias switches members bssgb01,bssgb02,bsspoe01,bsspoe02 } define hostgroup{ hostgroup_name 389_replication alias 389 Directory Server Replication members 389-01 } define hostgroup{ hostgroup_name gdi-servers alias gdi-servers members GDI-Nagios } #################################### HOST DEFINITION #################################### #define host{ # host_name appcb # alias appcb # use standard-server # address 172.24.94.140 # parents localhost #} define host{ host_name GDI-Nagios alias GDI-Nagios use gdi-servers address 10.10.20.25 contacts indiait_support contact_groups indiaitsupport parents localhost } define host{ host_name 389-01 alias OpenLdap - 389 Directory Server use standard-server address 172.24.94.36 parents localhost } define host{ host_name luna alias luna use standard-server address 172.24.94.5 parents localhost } define host{ host_name deimos alias deimos use standard-server address 172.24.94.55 parents localhost } #define host{ # host_name delphi # alias delphi # use standard-server # address 172.24.94.35 # parents localhost #} define host{ host_name aegean alias aegean use standard-server address 172.24.94.11 parents localhost } define host{ host_name orion alias orion use standard-server address localhost parents localhost } define host{ host_name bitbucket alias bitbucket use standard-server address 172.24.94.106 parents localhost } define host{ host_name jira alias jira use standard-server address 172.24.94.105 parents localhost } #define host{ # host_name itserv # alias itserv # use standard-server # address 172.24.94.7 # parents localhost #} define host{ host_name helios alias helios use standard-server address 172.24.94.8 parents localhost } define host{ host_name svn alias svn use standard-server address 172.24.94.20 parents localhost } define host{ host_name qadb alias qadb use standard-server address 172.24.94.28 parents localhost } #define host{ # host_name athena # alias athena # use standard-server # address 172.24.94.21 # parents localhost #} define host{ host_name olympus alias olympus use standard-server address 172.24.94.22 parents localhost } define host{ host_name apollo alias apollo use standard-server address 172.24.94.25 parents localhost } #define host{ # host_name seafile # alias seafile # use standard-server # address 172.24.94.23 # parents localhost #} define host{ host_name iris alias iris use standard-server address 172.24.94.30 parents localhost } define host{ host_name bssgb01 alias bssgb01 use standard-server address 172.24.94.50 parents localhost } define host{ host_name bssgb02 alias bssgb02 use standard-server address 172.24.94.51 parents localhost } define host{ host_name bsspoe01 alias bsspoe01 use standard-server address 172.24.94.52 parents localhost } define host{ host_name bsspoe02 alias bsspoe02 use standard-server address 172.24.94.53 parents localhost } define host{ host_name bssap13 alias bssap13 use standard-server address 172.24.94.122 parents localhost } define host{ host_name bssap14 alias bssap14 use standard-server address 172.24.94.123 parents localhost } define host{ host_name accounting alias accounting use standard-server address 172.24.94.134 parents localhost } define host{ host_name bssqb01 alias bssqb01 use standard-server address 172.24.95.60 parents localhost } define host{ host_name bssqb02 alias bssqb02 use standard-server address 172.24.95.178 parents localhost } define host{ host_name bssqb03 alias bssqb03 use standard-server address 172.24.95.150 parents localhost } define host{ host_name DEV-IE10 alias DEV-IE10 use standard-server address 172.24.95.112 parents localhost } #define host{ # host_name sqlsrv # alias sqlsrv # use standard-server # address 172.24.94.136 # parents localhost #} define host{ host_name halo alias halo use standard-server address 172.24.94.6 parents localhost } #define host{ # host_name qadev # alias qadev # use standard-server # address 172.24.94.137 # parents localhost #} define host{ host_name appnx alias appnx use standard-server address 172.24.94.150 parents localhost } define host{ host_name nova alias nova use standard-server address 172.24.94.155 parents localhost } define host{ host_name mx alias mx use standard-server address 65.203.136.54 parents localhost } #define host{ # host_name atlas # alias atlas # use standard-server # address xxx.xxx.xxx.xxx # parents localhost #} define host{ host_name haproxy_PROD alias haproxy - app landing pages use standard-server address xxx.xxx.xxx.xxx parents localhost } define host{ name standard-server use generic-host check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 2 check_command check-host-alive notification_period 24x7 notification_interval 120 notification_options d,r,s contact_groups admins,sms_admin register 0 } define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 #failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_period 24x7 register 0 } define host{ use standard-server host_name localhost alias localhost display_name Corp Naj address 127.0.0.1 } define host{ name gdi-servers use generic-host check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 2 check_command check-host-alive notification_period 24x7 notification_interval 120 notification_options d,r,s contact_groups indiaitsupport,sms_admin register 0 } #################################### TIME PERIODS #################################### # default 24x7 define timeperiod{ timeperiod_name 24x7 name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 }