Add : (Denis GERMAIN) check_shinken plugin and interface in the arbiter to get data.
[shinken.git] / external_commands / CHANGE_CONTACT_HOST_NOTIFICATION_TIMEPERIOD.sh
blobc1b0a90b440fa81a41606e447efeb63d0646ddd2
1 #!/bin/sh
2 # This is a sample shell script showing how you can submit the CHANGE_CONTACT_HOST_NOTIFICATION_TIMEPERIOD command
3 # to Nagios. Adjust variables to fit your environment as necessary.
5 now=`date +%s`
6 commandfile='/tmp/my_fifo'
8 /usr/bin/printf "[%lu] CHANGE_CONTACT_HOST_NOTIFICATION_TIMEPERIOD;dbrosseau;24x7\n" $now > $commandfile