2 # This is a sample shell script showing how you can submit the CHANGE_HOST_CHECK_COMMAND command
3 # to Nagios. Adjust variables to fit your environment as necessary.
6 commandfile
='/usr/local/shinken/var/rw/nagios.cmd'
8 printf "[%lu] PROCESS_HOST_CHECK_RESULT;dc1;2;yoyo est mort\n" $now > $commandfile