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/shinken/shinken/var/rw/nagios.cmd'
8 printf "[111] ADD_SIMPLE_POLLER;All;newpoller;localhost;8771\n" > $commandfile