...
SOFT and HARD states are described in detail here.
Event Handler Types
There are different types of optional event handlers that you can define to handle host and state changes:
...
Event handler commands will likely be shell or perl scripts, but they can be any type of executable that can run from a command prompt. At a minimum, the scripts should take the following macros <thebasics/macros>` data as arguments:
For checks:
- $SERVICESTATE$
...
- $SERVICESTATETYPE$
...
- $SERVICEATTEMPT$
For Hosts:
- $HOSTSTATE$
...
- $HOSTSTATETYPE$
...
- $HOSTATTEMPT$
The scripts should examine the values of the arguments passed to it and take any necessary action based upon those values.
...