Skip to content

DISABLE EVENT HANDLERS

Command Format

DISABLE_EVENT_HANDLERS

Description

Disables host and service event handlers on a program-wide basis.

Shell Script Usage Example

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

printf "[%%lu] DISABLE_EVENT_HANDLERS\n" \
    `date +%%s` \
    > /var/lib/naemon/naemon.cmd