External Command Reference

External Commands Reference - CHANGE_HOST_CHECK_TIMEPERIOD

Command Format:



Changes the valid check period for the specified host.

Shell Script Usage Example:

# This is a sample shell script showing how you can submit the CHANGE_HOST_CHECK_TIMEPERIOD command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] CHANGE_HOST_CHECK_TIMEPERIOD;host1;24x7\n" `date +%s` > /var/lib/naemon/naemon.cmd