Skip to content

Vmagent

services.vmagent.enable

Whether to enable vmagent. Type: boolean

Default

false

Example

true

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

services.vmagent.extraArgs

Extra args to pass to vmagent. See the docs: https://docs.victoriametrics.com/vmagent.html#advanced-usage or {command}vmagent -help for more information.

Type: list of string

Default

[ ]

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

services.vmagent.openFirewall

Whether to open the firewall for the default ports.

Type: boolean

Default

false

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

services.vmagent.package

The vmagent package to use. Type: package

Default

pkgs.vmagent

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

services.vmagent.prometheusConfig

Config for prometheus style metrics

Type: JSON value

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

services.vmagent.remoteWrite.basicAuthPasswordFile

File that contains the Basic Auth password used to connect to remote_write endpoint

Type: null or string

Default

null

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

services.vmagent.remoteWrite.basicAuthUsername

Basic Auth username used to connect to remote_write endpoint

Type: null or string

Default

null

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

services.vmagent.remoteWrite.url

Endpoint for prometheus compatible remote_write

Type: null or string

Default

null

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