services.smokeping.databaseConfig

NixOS option

Configure the ping frequency and retention of the rrd files. Once set, changing the interval will require deletion or migration of all the collected data.

type: strings concatenated with "\n"
Default
''
  step     = 300
  pings    = 20
  # consfn mrhb steps total
  AVERAGE  0.5   1  1008
  AVERAGE  0.5  12  4320
      MIN  0.5  12  4320
      MAX  0.5  12  4320
  AVERAGE  0.5 144   720
      MAX  0.5 144   720
      MIN  0.5 144   720
  
''
Example
''
  # near constant pings.
  step     = 30
  pings    = 20
  # consfn mrhb steps total
  AVERAGE  0.5   1  10080
  AVERAGE  0.5  12  43200
      MIN  0.5  12  43200
      MAX  0.5  12  43200
  AVERAGE  0.5 144   7200
      MAX  0.5 144   7200
      MIN  0.5 144   7200
''
declared in: nixos/modules/services/networking/smokeping.nixView source on NixOS/nixpkgs →