As you can see, this is fairly straight forward.
The example uses a command file check_multi.cmd and the following output options:
Note: you can provide the sum of the report options as a '+' separated number string
Service definition
define service {
name multi-service
use generic-service
check_command check_multi!-f /usr/local/nagios/etc/check_multi.cmd -r 1+2+4+8
service_description check_multi_test
host_name localhost
}
Command definition
define command {
command_name check_multi
command_line $USER1$/check_multi $ARG1$ $ARG2$ $ARG3$ $ARG4$
}