Skip to content

The [General] Section

jbaumann edited this page Jan 6, 2022 · 2 revisions

The [general] section contains a few options that are either global options or a fallback value for options that can be set for every configuration as well.

Global Options

The following options are global and cannot be overwritten in a configuration:

Option Explanation
version This is the version of the file format. It has to be the same as the major version number of the System_Watchdog
primed This configures which parts of the configuration the System_Watchdog actually executes. A detailed explanation can be found here: Priming the System
loglevel The loglevel determines the detail of log entries. Available are: CRITICAL, ERROR, WARNING, INFO, DEBUG

Default Options

The following options are default values that can be overwritten in every configuration, if need be:

Option Explanation
fallback This is the fallback action that is executed if repairing was unsuccessful
sleep time The daemon sleeps between checks for this time in seconds. While the main thread only sleeps according to the global sleep time, the different configuration can set their own value
timeout The timeout defines the maximum allowed time between successful checks. If this is exceeded, then a repair action or a fallback action is executed