[smokeping-users] Adding targets on-demand
William Josefsson
williamjosefsson at yahoo.com
Sat Feb 27 07:50:25 CET 2016
yes i could even make it in the same script and as last step after moving just do the reload. Do you see any issues with adding a large number of targets, or is there any recommended upper limits? thanks! will
On Saturday, February 27, 2016 2:33 PM, Peter Kristolaitis <alter3d at alter3d.ca> wrote:
Have your provisioning script add the new target configs to a different
directory that is NOT @include-d in your config, then move them into
/etc/smokeping/mynodes/ hourly, right before the service reload.
Basically queueing updates so you don't break the UI.
On 2/27/2016 1:07 AM, William Josefsson wrote:
> Hi, I wonder if anyone has experience with adding a large amount of targets on Smokeping, say maybe less than 2000 targets?
>
> I want to be able to do this dynamically when a server gets provisioned, so e.g. have a CGI that will output:
>
> ++ new_node
> menu = ...
> title = ...
> host = ..
>
> to an included file, /etc/smokeping/mynodes/new_nodeN.cfg
> I have added @include /etc/smokeping/mynodes/ to my config.
>
> While testing, adding new target blocks without reloading brakes the SP page web page. Is there any way to do this in a nice way, add new targets dynamically without breaking the GUI and then maybe /etc/init.d/smokeping reload, hourly? thanks! will
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
_______________________________________________
smokeping-users mailing list
smokeping-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
More information about the smokeping-users
mailing list