Hi Alexandre, Personally I find the "indefinite loop" idea a bit of an anti-pattern. What is very commonly done is that you start fping for each ping cycle. If you want to do a measurement every 10 seconds, for example (which might involve doing 20 pings to thousands of hosts), then you should start fping every 10 seconds. From a performance-point of view, it shouldn't matter, and from a behavior/configuration management point of view, it is much easier.
Cheers David On Sun, 3 Sep 2017 at 08:11 Alexandre Vermeerbergen < avermeerber...@gmail.com> wrote: > Hello, > > I would like to use fping with a list of targets as a daemon, i.e., > letting it loop indefinitely. > > However, from time to time I know that there will be changes to the > targets list. > > I know I could kill & restart fping with the updated list, but before I > try this "ugly way", isn't there a possibility to dynamically changes the > targets list? > > Is the targets file given by -f, --file option re-read after it's changed ? > > Best regards, > Alexandre Vermeerbergen > > -- > You received this message because you are subscribed to the Google Groups > "fping-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to fping-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "fping-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to fping-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.