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
='/home/nap/shinken/src/var/rw/nagios.cmd'
8 printf "[%lu] CHANGE_HOST_CHECK_COMMAND;dc1;check_http\n" $now > $commandfile