[smokeping-users] Dynamic addition and removal of hosts

Richard Brady rnbrady at gmail.com
Thu May 2 23:41:28 CEST 2013


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.

Richard

On 29 April 2013 13:58, Tobias Oetiker <tobi at 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 tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130502/7180d960/attachment.htm 


More information about the smokeping-users mailing list