Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
...
include /includes/...
...

Base Events

In some situations, it is worth having a few base events upon which others can be built.

Code Block
languagetext
title/includes/base-localhost-true
as_user=
host=localhost
command=/bin/true
notify_email=
notify_message=
when_year=2015
when_month=*
when_day=*
when_hour=*
when_minute=*
when_dow=*
template_name=
failover_event=

Notes:

  • runs on localhost
  • runs /bin/true
  • trigger date in the past

Targets

Reliable Failover

One of the most common uses of failover events is to send notifications. But, if there are problems going on, perhaps across multiple hosts, it is critical that the host on which the failover event is run is reliable. If a single failover event is being used, then the host setting can be set to the reliable host. But, if multiple failover events are being used, it may be preferable to have a basic failover event be defined which can be included by the others:

...