services.prometheus.exporters.mikrotik.configuration
Mikrotik exporter configuration as nix attribute set. Mutually exclusive with
configFile option.
See https://github.com/nshttpd/mikrotik-exporter/blob/master/README.md for the description of the configuration file format.
- Type
null or (attribute set)- Default
null- Example
{ devices = [ { name = "my_router"; address = "10.10.0.1"; user = "prometheus"; password = "changeme"; } ]; features = { bgp = true; dhcp = true; routes = true; optics = true; }; }- Declared
- <nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix>