[smokeping-users] Dynamic addition and removal of hosts

Tobias Oetiker tobi at oetiker.ch
Mon Apr 29 14:58:40 CEST 2013

Hi Richard,

remote hosts reconfigure themselfs automatically when the master
gets new config ...


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

More information about the smokeping-users mailing list