Commit Graph

5 Commits

Author SHA1 Message Date
Max 8066a41e78 Add ping probe support
Use liboping (new dependency) to add 'ping XXX' entries support in .cfg
file, where XXX can be either IP address or FQDN.

Sample output:
...
  ping
    ya.ru
      IP: 2a02:6b8::2:242
      dropped: 3/3
    8.8.8.8
      IP: 8.8.8.8
      dropped: 0/3
      latency: 20.4 ms
      TTL: 120
...

N. B: to gather actual ping statistic we have to be able to send ICMP
requests (have enough privileges to work with RAW sockets).

Related: SYS#2655
Change-Id: Ife32540b532fb54368f63c78fb7837b84d4e8c76
2019-01-31 10:19:44 +01:00
Pau Espin 2768f95086 Move source code to src subdir
Change-Id: I1aa2893e2b274f8d087a0d2f126486cd4afcbdfe
2018-12-12 19:19:14 +01:00
Max bf35719529 Update default config
Rename default config to match the binary name and add config exampe.

Change-Id: Iabfc78c95e904af7372f10c195b2b979675d34f3
Related: SYS#2655
2018-11-22 14:00:14 +01:00
Harald Welte b803888c01 rename to osmo-sysmon 2018-06-04 22:02:45 +02:00
Harald Welte 54ca6f458e migrate to autoconf 2018-06-04 22:02:45 +02:00