services.smokeping.alertConfig

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
<nixpkgs/nixos/modules/services/networking/smokeping.nix>