<html><head></head><body bgcolor="#FFFFFF"><div>smokeping monitores changes to the config file and reloads the webif. But only the config file. If you use @include you have to touch the config file to force a reload.</div><div><br></div><div>cheers</div><div>tobi<br><br><div>--</div><div>Tobi Oetiker live from the iPhone</div><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">OETIKER+PARTNER AG</span></div></div><div><br>On 08.07.2012, at 06:54, Ryan Becker <<a href="mailto:rb14060@gmail.com">rb14060@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Unfortunately I can't reproduce this. A restart of Smokeping is all I needed to add a monitored host, and the web interface updated immediately. Maybe someone else can reproduce?<br><br><div class="gmail_quote">On Sun, Jul 8, 2012 at 12:51 AM, <span dir="ltr"><<a href="mailto:Vinny_Abello@dell.com" target="_blank">Vinny_Abello@dell.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I have the same behavior on two different boxes so far. Both are FreeBSD (8.2 on one and 9.0 on another) with Apache2.2 and mod_fcgi 2.3.6 and Smokeping 2.6.7.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Vinny<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Ryan Becker [mailto:<a href="mailto:rb14060@gmail.com" target="_blank">rb14060@gmail.com</a>]
<br>
<b>Sent:</b> Sunday, July 08, 2012 12:49 AM<br>
<b>To:</b> Abello, Vinny<br>
<b>Cc:</b> <a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank">smokeping-users@lists.oetiker.ch</a></span></p><div class="im"><br>
<b>Subject:</b> Re: [smokeping-users] fcgid and config changes<u></u><u></u></div><p></p><div class="im">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I can't say I've ever seen that issue but I can test it on my end if you like to see if I experience the same thing.<u></u><u></u></p>
<div>
<p class="MsoNormal">On Sun, Jul 8, 2012 at 12:46 AM, <<a href="mailto:Vinny_Abello@dell.com" target="_blank">Vinny_Abello@dell.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Literally any modification to the config file that affects the web interface html content, including
but not limited to adding or removing new items being monitored by smokeping. The issue is not what’s being modified but I think the fact that the old cgi process never dies and continues using the old config file until…. I don’t know when. I’ve always had
to kill the process or restart Apache which also ends the process to make the web interface reflect the current configuration file. I’m talking specifically about the web interface and not the daemon. There is no problem with that piece. I just never had this
issue with SpeedyCGI. Perhaps I have something configured wrong.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Vinny</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> smokeping-users-bounces+vinny_abello=<a href="mailto:dell.com@lists.oetiker.ch" target="_blank">dell.com@lists.oetiker.ch</a>
[mailto:<a href="mailto:smokeping-users-bounces%2Bvinny_abello" target="_blank">smokeping-users-bounces+vinny_abello</a>=<a href="mailto:dell.com@lists.oetiker.ch" target="_blank">dell.com@lists.oetiker.ch</a>]
<b>On Behalf Of </b>Ryan Becker<br>
<b>Sent:</b> Sunday, July 08, 2012 12:40 AM<br>
<b>To:</b> <a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank">smokeping-users@lists.oetiker.ch</a><br>
<b>Subject:</b> Re: [smokeping-users] fcgid and config changes</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">What "changes" are we talking about?<u></u><u></u></p>
<div>
<p class="MsoNormal">On Sun, Jul 8, 2012 at 12:24 AM, <<a href="mailto:Vinny_Abello@dell.com" target="_blank">Vinny_Abello@dell.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">I’ve noticed in the newer versions of smokeping using fgcid, that any config changes aren’t reflected in the web interface until the existing process is ended and a new one spawned.
Is it just expected that after each change you will kill the old process to get the web interface to reflect the changes that the daemon is already aware of? Is the smokeping supposed to kill the old web process on reload? I never had this issue with SpeedyCGI
in 2.4.2 and earlier.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks!<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">-Vinny<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
smokeping-users mailing list<br>
<a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank">smokeping-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div>
</div>
</blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>smokeping-users mailing list</span><br><span><a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a></span><br><span><a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a></span><br></div></blockquote></body></html>