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