services.smokeping.alertConfig

NixOS option

Configuration for alerts.

type: strings concatenated with "\n"
Default
''
  to = root@localhost
  from = smokeping@localhost
''
Example
''
  to = alertee@address.somewhere
  from = smokealert@company.xy
  
  +someloss
  type = loss
  # in percent
  pattern = >0%,*12*,>0%,*12*,>0%
  comment = loss 3 times  in a row;
''
declared in: nixos/modules/services/networking/smokeping.nixView source on NixOS/nixpkgs →