Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
executable file 11 lines (8 sloc) 0.335 kB
#!/bin/sh
#
# This is a sample shell script showing how you can submit the
# CHANGE_HOST_CHECK_COMMAND command to Nagios. Adjust variables to fit
# your environment as necessary.
now=$(date +%s)
commandfile='/usr/local/shinken/var/rw/nagios.cmd'
printf "[%lu] PROCESS_HOST_CHECK_RESULT;router2;2;yoyo est mort\n" $now > $commandfile
Jump to Line
Something went wrong with that request. Please try again.