External Commands Reference - SCHEDULE_FORCED_HOST_CHECK
SCHEDULE_FORCED_HOST_CHECK;host_name;check_time
Schedules a forced active check of a particular host at ‘check_time’. The ‘check_time’ argument is specified in time_t format (seconds since the UNIX epoch). Forced checks are performed regardless of what time it is (e.g. timeperiod restrictions are ignored) and whether or not active checks are enabled on a host-specific or program-wide basis.
#!/bin/sh
# This is a sample shell script showing how you can submit the SCHEDULE_FORCED_HOST_CHECK command
# to Naemon. Adjust variables to fit your environment as necessary.
printf "[%lu] SCHEDULE_FORCED_HOST_CHECK;host1;1478648441\n" `date +%s` > /var/lib/naemon/naemon.cmd