Skip to content

Scrutiny

services.scrutiny.collector.enable

Whether to enable the Scrutiny metrics collector. Type: boolean

Default

config.services.scrutiny.enable

Example

true

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

services.scrutiny.collector.package

The scrutiny-collector package to use. Type: package

Default

pkgs.scrutiny-collector

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

services.scrutiny.collector.schedule

How often to run the collector in systemd calendar format.

Type: string

Default

"*:0/15"

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

services.scrutiny.collector.settings

Collector settings to be rendered into the collector configuration file.

See https://github.com/AnalogJ/scrutiny/blob/master/example.collector.yaml.

Type: YAML value

Default

{ }

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

services.scrutiny.collector.settings.api.endpoint

Scrutiny app API endpoint for sending metrics to. Type: string

Default

"http://${config.services.scrutiny.settings.web.listen.host}:${config.services.scrutiny.settings.web.listen.port}"

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

services.scrutiny.collector.settings.host.id

Host ID for identifying/labelling groups of disks Type: null or string

Default

null

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

services.scrutiny.collector.settings.log.level

Log level for Scrutiny collector. Type: one of "INFO", "DEBUG"

Default

"INFO"

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

services.scrutiny.enable

Whether to enable Scrutiny, a web application for drive monitoring. Type: boolean

Default

false

Example

true

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

services.scrutiny.influxdb.enable

Enables InfluxDB on the host system using the services.influxdb2 NixOS module with default options.

If you already have InfluxDB configured, or wish to connect to an external InfluxDB instance, disable this option.

Type: boolean

Default

true

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

services.scrutiny.openFirewall

Whether to enable opening the default ports in the firewall for Scrutiny. Type: boolean

Default

false

Example

true

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

services.scrutiny.package

The scrutiny package to use. Type: package

Default

pkgs.scrutiny

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

services.scrutiny.settings

Scrutiny settings to be rendered into the configuration file.

See https://github.com/AnalogJ/scrutiny/blob/master/example.scrutiny.yaml.

Type: YAML value

Default

{ }

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

services.scrutiny.settings.log.level

Log level for Scrutiny. Type: one of "INFO", "DEBUG"

Default

"INFO"

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

services.scrutiny.settings.web.influxdb.bucket

InfluxDB bucket in which to store data. Type: null or string

Default

null

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

services.scrutiny.settings.web.influxdb.host

IP or hostname of the InfluxDB instance. Type: string

Default

"0.0.0.0"

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

services.scrutiny.settings.web.influxdb.org

InfluxDB organisation under which to store data. Type: null or string

Default

null

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

services.scrutiny.settings.web.influxdb.port

The port of the InfluxDB instance. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8086

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

services.scrutiny.settings.web.influxdb.scheme

URL scheme to use when connecting to InfluxDB. Type: string

Default

"http"

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

services.scrutiny.settings.web.influxdb.tls.insecure_skip_verify

Whether to enable skipping TLS verification when connecting to InfluxDB. Type: boolean

Default

false

Example

true

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

services.scrutiny.settings.web.influxdb.token

Authentication token for connecting to InfluxDB. Type: null or string

Default

null

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

services.scrutiny.settings.web.listen.basepath

If Scrutiny will be behind a path prefixed reverse proxy, you can override this value to serve Scrutiny on a subpath.

Type: string

Default

""

Example

"/scrutiny"

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

services.scrutiny.settings.web.listen.host

Interface address for web application to bind to. Type: string

Default

"0.0.0.0"

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

services.scrutiny.settings.web.listen.port

Port for web application to listen on. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8080

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