Skip to content

Watchdogd

services.watchdogd.enable

Whether to enable watchdogd, an advanced system & process supervisor. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.package

The watchdogd package to use. Type: package

Default

pkgs.watchdogd

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings

Configuration to put in {file}watchdogd.conf. See {manpage}watchdogd.conf(5) for more details.

Type: attribute set of (boolean or signed integer or floating point number or string or attribute set of (boolean or signed integer or floating point number or string))

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.filenr.critical

The critical watermark level. Alert sent to log, followed by reboot or script action.

Type: nonnegative integer or floating point number, meaning >=0

Default

1.0

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.filenr.enabled

Whether to enable watchdogd plugin filenr. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.filenr.interval

Amount of seconds between every poll.

Type: unsigned integer, meaning >=0

Default

300

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.filenr.logmark

Whether to log current stats every poll interval.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.filenr.warning

The high watermark level. Alert sent to log.

Type: nonnegative integer or floating point number, meaning >=0

Default

0.9

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.interval

The kick interval, i.e. how often {manpage}watchdogd(8) should reset the WDT timer.

Type: unsigned integer, meaning >=0

Default

5

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.loadavg.critical

The critical watermark level. Alert sent to log, followed by reboot or script action.

Type: nonnegative integer or floating point number, meaning >=0

Default

2.0

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.loadavg.enabled

Whether to enable watchdogd plugin loadavg. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.loadavg.interval

Amount of seconds between every poll.

Type: unsigned integer, meaning >=0

Default

300

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.loadavg.logmark

Whether to log current stats every poll interval.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.loadavg.warning

The high watermark level. Alert sent to log.

Type: nonnegative integer or floating point number, meaning >=0

Default

1.0

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.meminfo.critical

The critical watermark level. Alert sent to log, followed by reboot or script action.

Type: nonnegative integer or floating point number, meaning >=0

Default

0.95

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.meminfo.enabled

Whether to enable watchdogd plugin meminfo. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.meminfo.interval

Amount of seconds between every poll.

Type: unsigned integer, meaning >=0

Default

300

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.meminfo.logmark

Whether to log current stats every poll interval.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.meminfo.warning

The high watermark level. Alert sent to log.

Type: nonnegative integer or floating point number, meaning >=0

Default

0.9

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.safe-exit

With {var}safeExit enabled, the daemon will ask the driver to disable the WDT before exiting. However, some WDT drivers (or hardware) may not support this.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix

services.watchdogd.settings.timeout

The WDT timeout before reset.

Type: unsigned integer, meaning >=0

Default

15

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/watchdogd.nix