0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 09:19:51 +00:00
packages/net/apinger/files/apinger.config
Jaymin Patel e4e3206f32 apinger: improve uci and procd support
- convert apinger into procd instances
- generate instance specific apinger.conf from uci
- hotplug handling for apinger alarms
- restart apinger interface instance on ifup action of interface
- don't exit on packet count mismatch, allows to use apinger as monitor
  for multiple targets handling
- add srcip option to target configuration, allows specifying source ip
  used to monitor target
- allow creating status file in script parseable format

Patches are ported against latest version of apinger and referenced from
https://git.pld-linux.org/?p=packages/apinger.git;a=summary

Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
2022-07-12 12:27:05 +05:30

29 lines
580 B
Plaintext

config interface 'wan'
option debug '0'
option status_interval '5'
#config interface 'wan2'
# option debug '0'
# option status_interval '5'
# delay is in ms
#config alarm_delay 'delay200'
# option delay_low '100'
# option delay_high '200'
# loss is in %
#config alarm_loss 'loss50'
# option percent_low '30'
# option percent_high '50'
#config target 'target1'
# option interface 'wan'
# option address '8.8.8.8'
# option alarm_delay 'a1'
# option alarm_loss 'loss50'
# option probe_interval '5'
#config target 'target2'
# option interface 'wan2'
# option address '8.8.8.8'