External Commands Reference - CHANGE_MAX_SVC_CHECK_ATTEMPTS
CHANGE_MAX_SVC_CHECK_ATTEMPTS;host_name;service_description;check_attempts
Changes the maximum number of check attempts (retries) for a particular service.
#!/bin/sh
# This is a sample shell script showing how you can submit the CHANGE_MAX_SVC_CHECK_ATTEMPTS command
# to Naemon. Adjust variables to fit your environment as necessary.
printf "[%lu] CHANGE_MAX_SVC_CHECK_ATTEMPTS;host1;service1;10\n" `date +%s` > /var/lib/naemon/naemon.cmd