<div dir="ltr"><div class="gmail_extra">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. </div><div class="gmail_extra"><br></div>
<div class="gmail_extra" style>Richard</div><div class="gmail_extra"><br><div class="gmail_quote">On 29 April 2013 13:58, Tobias Oetiker <span dir="ltr"><<a href="mailto:tobi@oetiker.ch" target="_blank">tobi@oetiker.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Richard,<br>
<br>
remote hosts reconfigure themselfs automatically when the master<br>
gets new config ...<br>
<br>
cheers<br>
tobi<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Apr 2 Richard Brady wrote:<br>
<br>
> Hi folks<br>
><br>
> I would like to dynamically add and remove hosts to be monitored from a<br>
> remote server.<br>
><br>
> I have reviewed the code and although the dynamic host feature comes close<br>
> to what I am looking for by supporting the update of host addresses, it<br>
> does not support the addition of hosts from what I can tell.<br>
><br>
> Currently the best thing I can think of is a script (invoked through CGI or<br>
> SSH) that writes config stanzas to some file or directory (e.g.<br>
> /var/lib/smokeping/targets) and then issues a reload, with that file or<br>
> directory @included from the /etc/config file.<br>
><br>
> Is there a better way to do this?<br>
><br>
> Thanks,<br>
> Richard<br>
><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland<br>
<a href="http://it.oetiker.ch" target="_blank">http://it.oetiker.ch</a> <a href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a> <a href="tel:%2B%2B41%2062%20775%209902" value="+41627759902">++41 62 775 9902</a> / sb: -9900<br>
</font></span></blockquote></div><br></div></div>