Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 11 lines (8 sloc) 0.329 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='/home/nap/shinken/src/var/rw/nagios.cmd'
printf "[%lu] CHANGE_HOST_CHECK_COMMAND;dc1;check_http\n" $now > $commandfile
Jump to Line
Something went wrong with that request. Please try again.