Yesterday Richard Brady wrote: > Sorry Tobias, I don't mean slave, I mean another server such as a web > server that wants to tell SmokePing to start monitoring a new endpoint.
in that case you have to automate the config file editing and restart smokeping once you did that ... cheers tobi > > Richard > > On 29 April 2013 13:58, Tobias Oetiker <t...@oetiker.ch> wrote: > > > Hi Richard, > > > > remote hosts reconfigure themselfs automatically when the master > > gets new config ... > > > > cheers > > tobi > > > > > > Apr 2 Richard Brady wrote: > > > > > Hi folks > > > > > > I would like to dynamically add and remove hosts to be monitored from a > > > remote server. > > > > > > I have reviewed the code and although the dynamic host feature comes > > close > > > to what I am looking for by supporting the update of host addresses, it > > > does not support the addition of hosts from what I can tell. > > > > > > Currently the best thing I can think of is a script (invoked through CGI > > or > > > SSH) that writes config stanzas to some file or directory (e.g. > > > /var/lib/smokeping/targets) and then issues a reload, with that file or > > > directory @included from the /etc/config file. > > > > > > Is there a better way to do this? > > > > > > Thanks, > > > Richard > > > > > > > -- > > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland > > http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 > > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 _______________________________________________ smokeping-users mailing list smokeping-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users