define host { host_name web01 display_name web01 address 8.8.4.4 _mac_address 00:21:9B:00:21:9B _sw_port_1 sw01_g3 notes $_HOSTMAC_ADDRESS$$_HOSTSW_PORT_1$ hostgroups +webservers use web_servers }