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] ACKNOWLEDGE_HOST_PROBLEM;dc01;1;1;1;Jean Gabes;Some Acknowledgement Comment\n" $now > $commandfile