define hostgroup { hostgroup_name gpu-servers alias GPU Servers register 0 } define host { name gpu-server use unix-server hostgroups +gpu-servers register 0 } #define service { # use gpu-service # hostgroup_name gpu-servers # service_description OpenCL # check_command check_opencl_gpu #} #define command { # command_name check_opencl_gpu # command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -t 300 -C "/opt/scripts/nagios_opencl.sh" `/opt/scripts/nagios_ssh_params.sh $HOSTADDRESS$` #}