Skip to content

CHANGE NORMAL SVC CHECK INTERVAL

Command Format

CHANGE_NORMAL_SVC_CHECK_INTERVAL;service;check_interval

Description

Changes the normal (regularly scheduled) check interval for a particular service

Shell Script Usage Example

sh
#!/bin/sh
# This is a shell script showing how to submit the CHANGE_NORMAL_SVC_CHECK_INTERVAL command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%%lu] CHANGE_NORMAL_SVC_CHECK_INTERVAL;service1;10\n" \
    `date +%%s` \
    > /var/lib/naemon/naemon.cmd