[smokeping-users] Dynamic addition and removal of hosts
Julien Collas
jul.collas at gmail.com
Fri May 3 11:32:34 CEST 2013
Hi Richard,
The tool I've developed may do the job (https://github.com/julcollas/django-
smokeping).
This is a Django application to manage your targets.
In addition to the web part, you can use the API to automate the addition
of new targets.
Let me know if you think that can respond to your needs and if you need
more explanations.
Julien
2013/5/3 Tobias Oetiker <tobi at oetiker.ch>
> 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 <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
> > >
> >
>
> --
> 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
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130503/7dc0dffb/attachment.htm
More information about the smokeping-users
mailing list