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$" }