SCHEDULE FORCED SVC CHECK
Command Format
SCHEDULE_FORCED_SVC_CHECK;service;check_time
Description
Schedules a forced active check of a particular service 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 service-specific or program-wide basis.
Shell Script Usage Example
sh
#!/bin/sh
# This is a shell script showing how to submit the SCHEDULE_FORCED_SVC_CHECK command
# to Naemon. Adjust variables to fit your environment as necessary.
printf "[%%lu] SCHEDULE_FORCED_SVC_CHECK;service1;1478648441\n" \
`date +%%s` \
> /var/lib/naemon/naemon.cmd